No os.copy()? Why not?

Chris Angelico rosuav at gmail.com
Wed Apr 4 08:17:20 EDT 2012


On Wed, Apr 4, 2012 at 10:08 PM, Roy Smith <roy at panix.com> wrote:
> Slightly off-topic, but are there file systems these days which support
> off-line copying?  If I have a disk at the other end of a network link,
> it would be nice to tell the disk to copy a file and tell me when it's
> done.

Depends on your network protocol. One of the coolest and oldest tricks
with FTP is initiating a file transfer from one remote host to
another; I've never done it but it ought to work with localhost (ie
two sessions to the same host).

ChrisA



More information about the Python-list mailing list