SFTP and folder access
Hello,
I am using command line and trying to access a SFTP location and can't access it when I specify the folder.
I tried:
and it doesn't seem to work and I get the following error:
This works:
Then I type in
which returns
However when I do a ls, all I see is:
This is not right as I know there is a file in the folder and thus the folder change didn't work.
I know the folder structure and the file exists as I've cross checked it with another client. Please advise.
I am using command line and trying to access a SFTP location and can't access it when I specify the folder.
I tried:
open sftp://userName:password@host/file/path:60022
Searching for host... Network error: Connection timed out.
This works:
open sftp://userName:password@host:60022
cd /file/path
/file/path
winscp> ls Dr-xr-x--- 0 512 Sep 23 13:16:14 2013 ..
I know the folder structure and the file exists as I've cross checked it with another client. Please advise.