"Matt Herzog" wrote
Yes, that is exactly what I wanted, os.listdir. But now I have another
issue:
specifying the remote dir. When I login to the sftp server and type pwd:
sftp> pwd
Remote working directory: /
Is what I see.
OK, so either you have to change dir on the remote machine(via sf
On Sun, May 10, 2009 at 12:53:49AM +0100, Alan Gauld wrote:
> Have you used normal ftp in its command line version?
> The put command specifies the location on the remote machine
> where you want to store the files. This is normal ftp behaviour.
The server supports only sftp. Yeah, I could turn o
"Matt Herzog" wrote
This code comes straight from the
http://oreilly.com/catalog/9780596515829/ book.
The only actual code I changed was s/get/put on the second to last line.
The author says I ought to be able to do this and have it Just Work.
There are several things I don't understand.
Matt Herzog wrote:
Hello again.
This code comes straight from the http://oreilly.com/catalog/9780596515829/
book.
The only actual code I changed was s/get/put on the second to last line. The
author says I ought to be able to do this and have it Just Work. There are
several things I don't und