Re: Changing directories on remote - WeOnlyDo Discussion board

Re: Changing directories on remote (General questions)

by wodSupport, Tuesday, November 30, 2004, 21:34 (7097 days ago) @ crausch

Crausch,

there is no term 'current directory' in SFTP protocol. At all times you should use full paths when accessing remote (and local!) files. So, instead doing this in regular FTP:

CD /somedir
RETR something

you would do in wodSFTP:

GetFile( /somedir/something ....)

Hope you get the idea. Just make sure you *always* use full paths, and you always start remote path with /

Regards.


Complete thread: