Post a reply

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: WinSCP.com get command moslty works, but no content copied.

Please attach a full session log file showing the problem (using the latest version of WinSCP).

Also consider using .NET assembly, instead of driving a console application:
https://winscp.net/eng/docs/library

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.
Allyn

WinSCP.com get command moslty works, but no content copied.

I am using WinSCP.com in a C# Windows application. My target machine is Linux. I am downloading a short (46 bytes) text file using the 'get' command. The get command creates the file correctly on the local PC, but its size is 0 - i.e. no content. I am looking for ideas on may be the cause of this defect?