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


Parsing WinSCP log file

I'm writing some code to parse the log file after an FTP session has completed.

Right now, I'm getting lines in the log similar to:

. 2019-04-25 11:38:22.740 File: 'Test2.txt' [2019-04-17T16:59:40.189Z] [48]
. 2019-04-25 11:38:22.744 Copying "Test2.txt" to remote directory started.
. 2019-04-25 11:40:48.250 Transfer done: 'Test2.txt' => '/Test2.txt' [48]

What I'm looking for is other types of messages or status codes which I might encounter if a transfer is not accomplished. Something like:

Transfer failed: 'test2.txt' file already exists

Is there a list of these codes or message texts somewhere?