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: i got the same error with version 5.13.38565

mnaveen wrote:

< 2020-12-15 22:12:02.058 426 Connection closed; transfer aborted.

. 2020-12-15 22:12:02.058 Copying files from remote side failed.
* 2020-12-15 22:12:02.058 (ExtException) **Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES128-SHA, 2048 bit RSA, ECDHE-RSA-AES128-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1
...

That's not the same problem. OP didn't use TLS. Please attach a complete log file from the latest version of WinSCP. Did you try any other FTP client?
mnaveen

i got the same error with version 5.13.38565

< 2020-12-15 22:12:02.058 426 Connection closed; transfer aborted.

. 2020-12-15 22:12:02.058 Copying files from remote side failed.
* 2020-12-15 22:12:02.058 (ExtException) **Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES128-SHA, 2048 bit RSA, ECDHE-RSA-AES128-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1
* 2020-12-15 22:12:02.058 **
* 2020-12-15 22:12:02.058 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES128-SHA, 2048 bit RSA, ECDHE-RSA-AES128-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1
* 2020-12-15 22:12:02.058
* 2020-12-15 22:12:02.058 Copying files from remote side failed.
* 2020-12-15 22:12:02.058 Connection closed; transfer aborted.
. 2020-12-15 22:12:02.058 Asking user:
. 2020-12-15 22:12:02.058 Error transferring file '/ECC/APP_BACKUP/20180818_013514/4.0_3.6.8.2.20180807_APP_BACKUP_20180818_013514.zip'. ("Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES128-SHA, 2048 bit RSA, ECDHE-RSA-AES128-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1
. 2020-12-15 22:12:02.058 ","Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES128-SHA, 2048 bit RSA, ECDHE-RSA-AES128-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1
. 2020-12-15 22:12:02.058 ","Copying files from remote side failed.","Connection closed; transfer aborted.")
< 2020-12-15 22:12:02.058 Script: Error transferring file '/ECC/APP_BACKUP/20180818_013514/4.0_3.6.8.2.20180807_APP_BACKUP_20180818_013514.zip'.
< 2020-12-15 22:12:02.058 Script: Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES128-SHA, 2048 bit RSA, ECDHE-RSA-AES128-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1
< 2020-12-15 22:12:02.058

< 2020-12-15 22:12:02.058 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES128-SHA, 2048 bit RSA, EEEE-RSA-AES128-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1
< 2020-12-15 22:12:02.058

< 2020-12-15 22:12:02.058 Copying files from remote side failed.

< 2020-12-15 22:12:02.058 Connection closed; transfer aborted.
* 2020-12-15 22:12:02.073 (ESkipFile) Error transferring file '/ECC/APP_BACKUP/20180818_013514/4.0_3.6.8.2.20180807_APP_BACKUP_20180818_013514.zip'.
* 2020-12-15 22:12:02.073 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES128-SHA, 2048 bit RSA, ECDHE-RSA-AES128-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1
* 2020-12-15 22:12:02.073
* 2020-12-15 22:12:02.073 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES128-SHA, 2048 bit RSA, ECDHE-RSA-AES128-SHA    SSLv3 Kx=ECDH     Au=RSA  Enc=AES(128)  Mac=SHA1
* 2020-12-15 22:12:02.073
* 2020-12-15 22:12:02.073 Copying files from remote side failed.
* 2020-12-15 22:12:02.073 Connection closed; transfer aborted.
. 2020-12-15 22:12:02.073 Script: Failed
. 2020-12-15 22:12:02.073 Script: Exit code: 1
. 2020-12-15 22:12:02.073 Disconnected from server
Tue 12/15/202022:12:02.29
--------------------------------
martin

Re: 426 Connection closed; aborted transfer of "/"

Do you get the same problem with the latest version of WinSCP? Does it happen in GUI too? Did you try other FTP clients (even GUI)?
Tofik

426 Connection closed; aborted transfer of "/"

Hello

I am are using WinSCP Version 5.7.5 (Build 5665) and I am trying to send a Excel file to a external FTP server using explicittls.
The problem is that some times my transfer goes succesfull and most of the times it failes.
Please take a look at my log.
. 2016-08-18 15:19:09.977 --------------------------------------------------------------------------

. 2016-08-18 15:19:09.977 WinSCP Version 5.7.5 (Build 5665) (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Enterprise)
. 2016-08-18 15:19:09.977 Configuration: d:\tasks\GildeBTscript\WinSCP.ini
. 2016-08-18 15:19:09.977 Log level: Debug 1
. 2016-08-18 15:19:09.977 Local account: CICEROZORGGROEP\saGildeExport
. 2016-08-18 15:19:09.977 Working directory: C:\Windows\system32
. 2016-08-18 15:19:09.977 Process ID: 5052
. 2016-08-18 15:19:09.977 Command-line: "d:\tasks\GildeBTscript\WinSCP.exe" /console=575 /consoleinstance=_4708_213 "/script=d:\tasks\GildeBTscript\ftpcommands.txt" "/log=d:\tasks\GildeBTscript\LOGS\FTPLog.txt"
. 2016-08-18 15:19:09.977 Switch:    /console=575
. 2016-08-18 15:19:09.977 Switch:    /consoleinstance=_4708_213
. 2016-08-18 15:19:09.977 Switch:    /script=d:\tasks\GildeBTscript\ftpcommands.txt
. 2016-08-18 15:19:09.977 Switch:    /log=d:\tasks\GildeBTscript\LOGS\FTPLog.txt
. 2016-08-18 15:19:09.977 Time zone: Current: GMT+2, Standard: GMT+1 (W. Europe Standard Time), DST: GMT+2 (W. Europe Daylight Time), DST Start: 27-03-2016, DST End: 30-10-2016
. 2016-08-18 15:19:09.977 Login time: donderdag 18 augustus 2016 15:19:09
. 2016-08-18 15:19:09.977 --------------------------------------------------------------------------
. 2016-08-18 15:19:09.977 Script: Retrospectively logging previous script records:
> 2016-08-18 15:19:09.977 Script: option batch abort
> 2016-08-18 15:19:09.977 Script: Parameter: batch
> 2016-08-18 15:19:09.977 Script: Parameter: abort
< 2016-08-18 15:19:09.977 Script: batch           abort     
< 2016-08-18 15:19:09.977 Script: reconnecttime   120       
> 2016-08-18 15:19:09.977 Script: option confirm off
> 2016-08-18 15:19:09.977 Script: Parameter: confirm
> 2016-08-18 15:19:09.977 Script: Parameter: off
< 2016-08-18 15:19:09.977 Script: confirm         off       
> 2016-08-18 15:19:09.977 Script: option echo on
> 2016-08-18 15:19:09.977 Script: Parameter: echo
> 2016-08-18 15:19:09.977 Script: Parameter: on
< 2016-08-18 15:19:09.977 Script: echo            on       
> 2016-08-18 15:19:09.977 Script: option failonnomatch off
> 2016-08-18 15:19:09.977 Script: Parameter: failonnomatch
> 2016-08-18 15:19:09.977 Script: Parameter: off
< 2016-08-18 15:19:09.977 Script: failonnomatch off
< 2016-08-18 15:19:09.977 Script: failonnomatch   off       
> 2016-08-18 15:19:09.977 Script: option transfer binary
> 2016-08-18 15:19:09.977 Script: Parameter: transfer
> 2016-08-18 15:19:09.977 Script: Parameter: binary
< 2016-08-18 15:19:09.977 Script: transfer binary
< 2016-08-18 15:19:09.977 Script: transfer        binary   
> 2016-08-18 15:19:09.977 Script: open ftp://Username:***@domain.nl/ -explicittls
> 2016-08-18 15:19:09.977 Script: Parameter: ftp://Username:***@domain.nl/
> 2016-08-18 15:19:09.977 Script: Switch:    -explicittls
< 2016-08-18 15:19:09.977 Script: ftp://Username:***@domain.nl/ -explicittls
. 2016-08-18 15:19:09.977 --------------------------------------------------------------------------
. 2016-08-18 15:19:09.977 Session name: Username:***@domain.nl (Ad-Hoc site)
. 2016-08-18 15:19:09.977 Host name: domain.nl (Port: 21)
. 2016-08-18 15:19:09.977 User name: Username (Password: Yes, Key file: No)
. 2016-08-18 15:19:09.977 Transfer Protocol: FTP
. 2016-08-18 15:19:09.977 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2016-08-18 15:19:09.977 Disable Nagle: No
. 2016-08-18 15:19:09.977 Proxy: none
. 2016-08-18 15:19:09.977 Send buffer: 262144
. 2016-08-18 15:19:09.977 UTF: 2
. 2016-08-18 15:19:09.977 FTP: FTPS: Explicit TLS; Passive: Yes [Force IP: A]; MLSD: A [List all: A]
. 2016-08-18 15:19:09.977 Session reuse: Yes
. 2016-08-18 15:19:09.977 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2016-08-18 15:19:09.977 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2016-08-18 15:19:09.977 Cache directory changes: Yes, Permanent: Yes
. 2016-08-18 15:19:09.977 Timezone offset: 0h 0m
. 2016-08-18 15:19:09.977 --------------------------------------------------------------------------
. 2016-08-18 15:19:09.977 Connecting to domain.nl ...
. 2016-08-18 15:19:10.008 Connected with domain.nl, negotiating TLS connection...
< 2016-08-18 15:19:10.008 220 FZS says hi.
> 2016-08-18 15:19:10.008 AUTH TLS
< 2016-08-18 15:19:10.039 234 Using authentication type TLS
. 2016-08-18 15:19:10.164 Verifying certificate for "" with fingerprint xxxxxxxxxxxxxxxxxxx and 20 failures
. 2016-08-18 15:19:10.180 Certificate verified against Windows certificate store
. 2016-08-18 15:19:10.180 Certificate common name "*.domain.nl" matches hostname
. 2016-08-18 15:19:10.180 Using TLSv1.2, cipher TLSv1/SSLv3: AES256-GCM-SHA384, 2048 bit RSA
. 2016-08-18 15:19:10.180 TLS connection established. Waiting for welcome message...
> 2016-08-18 15:19:10.180 USER Username
< 2016-08-18 15:19:10.195 331 Password required for Username
> 2016-08-18 15:19:10.195 PASS ************************************
< 2016-08-18 15:19:10.211 230 Logged on
> 2016-08-18 15:19:10.211 SYST
< 2016-08-18 15:19:10.211 215 UNIX emulated by FileZilla
> 2016-08-18 15:19:10.211 FEAT
< 2016-08-18 15:19:10.227 211-Features:
< 2016-08-18 15:19:10.227  MDTM
< 2016-08-18 15:19:10.227  REST STREAM
< 2016-08-18 15:19:10.227  SIZE
< 2016-08-18 15:19:10.227  MLST type*;size*;modify*;
< 2016-08-18 15:19:10.227  MLSD
< 2016-08-18 15:19:10.227  AUTH SSL
< 2016-08-18 15:19:10.227  AUTH TLS
< 2016-08-18 15:19:10.227  PROT
< 2016-08-18 15:19:10.227  PBSZ
< 2016-08-18 15:19:10.227  UTF8
< 2016-08-18 15:19:10.227  CLNT
< 2016-08-18 15:19:10.227  MFMT
< 2016-08-18 15:19:10.227  EPSV
< 2016-08-18 15:19:10.227  EPRT
< 2016-08-18 15:19:10.227 211 End
> 2016-08-18 15:19:10.227 PBSZ 0
< 2016-08-18 15:19:10.227 200 PBSZ=0
> 2016-08-18 15:19:10.227 PROT P
< 2016-08-18 15:19:10.242 200 Protection level set to P
. 2016-08-18 15:19:10.242 Connected
. 2016-08-18 15:19:10.242 Got reply 1 to the command 1
. 2016-08-18 15:19:10.242 --------------------------------------------------------------------------
. 2016-08-18 15:19:10.242 Using FTP protocol.
. 2016-08-18 15:19:10.242 Doing startup conversation with host.
> 2016-08-18 15:19:10.242 PWD
< 2016-08-18 15:19:10.242 257 "/" is current directory.
. 2016-08-18 15:19:10.242 Got reply 1 to the command 16
. 2016-08-18 15:19:10.242 Getting current directory name.
. 2016-08-18 15:19:10.242 Startup conversation with host finished.
< 2016-08-18 15:19:10.242 Script: Active session: [1] Username@domain.nl
. 2016-08-18 15:19:10.242 Session upkeep
> 2016-08-18 15:19:10.242 Script: put r:\Gilde.xls
> 2016-08-18 15:19:10.242 Script: Parameter: r:\Gilde.xls
< 2016-08-18 15:19:10.242 Script: r:\Gilde.xls
. 2016-08-18 15:19:10.258 Copying 1 files/directories to remote directory "/"
. 2016-08-18 15:19:10.258   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask:
. 2016-08-18 15:19:10.258   TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM: ; ResumeL: 0
. 2016-08-18 15:19:10.258   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2016-08-18 15:19:10.258 File: 'r:\Gilde.xls' [2016-08-18T12:59:48.208Z] [1128960]
. 2016-08-18 15:19:10.258 Copying "r:\Gilde.xls" to remote directory started.
. 2016-08-18 15:19:10.258 Binary transfer mode selected.
. 2016-08-18 15:19:10.258 Starting upload of r:\Gilde.xls
> 2016-08-18 15:19:10.258 TYPE A
< 2016-08-18 15:19:10.258 200 Type set to A
> 2016-08-18 15:19:10.258 PASV
< 2016-08-18 15:19:10.273 227 Entering Passive Mode (13,94,197,165,253,233)
> 2016-08-18 15:19:10.273 MLSD
< 2016-08-18 15:19:10.289 150 Opening data channel for directory listing of "/"
. 2016-08-18 15:19:10.289 <Empty directory listing>
< 2016-08-18 15:19:10.305 426 Connection closed; aborted transfer of "/"
> 2016-08-18 15:19:10.305 SIZE Gilde.xls
< 2016-08-18 15:19:10.305 213 0
> 2016-08-18 15:19:10.305 MDTM Gilde.xls
< 2016-08-18 15:19:10.320 213 20160818131445
> 2016-08-18 15:19:10.320 TYPE I
< 2016-08-18 15:19:10.320 200 Type set to I
> 2016-08-18 15:19:10.320 PASV
< 2016-08-18 15:19:10.336 227 Entering Passive Mode (13,94,197,165,253,234)
> 2016-08-18 15:19:10.336 STOR Gilde.xls
< 2016-08-18 15:19:10.351 150 Opening data channel for file upload to server of "/Gilde.xls"
< 2016-08-18 15:19:10.383 426 Connection closed; aborted transfer of "/Gilde.xls"
. 2016-08-18 15:19:10.383 Copying files to remote side failed.
. 2016-08-18 15:19:10.383 Got reply 4 to the command 4
* 2016-08-18 15:19:10.383 (ExtException) **Copying files to remote side failed.**
* 2016-08-18 15:19:10.383 Connection closed; aborted transfer of "/Gilde.xls"
. 2016-08-18 15:19:10.383 Asking user:
. 2016-08-18 15:19:10.383 Error transferring file 'r:\Gilde.xls'. ("Copying files to remote side failed.","Connection closed; aborted transfer of ""/Gilde.xls""")
< 2016-08-18 15:19:10.383 Script: Error transferring file 'r:\Gilde.xls'.
< 2016-08-18 15:19:10.383 Script: Copying files to remote side failed.

< 2016-08-18 15:19:10.383 Connection closed; aborted transfer of "/Gilde.xls"
* 2016-08-18 15:19:10.383 (EScpSkipFile) Error transferring file 'r:\Gilde.xls'.
* 2016-08-18 15:19:10.383 Copying files to remote side failed.
* 2016-08-18 15:19:10.383 Connection closed; aborted transfer of "/Gilde.xls"
. 2016-08-18 15:19:10.383 Script: Failed
. 2016-08-18 15:19:10.383 Session upkeep
. 2016-08-18 15:19:10.383 Script: Exit code: 1
. 2016-08-18 15:19:10.383 Got reply 1004 to the command 4
. 2016-08-18 15:19:10.383 Disconnected from server

Please help me out.