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: WinSCP Connection lost while uploading the 1GB file

Santhosh Kumar S wrote:

I didn't try any other FTP client to upload the file.

So please do try!
Santhosh Kumar S

Re: WinSCP Connection lost while uploading the 1GB file

Hi Martin, I didn't try any other FTP client to upload the file. I have attached the log details below. Please check it.

For security purpose, I have put * for sensitive information.
Log Details:
< 2022-01-03 12:20:13.764 Script: Connecting to ********...
. 2022-01-03 12:20:13.764 Connecting to ********...
. 2022-01-03 12:20:13.787 Connected with ********. Waiting for welcome message...
< 2022-01-03 12:20:13.814 220-
< 2022-01-03 12:20:13.814  ********************************* WARNING
< 2022-01-03 12:20:13.814            This system is for use by authorized users only.
< 2022-01-03 12:20:13.836  ***************************************************
< 2022-01-03 12:20:13.836 220 Proxy first requires authentication
< 2022-01-03 12:20:13.836 Script: Trying to access ******** through ftp proxy...
. 2022-01-03 12:20:13.836 Trying to access ******** through ftp proxy...
> 2022-01-03 12:20:13.836 USER ********
< 2022-01-03 12:20:13.847 331 Please specify the password.
> 2022-01-03 12:20:13.847 PASS *********
< 2022-01-03 12:20:13.870 230 User authenticated to proxy.
> 2022-01-03 12:20:13.870 USER ********
< 2022-01-03 12:20:13.908 331-(----GATEWAY CONNECTED TO ********----)
< 2022-01-03 12:20:13.908 331-(220 Enterprise FTP server (01/03/2022 07:19:54 / Version 3.0.15 Aug 16, 2012)
< 2022-01-03 12:20:13.908 )
< 2022-01-03 12:20:13.908 331 Password required for ************
> 2022-01-03 12:20:13.908 PASS ********
< 2022-01-03 12:20:14.746 230-Signon to mailbox ******** successful.
< 2022-01-03 12:20:14.746 230 Using ASCII mode to transfer files.
> 2022-01-03 12:20:14.746 SYST
< 2022-01-03 12:20:14.769 215 UNIX Type: L8
> 2022-01-03 12:20:14.769 FEAT
< 2022-01-03 12:20:14.792 211 No features.
< 2022-01-03 12:20:14.792 Script: Connected
. 2022-01-03 12:20:14.792 Connected
. 2022-01-03 12:20:14.792 Doing startup conversation with host.
< 2022-01-03 12:20:14.792 Script: Starting the session...
> 2022-01-03 12:20:14.792 PWD
< 2022-01-03 12:20:14.816 257 Sender=************ Receiver=************ APRF=*BINARY
. 2022-01-03 12:20:14.816 Changing directory to "/Sender=************".
> 2022-01-03 12:20:14.816 CWD /Sender=************
< 2022-01-03 12:20:14.840 250 Default receiver: , APRF: *BINARY
. 2022-01-03 12:20:14.840 Getting current directory name.
> 2022-01-03 12:20:14.840 PWD
< 2022-01-03 12:20:14.863 257 Sender=************ Receiver= APRF=*BINARY
. 2022-01-03 12:20:14.863 Startup conversation with host finished.
< 2022-01-03 12:20:14.863 Script: Session started.
. 2022-01-03 12:20:14.863 File: 'C:\sample.zip' [2021-12-27T16:13:44.918Z] [1391528270]
. 2022-01-03 12:20:14.863 Copying "C:\sample.zip" to remote directory started.
. 2022-01-03 12:20:14.863 Binary transfer mode selected.
. 2022-01-03 12:20:14.863 Starting upload of C:\sample.zip
> 2022-01-03 12:20:14.863 TYPE A
< 2022-01-03 12:20:14.887 200 TYPE set to A
> 2022-01-03 12:20:14.887 PORT 3,14,205,231,204,25
< 2022-01-03 12:20:14.912 200 Port command successful.
> 2022-01-03 12:20:14.912 LIST
< 2022-01-03 12:20:14.935 150 Opening ASCII mode data connection for transfer
. 2022-01-03 12:20:15.383 Data connection closed
< 2022-01-03 12:20:15.386 226 Transfer Complete.
> 2022-01-03 12:20:15.387 TYPE I
< 2022-01-03 12:20:15.409 200 TYPE set to I
> 2022-01-03 12:20:15.410 PORT 3,14,205,231,204,26
< 2022-01-03 12:20:15.435 200 Port command successful.
> 2022-01-03 12:20:15.435 STOR ****
< 2022-01-03 12:20:15.459 150 Opening BINARY mode data connection for transfer
< 2022-01-03 12:20:15.499 226-
< 2022-01-03 12:36:08.262     Service Ref#       Item Type      Item ID        Sender/Receiver
. 2022-01-03 12:36:23.987 Timeout detected. (control connection)
. 2022-01-03 12:36:23.987 Copying files to remote side failed.
. 2022-01-03 12:36:23.987 Connection was lost, asking what to do.
. 2022-01-03 12:36:23.987 Asking user:
. 2022-01-03 12:36:23.987 **Lost connection.** ("Timeout detected. (control connection)","Copying files to remote side failed.")
< 2022-01-03 12:36:23.987 Script: Lost connection.
< 2022-01-03 12:36:23.987 Script: Timeout detected. (control connection)
< 2022-01-03 12:36:23.987 Copying files to remote side failed.

Thanks in Advance.
martin

Re: WinSCP Connection lost while uploading the 1GB file

Can you upload 1GB file using any other FTP client? If you can, please attach its log file too. And complete WinSCP log.
Santhosh Kumar S

WinSCP Connection lost while uploading the 1GB file

We have uploaded the files into the third-party server, So while uploading the file Size of 1GB, Timeout was detected (control connection). We have uploaded the file size up to 950MB successfully. We are using AWS server as the source and connecting to the third-party server.
Help me to resolve this timeout issue.
Thanks in advance

Error Log:
Error Message:
. 2021-12-22 12:39:26.656 Timeout detected. (control connection)
. 2021-12-22 12:39:26.656 Copying files to remote side failed.
. 2021-12-22 12:39:26.656 Connection was lost, asking what to do.
. 2021-12-22 12:39:26.656 Asking user:
. 2021-12-22 12:39:26.656 *Lost connection.* ("Timeout detected. (control connection)","Copying files to remote side failed.")
< 2021-12-22 12:39:26.656 Script: Lost connection.
< 2021-12-22 12:39:26.656 Script: Timeout detected. (control connection)
< 2021-12-22 12:39:26.656 Copying files to remote side failed.