Post a reply

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)


Topic review


I have upgraded version and that helped, shame on me.
Thanks a lot!

Re: Skip remote directory listing

Make sure you are using the latest version of WinSCP.

If you are already, and still get this behavior, please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Skip remote directory listing


I'm using script to upload files, it looks like this:

open ftp://.....
option confirm off
put "D:\test.txt" /test.txt

So nothing special here, just connect and upload file.
The problem is that WinSCP always executes LIST command before file upload.
Remote directory contains 70000+ files and my download speed with that server is very low (but upload is very fast).
So in order to upload 1 tiny file my script have to wait for a few minutes to get the unnecessary directory listing.

Is there any way to skip that step?