Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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: Data connection closed

Please attach complete WinSCP and FileZilla logs and do not mask out the IP addresses.
Guest

Data connection closed

Good Morning,

Recently, I have experienced repeated failures when attempting to upload a single file nightly using WinSCP. However, I have no problem uploading the same file using FileZilla. Here is a portion of the WinSCP log file:
< 2023-10-19 21:05:05.771 200 Binary mode selected.
> 2023-10-19 21:05:05.771 PASV
< 2023-10-19 21:05:05.802 227 Entering Passive Mode (##,###,##,##,###,###)
> 2023-10-19 21:05:05.802 STOR filename.csv
. 2023-10-19 21:05:05.802 Connecting to ##.###.##.##:##### ...
< 2023-10-19 21:05:05.896 125 Secure data connection open; transfer starting.
. 2023-10-19 21:05:10.973 Data connection closed
< 2023-10-19 21:05:10.988 425 Can't open data connection.
. 2023-10-19 21:05:10.988 Copying files to remote side failed.
* 2023-10-19 21:05:10.988 (ExtException) **Copying files to remote side failed.**
* 2023-10-19 21:05:10.988 Can't open data connection.
. 2023-10-19 21:05:10.988 Asking user:
. 2023-10-19 21:05:10.988 Error transferring file 'C:\filefolder\filefolder1\filename.csv'. ("Copying files to remote side failed.","Can't open data connection.")
< 2023-10-19 21:05:10.988 Script: Error transferring file 'C:\filefolder\filefolder1\filename.csv'.
< 2023-10-19 21:05:10.988 Script: Copying files to remote side failed.
 
< 2023-10-19 21:05:10.988 Can't open data connection.
. 2023-10-19 21:05:10.988 Answer: Abort
* 2023-10-19 21:05:11.004 (ESkipFile) Error transferring file 'C:\filefolder\filefolder1\filename.csv'.
* 2023-10-19 21:05:11.004 Copying files to remote side failed.
* 2023-10-19 21:05:11.004 Can't open data connection.
. 2023-10-19 21:05:11.004 Copying finished: Transferred: 0, Elapsed: 0:00:05, CPS: 0/s
. 2023-10-19 21:05:11.004 Script: Failed
. 2023-10-19 21:05:11.004 Script: Exit code: 1
. 2023-10-19 21:05:11.004 Disconnected from server

Any suggestions would be greatly appreciated.

Thank you.