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

pgfiore

To avoid the ABCDIC issue listed here I'm trying to use directly the command line.
I hoped the -transfer on the GET command could make the trick, but with no success.

I'm sure the file exist in the default folder because I used copy/paste from the working Microsoft ftp script (i.e. type A get sx-liquidati-au)

C:\WinSCP>winscp /command "open ftp://isp:@128.1.1.19 -rawsettings ftpAccount=815" "get -transfer=ascii sx-pagati-au" "exit"
Connecting to 128.1.1.19 ...
Connected with 128.1.1.19. Waiting for welcome message...
Password: [I just pressed enter here]
Connected
Starting the session...
Reading remote directory...
Session started.
Active session: [1] isp@128.1.1.19
Can't get attributes of file 'sx-pagati-au'.
File or folder 'sx-pagati-au' does not exist.
martin

It's about path format. Command line FTP clients do not care, because the end-user takes care of understanding path format. But GUI client has to understand it.
pgfiore

Is it a big issue? Or could it be easely fixed?
Seems just? a problem in the initial exchange; the server can use ascii then and even Windows ftp.exe works...
Thank in advance for the support
ciao
martin

Re: Could not retrieve directory listing

Thanks for your post.

This issue is being tracked already:
https://winscp.net/tracker/49
pgfiore

Could not retrieve directory listing

5.0.7 beta (using ACCT)
during intial handshake WinSCP fires:
Error listing directory ':F:$ISP815'
Could not retrieve directory listing. Not changed, Posix cannot be accessed.

Then, pressing OK, the tree (left side) seems correct, but there are no files (right side)

The host is a Fujitzu BS 2000 server which uses EBCIDC coding; i'm quite sure it could be the reason of the error.

(btw Windows ftp lists files correctly)

Thanks for any hints.
Ciao
pf