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

PPATEL

I couldn't actually paste the logs as they are confidential with the file names.

Though, however would like to ask what the default timeout is for file transfer session?

How long does a session stay open defaultly to transfer the entire file?
martin

Sorry, your questions are way too vague. We need some evidence: A WinSCP .NET assembly session log file + an output of your PowerShell script.
PPATEL

Thanks,

few questions:

1.) Does this capture the Exit Code : 0?

2.) I am asking because I don't get an exit code when Files get aborted in the background mid way through a transfer..

Please assist on this. Thank you!
PPATEL

Output Exit Codes C#

Hello, I have a code that can output all exit codes besides the 0..

But, I would like to be output the exit code 0 based on file upload success.

I saw a class which had Int EXITCODE field.. but I would like an example to how to implement it.

https://winscp.net/eng/docs/library_commandexecutionresult#syntax