FluentFTP: UploadFile: 425 Error while transfering data: ECONNABORTED - Connection aborted

FTP 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...

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 28 (2 by maintainers)

Most upvoted comments