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

Advertisement

Allyn
Joined:
Posts:
2
Location:
East Peoria, IL

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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum