Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Unable to access remote ditrectory using winscp.com

First, you cd to outgoing, but the directory is Outgoing (capital O). Second, are you sure you start in root directory? I.e. is it really /Outgoing, not something like /home/username/Outgoing? Using relative path cd Outgoing should work in either case.
FReircom

Unable to access remote ditrectory using winscp.com

I successfully log in to the remote site using SFTP and can use the ls command to list the directory contents, which include a number of sub-directories. I can cd to these directories but I can't list their contents. Also, I can't get or put files from/to these directories.
I used mkdir to create a new directory of my own and I can access, list the contents and transfer files OK to/from this new directory.

The winscp thread is as follows. I have dummied out the pasword.
Log file attached.
This operation works fine in the WinSCP GUI.
I also downloaded pUTTY SFTP and had the same issue so I think it is to do with the remote server.

winscp> open sftp://USERNAME:PASSWORD@HOSTNAME/ -hostkey=*
Searching for host...
Connecting to host...
Authenticating...
Using username "eircom-test".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] eircom-test@fileshare-uk.coupahost.com
winscp> ls
Drwxr-xr-x 0 eircom-test 501 111 Mar 19 23:52:04 2014 .
Drwxr-xr-x 0 eircom-test 501 111 Mar 19 23:52:04 2014 ..
Drwxrwxr-x 0 eircom-test 501 94 Oct 30 14:10:03 2013 Outgoing
Drwxrwxr-x 0 eircom-test 501 4096 Mar 20 10:01:19 2014 Incoming
Drwxrwxr-x 0 eircom-test 501 21 Oct 30 14:10:03 2013 Archive
Drwxr-xr-x 0 root root 33 Feb 13 9:30:27 2014 .pids
Drwxrwxrwx 0 root root 4096 Mar 20 9:14:38 2014 .log
-rw-r--r-- 0 root root 348 Feb 13 9:30:13 2014 coupa_load_agent.yml
Drwxr-xr-x 0 eircom-test 501 6 Mar 19 23:52:04 2014 ferg
winscp> cd
/
winscp> cd /outgoing
/outgoing
winscp> ls
Error listing directory '/outgoing'.
No such file or directory.
Error code: 2
Error message from server (en-US): No such file
Request code: 11
(A)bort, (R)etry, (S)kip: Abort
winscp> ls
Error listing directory '/outgoing'.
No such file or directory.
Error code: 2
Error message from server (en-US): No such file
Request code: 11
(A)bort, (R)etry, (S)kip: Abort
winscp> cd/
Unknown command 'cd/'.
winscp> cd
/
winscp> cd /ferg
/ferg
winscp> ls
Drwxr-xr-x 0 eircom-test 501 6 Mar 19 23:52:04 2014 .
Drwxr-xr-x 0 eircom-test 501 111 Mar 19 23:52:04 2014 ..
winscp>