UploadFile: 425 Error while transfering data: ECONNABORTED - Connection aborted
See original GitHub issueFTP OS: Any
FTP Server: FileZille 1.5.x
Computer OS: WIndows 10
FluentFTP Version: V 41.1.0
Framework: .NET 6 AND NETFramework 4.8
FTP_Sess.AutoConnect();
FTP_Sess.UploadDirectory("D:\\temp\\issue311", "temp/issue311/upload", FtpFolderSyncMode.Update, FtpRemoteExists.Overwrite, FtpVerify.None, null, progress);
FTP_Sess.Disconnect();
Files are uploaded, turn up fine on the server, but the transfer is reported as failed.
Logs :
[Error] GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
[Status] Client did not properly shut down TLS connection
[Trace] tls_layer_impl::shutdown()
[Trace] data_socket_->shutdown() = 126
[Response] 425 Error while transfering data: ECONNABORTED - Connection aborted
> AutoConnect()
> AutoDetect(True, False)
> Connect()
Status: FluentFTP 41.0.0.0
Status: Connecting to ***:21
Status: Waiting for a response
Response: 220-FileZilla Server 1.5.1
Response: 220-Please visit https://filezilla-project.org/
Response: 220 Welcome to AnSyNova FileZilla Server
Status: Detected FTP server: FileZilla
Command: AUTH TLS
Status: Waiting for response to: AUTH TLS
Response: 234 Using authentication type TLS.
Warning: SSL Buffering force disabled, is .NET 5.0 and later
Status: FTPS authentication successful, protocol = Tls12
Status: Time to activate encryption: 0h 0m 0s. Total Seconds: 0,1204242.
Command: USER ***
Status: Waiting for response to: USER ***
Response: 331 Please, specify the password.
Command: PASS ***
Status: Waiting for response to: PASS ***
Response: 230 Login successful.
Command: PBSZ 0
Status: Waiting for response to: PBSZ 0
Response: 200 PBSZ=0
Command: PROT P
Status: Waiting for response to: PROT P
Response: 200 Protection level set to P
Command: FEAT
Status: Waiting for response to: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: MLST type*;size*;modify*;perm*;
Response: MLSD
Response: AUTH SSL
Response: AUTH TLS
Response: PROT
Response: PBSZ
Response: UTF8
Response: TVFS
Response: EPSV
Response: EPRT
Response: MFMT
Response: 211 End
Status: Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed
Command: OPTS UTF8 ON
Status: Waiting for response to: OPTS UTF8 ON
Response: 202 UTF8 mode is always enabled. No need to send this command
Command: SYST
Status: Waiting for response to: SYST
Response: 215 UNIX emulated by FileZilla.
Status: Listing parser set to: Machine
> UploadDirectory("D:\temp\issue311\from\", "temp/issue311/upload/", Update, Overwrite, None, null)
> DirectoryExists("temp/issue311/upload")
Command: PWD
Status: Waiting for response to: PWD
Response: 257 "/" is current directory.
Command: CWD temp/issue311/upload
Status: Waiting for response to: CWD temp/issue311/upload
Response: 550 Couldn't open the file or directory
> CreateDirectory("temp/issue311/upload", True)
> DirectoryExists("temp/issue311")
Command: PWD
Status: Waiting for response to: PWD
Response: 257 "/" is current directory.
Command: CWD temp/issue311
Status: Waiting for response to: CWD temp/issue311
Response: 250 CWD command successful
Command: CWD /
Status: Waiting for response to: CWD /
Response: 250 CWD command successful
Status: CreateDirectory temp/issue311/upload
Command: MKD temp/issue311/upload
Status: Waiting for response to: MKD temp/issue311/upload
Response: 257 "/temp/issue311/upload" created successfully.
> UploadDirectoryFiles("3 files")
> UploadFile("D:\temp\issue311\from\test1", "temp/issue311/upload/test1", NoCheck, False, None)
> OpenWrite("temp/issue311/upload/test1", Binary)
Command: TYPE I
Status: Waiting for response to: TYPE I
Response: 200 Type set to I
> OpenPassiveDataStream(PASV, "STOR temp/issue311/upload/test1", 0)
Command: PASV
Status: Waiting for response to: PASV
Response: 227 Entering Passive Mode (127,0,0,1,249,167)
Status: Connecting to ***:63911
Command: STOR temp/issue311/upload/test1
Status: Waiting for response to: STOR temp/issue311/upload/test1
Response: 150 Starting data transfer.
Warning: SSL Buffering force disabled, is .NET 5.0 and later
Status: FTPS authentication successful, protocol = Tls12
Status: Time to activate encryption: 0h 0m 0s. Total Seconds: 0,02694.
Status: Disposing FtpSocketStream...
Status: Waiting for response to: *UPLOAD*
Response: 425 Error while transfering data: ECONNABORTED - Connection aborted
Status: Failed to upload file.
> UploadFile("D:\temp\issue311\from\test2", "temp/issue311/upload/test2", NoCheck, False, None)
> OpenWrite("temp/issue311/upload/test2", Binary)
> OpenPassiveDataStream(PASV, "STOR temp/issue311/upload/test2", 0)
Command: PASV
Status: Waiting for response to: PASV
Response: 227 Entering Passive Mode (127,0,0,1,249,169)
Status: Connecting to ***:63913
Command: STOR temp/issue311/upload/test2
Status: Waiting for response to: STOR temp/issue311/upload/test2
Response: 150 Starting data transfer.
Warning: SSL Buffering force disabled, is .NET 5.0 and later
Status: FTPS authentication successful, protocol = Tls12
Status: Time to activate encryption: 0h 0m 0s. Total Seconds: 0,0074072.
Status: Disposing FtpSocketStream...
Status: Waiting for response to: *UPLOAD*
Response: 425 Error while transfering data: ECONNABORTED - Connection aborted
Status: Failed to upload file.
> UploadFile("D:\temp\issue311\from\test3", "temp/issue311/upload/test3", NoCheck, False, None)
> OpenWrite("temp/issue311/upload/test3", Binary)
> OpenPassiveDataStream(PASV, "STOR temp/issue311/upload/test3", 0)
Command: PASV
Status: Waiting for response to: PASV
Response: 227 Entering Passive Mode (127,0,0,1,249,171)
Status: Connecting to ***:63915
Command: STOR temp/issue311/upload/test3
Status: Waiting for response to: STOR temp/issue311/upload/test3
Response: 150 Starting data transfer.
Warning: SSL Buffering force disabled, is .NET 5.0 and later
Status: FTPS authentication successful, protocol = Tls12
Status: Time to activate encryption: 0h 0m 0s. Total Seconds: 0,0029047.
Status: Disposing FtpSocketStream...
Status: Waiting for response to: *UPLOAD*
Response: 425 Error while transfering data: ECONNABORTED - Connection aborted
Status: Failed to upload file.
Command: QUIT
Status: Waiting for response to: QUIT
Response: 221 Goodbye.
Status: Disposing FtpSocketStream...
Issue Analytics
- State:
- Created a year ago
- Comments:28 (2 by maintainers)
Top Results From Across the Web
"425 Error while transfering data: 5" after upgrading to 1.0.1
Hi, I've upgraded FileZilla Server to 1.0.1 from 0.9.6 today. It took me some time to solve the connection problem because of missing ......
Read more >FileZilla Connection attempt failed with ECONNABORTED ...
This is an insecure workaround, avoid it unless you don't care about the content you are transfering. This error usually comes from a...
Read more >FileZilla Server 425 Can't open data connection for transfer ...
Another problem is, that you have not configured a correct external IP address in the FTP server. The FileZilla client can workaround that:....
Read more >How to resolve FTP-ECONNABORTED-Connection ...
Kindly Choose server type : FTPES - FTP over explicit TLS/ SSL . Note: If you are using latest version , use {...
Read more >Connection aborted after file has transfered - Help and ...
I get a "425 Error while transfering data: ECONNABORTED - Connection aborted" whenever I am trying to do an rclone move or copy...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@FanDjango Do let me know whenever you need a new release. I will release v42 today.
V42 is released as of today, https://github.com/robinrodricks/FluentFTP/issues/771, https://github.com/robinrodricks/FluentFTP/issues/311, https://github.com/robinrodricks/FluentFTP/issues/930, https://github.com/robinrodricks/FluentFTP/issues/573, https://github.com/robinrodricks/FluentFTP/pull/944, https://github.com/robinrodricks/FluentFTP/issues/763 please take note