FluentFTP: Download doesn't proceed when deployed to Azure Container
FTP Server OS: Unix
FTP Server Type: Pure-FTPd
Client Computer OS: Ubuntu (Docker - mcr.microsoft.com/dotnet/aspnet:8.0-jammy)
FluentFTP Version: https://github.com/robinrodricks/FluentFTP/commit/fb2ee75f08929685bf5cfd9447d5343c3ffc7fc6 (master) / Also tested on 49.0.2
Framework: .NET 8
When deploying the container to Azure the download request never begins. The FTP server is not hosted in Azure. I have set all timeouts to 10 minutes, but even with a short timeout. I know Azure can be “special”, but I would expect either the connection to timeout
** Code 😗*
var timeout = (int)TimeSpan.FromMinutes(10).TotalMilliseconds;
var client = new AsyncFtpClient(host, username, password);
client.Config.ConnectTimeout = timeout;
client.Config.ReadTimeout = timeout;
client.Config.DataConnectionConnectTimeout = timeout;
client.Config.DataConnectionReadTimeout = timeout;
var downloadStatus = await client.DownloadFile(
fileDestinationPath,
normalizedFilePath,
verifyOptions: FtpVerify.OnlyVerify | FtpVerify.Retry | FtpVerify.Delete,
token: cancellationToken)
.ConfigureAwait(false);
Logs :
From Windows / Docker on Windows
[2024-03-27 15:38:24.655 -06:00] Verbose> "> AutoConnect()"
[2024-03-27 15:38:24.669 -06:00] Verbose> "> AutoDetect(CloneConnection = False, FirstOnly = True, IncludeImplicit = True, AbortOnTimeout = True, RequireEncryption = False, ProtocolPriority = [Tls11, Tls12])"
[2024-03-27 15:38:24.682 -06:00] Verbose> "Status: Auto-Detect trying encryption mode \"Auto\" with \"Tls11, Tls12\""
[2024-03-27 15:38:24.690 -06:00] Verbose> "> Connect(False)"
[2024-03-27 15:38:24.698 -06:00] Verbose> "Status: FluentFTP 49.0.2.0(.NET 5.0) AsyncFtpClient"
[2024-03-27 15:38:24.779 -06:00] Info> "Status: Connecting to IP #1= ***:21"
[2024-03-27 15:38:24.844 -06:00] Verbose> "Status: Waiting for a response"
[2024-03-27 15:38:24.885 -06:00] Verbose> "Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 2 of 250 allowed.
Response: 220-Local time is now 17:38. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server."
[2024-03-27 15:38:24.891 -06:00] Info> "Response: 220 You will be disconnected after 15 minutes of inactivity. [738971.902d]"
[2024-03-27 15:38:24.899 -06:00] Info> "Status: Detected FTP server: PureFTPd"
[2024-03-27 15:38:24.905 -06:00] Info> "Command: AUTH TLS"
[2024-03-27 15:38:24.910 -06:00] Verbose> "Status: Waiting for response to: AUTH TLS"
[2024-03-27 15:38:24.954 -06:00] Info> "Response: 234 AUTH TLS OK. [44ms]"
[2024-03-27 15:38:24.985 -06:00] Verbose> "Status: GnuTLS: 0 FluentFTP.GnuTLS 1.0.29.0(Win32NT/.NET 6.0) / GnuTLS 3.8.0"
[2024-03-27 15:38:25.086 -06:00] Info> "Status: FTPS authentication successful, lib = FluentFTP.GnuTLS.GnuTlsStream, cipher suite = (TLS1.3)-(ECDHE-SECP256R1)-(RSA-PSS-RSAE-SHA256)-(AES-256-GCM) [117ms]"
[2024-03-27 15:38:25.091 -06:00] Info> "Command: USER ***"
[2024-03-27 15:38:25.096 -06:00] Verbose> "Status: Waiting for response to: USER ***"
[2024-03-27 15:38:25.178 -06:00] Info> "Response: 331 User *** OK. Password required [81ms]"
[2024-03-27 15:38:25.181 -06:00] Info> "Command: PASS ***"
[2024-03-27 15:38:25.184 -06:00] Verbose> "Status: Waiting for response to: PASS ***"
[2024-03-27 15:38:25.348 -06:00] Verbose> "Response: 230-Your bandwidth usage is restricted"
[2024-03-27 15:38:25.351 -06:00] Info> "Response: 230 OK. Current directory is / [166ms]"
[2024-03-27 15:38:25.355 -06:00] Info> "Command: PBSZ 0"
[2024-03-27 15:38:25.358 -06:00] Verbose> "Status: Waiting for response to: PBSZ 0"
[2024-03-27 15:38:25.410 -06:00] Info> "Response: 200 PBSZ=0 [51ms]"
[2024-03-27 15:38:25.413 -06:00] Info> "Command: PROT P"
[2024-03-27 15:38:25.416 -06:00] Verbose> "Status: Waiting for response to: PROT P"
[2024-03-27 15:38:25.461 -06:00] Info> "Response: 200 Data protection level set to \"private\" [45ms]"
[2024-03-27 15:38:25.465 -06:00] Info> "Command: FEAT"
[2024-03-27 15:38:25.468 -06:00] Verbose> "Status: Waiting for response to: FEAT"
[2024-03-27 15:38:25.538 -06:00] Verbose> "Response: 211-Extensions supported:
Response: UTF8
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: PRET
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: TVFS
Response: ESTA
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTP"
[2024-03-27 15:38:25.541 -06:00] Info> "Response: 211 End. [73ms]"
[2024-03-27 15:38:25.547 -06:00] Info> "Status: Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed"
[2024-03-27 15:38:25.550 -06:00] Info> "Command: OPTS UTF8 ON"
[2024-03-27 15:38:25.554 -06:00] Verbose> "Status: Waiting for response to: OPTS UTF8 ON"
[2024-03-27 15:38:25.600 -06:00] Info> "Response: 504 Unknown command [46ms]"
[2024-03-27 15:38:25.603 -06:00] Info> "Command: SYST"
[2024-03-27 15:38:25.608 -06:00] Verbose> "Status: Waiting for response to: SYST"
[2024-03-27 15:38:25.661 -06:00] Info> "Response: 215 UNIX Type: L8 [52ms]"
[2024-03-27 15:38:25.665 -06:00] Verbose> "Status: Active ServerHandler is: PureFTPd"
[2024-03-27 15:38:25.668 -06:00] Verbose> "Status: Listing parser set to: Machine"
[2024-03-27 15:38:25.673 -06:00] Info> "Command: PWD"
[2024-03-27 15:38:25.677 -06:00] Verbose> "Status: Waiting for response to: PWD"
[2024-03-27 15:38:25.731 -06:00] Info> "Response: 257 \"/\" is your current location [54ms]"
[2024-03-27 15:38:25.746 -06:00] Verbose> "> DownloadFile(\"C:\Users\Cody\AppData\Local\Temp\8f343a53-de6b-4e5a-99fd-241eaa710a7d\file.ext\", \"/path/file.ext\", Resume, Retry, Delete, OnlyVerify)"
[2024-03-27 15:38:25.758 -06:00] Verbose> "> OpenRead(\"/path/file.ext\", Binary, 0, 0, False)"
[2024-03-27 15:38:25.765 -06:00] Verbose> "> GetFileSize(\"/path/file.ext\", -1)"
[2024-03-27 15:38:25.772 -06:00] Info> "Command: SIZE /path/file.ext"
[2024-03-27 15:38:25.775 -06:00] Verbose> "Status: Waiting for response to: SIZE /path/file.ext"
[2024-03-27 15:38:25.820 -06:00] Info> "Response: 213 48406 [45ms]"
[2024-03-27 15:38:25.827 -06:00] Info> "Command: TYPE I"
[2024-03-27 15:38:25.831 -06:00] Verbose> "Status: Waiting for response to: TYPE I"
[2024-03-27 15:38:25.891 -06:00] Info> "Response: 200 TYPE is now 8-bit binary [59ms]"
[2024-03-27 15:38:25.895 -06:00] Verbose> "> OpenDataStreamAsync(\"RETR /path/file.ext\", 0)"
[2024-03-27 15:38:25.901 -06:00] Verbose> "> OpenPassiveDataStreamAsync(PASV, \"RETR /path/file.ext\", 0)"
[2024-03-27 15:38:25.906 -06:00] Info> "Command: PRET RETR /path/file.ext"
[2024-03-27 15:38:25.909 -06:00] Verbose> "Status: Waiting for response to: PRET RETR /path/file.ext"
[2024-03-27 15:38:25.960 -06:00] Info> "Response: 200 Ready to proceed [51ms]"
[2024-03-27 15:38:25.963 -06:00] Info> "Command: PASV"
[2024-03-27 15:38:25.967 -06:00] Verbose> "Status: Waiting for response to: PASV"
[2024-03-27 15:38:26.025 -06:00] Info> "Response: 227 Entering Passive Mode (64,136,173,119,78,109) [58ms]"
[2024-03-27 15:38:26.030 -06:00] Info> "Status: Connecting to IP #1= ***:20077"
[2024-03-27 15:38:26.078 -06:00] Info> "Command: RETR /path/file.ext"
[2024-03-27 15:38:26.081 -06:00] Verbose> "Status: Waiting for response to: RETR /path/file.ext"
[2024-03-27 15:38:26.133 -06:00] Verbose> "Response: 150-Accepted data connection"
[2024-03-27 15:38:26.137 -06:00] Info> "Response: 150 47.3 kbytes to download [55ms]"
[2024-03-27 15:38:26.206 -06:00] Info> "Status: FTPS authentication successful, lib = FluentFTP.GnuTLS.GnuTlsStream, cipher suite = (TLS1.3)-(ECDHE-PSK-SECP256R1)-(AES-256-GCM) [66ms]"
[2024-03-27 15:38:26.730 -06:00] Verbose> "Status: Downloaded 48406 bytes"
[2024-03-27 15:38:26.741 -06:00] Verbose> "Status: Disposing(async) FtpSocketStream(data connection of AsyncFtpClient)"
[2024-03-27 15:38:26.747 -06:00] Verbose> "Status: Waiting for response to: RETR /path/file.ext"
[2024-03-27 15:38:26.758 -06:00] Verbose> "Response: 226-File successfully transferred"
[2024-03-27 15:38:26.761 -06:00] Info> "Response: 226 0.475 seconds (measured here), 99.54 Kbytes per second [679ms]"
[2024-03-27 15:38:26.766 -06:00] Info> "Source server does not support any common hashing algorithm"
[2024-03-27 15:38:26.769 -06:00] Info> "Falling back to file size comparison"
[2024-03-27 15:38:26.775 -06:00] Verbose> "> GetFileSize(\"/path/file.ext\", -1)"
[2024-03-27 15:38:26.782 -06:00] Info> "Command: SIZE /path/file.ext"
[2024-03-27 15:38:26.786 -06:00] Verbose> "Status: Waiting for response to: SIZE /path/file.ext"
[2024-03-27 15:38:26.840 -06:00] Info> "Response: 213 48406 [54ms]"
[2024-03-27 15:38:26.843 -06:00] Info> "Status: File Verification: PASS"
From Docker on Azure (Azure Container App) - GnuTLS
[2024-03-27 21:44:06.547 +00:00] Verbose> "> AutoConnect()"
[2024-03-27 21:44:06.550 +00:00] Verbose> "> AutoDetect(CloneConnection = False, FirstOnly = True, IncludeImplicit = True, AbortOnTimeout = True, RequireEncryption = False, ProtocolPriority = [Tls11, Tls12])"
[2024-03-27 21:44:06.553 +00:00] Verbose> "Status: Auto-Detect trying encryption mode \"Auto\" with \"Tls11, Tls12\""
[2024-03-27 21:44:06.556 +00:00] Verbose> "> Connect(False)"
[2024-03-27 21:44:06.557 +00:00] Verbose> "Status: FluentFTP 49.0.2.0(.NET 5.0) AsyncFtpClient"
[2024-03-27 21:44:06.729 +00:00] Info> "Status: Connecting to IP #1= ***:21"
[2024-03-27 21:44:06.754 +00:00] Verbose> "Status: Waiting for a response"
[2024-03-27 21:44:06.776 +00:00] Verbose> "Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 2 of 250 allowed.
Response: 220-Local time is now 17:44. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server."
[2024-03-27 21:44:06.778 +00:00] Info> "Response: 220 You will be disconnected after 15 minutes of inactivity. [738971.906d]"
[2024-03-27 21:44:06.780 +00:00] Info> "Status: Detected FTP server: PureFTPd"
[2024-03-27 21:44:06.782 +00:00] Info> "Command: AUTH TLS"
[2024-03-27 21:44:06.783 +00:00] Verbose> "Status: Waiting for response to: AUTH TLS"
[2024-03-27 21:44:06.801 +00:00] Info> "Response: 234 AUTH TLS OK. [17ms]"
[2024-03-27 21:44:06.817 +00:00] Verbose> "Status: GnuTLS: 0 FluentFTP.GnuTLS 1.0.29.0(Unix/.NET 6.0) / GnuTLS 3.7.3"
[2024-03-27 21:44:06.853 +00:00] Info> "Status: FTPS authentication successful, lib = FluentFTP.GnuTLS.GnuTlsStream, cipher suite = (TLS1.3)-(ECDHE-SECP256R1)-(RSA-PSS-RSAE-SHA256)-(AES-256-GCM) [49ms]"
[2024-03-27 21:44:06.855 +00:00] Info> "Command: USER ***"
[2024-03-27 21:44:06.856 +00:00] Verbose> "Status: Waiting for response to: USER ***"
[2024-03-27 21:44:06.894 +00:00] Info> "Response: 331 User *** OK. Password required [37ms]"
[2024-03-27 21:44:06.894 +00:00] Info> "Command: PASS ***"
[2024-03-27 21:44:06.894 +00:00] Verbose> "Status: Waiting for response to: PASS ***"
[2024-03-27 21:44:07.061 +00:00] Verbose> "Response: 230-Your bandwidth usage is restricted"
[2024-03-27 21:44:07.061 +00:00] Info> "Response: 230 OK. Current directory is / [166ms]"
[2024-03-27 21:44:07.063 +00:00] Info> "Command: PBSZ 0"
[2024-03-27 21:44:07.063 +00:00] Verbose> "Status: Waiting for response to: PBSZ 0"
[2024-03-27 21:44:07.090 +00:00] Info> "Response: 200 PBSZ=0 [26ms]"
[2024-03-27 21:44:07.090 +00:00] Info> "Command: PROT P"
[2024-03-27 21:44:07.090 +00:00] Verbose> "Status: Waiting for response to: PROT P"
[2024-03-27 21:44:07.110 +00:00] Info> "Response: 200 Data protection level set to \"private\" [19ms]"
[2024-03-27 21:44:07.110 +00:00] Info> "Command: FEAT"
[2024-03-27 21:44:07.111 +00:00] Verbose> "Status: Waiting for response to: FEAT"
[2024-03-27 21:44:07.131 +00:00] Verbose> "Response: 211-Extensions supported:
Response: UTF8
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: PRET
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: TVFS
Response: ESTA
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTP"
[2024-03-27 21:44:07.131 +00:00] Info> "Response: 211 End. [20ms]"
[2024-03-27 21:44:07.134 +00:00] Info> "Status: Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed"
[2024-03-27 21:44:07.134 +00:00] Info> "Command: OPTS UTF8 ON"
[2024-03-27 21:44:07.134 +00:00] Verbose> "Status: Waiting for response to: OPTS UTF8 ON"
[2024-03-27 21:44:07.160 +00:00] Info> "Response: 504 Unknown command [26ms]"
[2024-03-27 21:44:07.160 +00:00] Info> "Command: SYST"
[2024-03-27 21:44:07.161 +00:00] Verbose> "Status: Waiting for response to: SYST"
[2024-03-27 21:44:07.180 +00:00] Info> "Response: 215 UNIX Type: L8 [19ms]"
[2024-03-27 21:44:07.181 +00:00] Verbose> "Status: Active ServerHandler is: PureFTPd"
[2024-03-27 21:44:07.182 +00:00] Verbose> "Status: Listing parser set to: Machine"
[2024-03-27 21:44:07.183 +00:00] Info> "Command: PWD"
[2024-03-27 21:44:07.183 +00:00] Verbose> "Status: Waiting for response to: PWD"
[2024-03-27 21:44:07.212 +00:00] Info> "Response: 257 \"/\" is your current location [28ms]"
[2024-03-27 21:44:07.220 +00:00] Verbose> "> DownloadFile(\"/tmp/55df8d25-2980-4415-9cd9-7b53058f6c30/file.ext\", \"/path/file.ext\", Resume, Retry, Delete, OnlyVerify)"
[2024-03-27 21:44:07.226 +00:00] Verbose> "> OpenRead(\"/path/file.ext\", Binary, 0, 0, False)"
[2024-03-27 21:44:07.227 +00:00] Verbose> "> GetFileSize(\"/path/file.ext\", -1)"
[2024-03-27 21:44:07.228 +00:00] Info> "Command: SIZE /path/file.ext"
[2024-03-27 21:44:07.228 +00:00] Verbose> "Status: Waiting for response to: SIZE /path/file.ext"
[2024-03-27 21:44:07.250 +00:00] Info> "Response: 213 48406 [22ms]"
[2024-03-27 21:44:07.252 +00:00] Info> "Command: TYPE I"
[2024-03-27 21:44:07.252 +00:00] Verbose> "Status: Waiting for response to: TYPE I"
[2024-03-27 21:44:07.280 +00:00] Info> "Response: 200 TYPE is now 8-bit binary [28ms]"
[2024-03-27 21:44:07.281 +00:00] Verbose> "> OpenDataStreamAsync(\"RETR /path/file.ext\", 0)"
[2024-03-27 21:44:07.283 +00:00] Verbose> "> OpenPassiveDataStreamAsync(PASV, \"RETR /path/file.ext\", 0)"
[2024-03-27 21:44:07.283 +00:00] Info> "Command: PRET RETR /path/file.ext"
[2024-03-27 21:44:07.284 +00:00] Verbose> "Status: Waiting for response to: PRET RETR /path/file.ext"
[2024-03-27 21:44:07.310 +00:00] Info> "Response: 200 Ready to proceed [26ms]"
[2024-03-27 21:44:07.310 +00:00] Info> "Command: PASV"
[2024-03-27 21:44:07.310 +00:00] Verbose> "Status: Waiting for response to: PASV"
[2024-03-27 21:44:07.330 +00:00] Info> "Response: 227 Entering Passive Mode (64,136,173,119,78,166) [19ms]"
[2024-03-27 21:44:07.332 +00:00] Info> "Status: Connecting to IP #1= ***:20134"
[2024-03-27 21:44:07.356 +00:00] Info> "Command: RETR /path/file.ext"
[2024-03-27 21:44:07.356 +00:00] Verbose> "Status: Waiting for response to: RETR /path/file.ext"
[...minutes of no logs]
From Docker on Azure (Azure Container App) - No GnuTLS
[2024-03-27 21:53:33.860 +00:00] Verbose> "> AutoConnect()"
[2024-03-27 21:53:33.864 +00:00] Verbose> "> AutoDetect(CloneConnection = False, FirstOnly = True, IncludeImplicit = True, AbortOnTimeout = True, RequireEncryption = False, ProtocolPriority = [Tls11, Tls12])"
[2024-03-27 21:53:33.867 +00:00] Verbose> "Status: Auto-Detect trying encryption mode \"Auto\" with \"Tls11, Tls12\""
[2024-03-27 21:53:33.870 +00:00] Verbose> "> Connect(False)"
[2024-03-27 21:53:33.871 +00:00] Verbose> "Status: FluentFTP 49.0.2.0(.NET 5.0) AsyncFtpClient"
[2024-03-27 21:53:34.022 +00:00] Info> "Status: Connecting to IP #1= ***:21"
[2024-03-27 21:53:34.046 +00:00] Verbose> "Status: Waiting for a response"
[2024-03-27 21:53:34.067 +00:00] Verbose> "Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 250 allowed.
Response: 220-Local time is now 17:53. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server."
[2024-03-27 21:53:34.069 +00:00] Info> "Response: 220 You will be disconnected after 15 minutes of inactivity. [738971.912d]"
[2024-03-27 21:53:34.072 +00:00] Info> "Status: Detected FTP server: PureFTPd"
[2024-03-27 21:53:34.073 +00:00] Info> "Command: AUTH TLS"
[2024-03-27 21:53:34.074 +00:00] Verbose> "Status: Waiting for response to: AUTH TLS"
[2024-03-27 21:53:34.092 +00:00] Info> "Response: 234 AUTH TLS OK. [17ms]"
[2024-03-27 21:53:34.096 +00:00] Warn> "Warning: SSL Buffering disabled because of .NET 5.0 and later, NOOPs requested"
[2024-03-27 21:53:34.143 +00:00] Info> "Status: FTPS authentication successful, lib = .NET SslStream, cipher suite = Tls12 (Aes256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, DiffieHellman, 0) [47ms]"
[2024-03-27 21:53:34.144 +00:00] Info> "Command: USER ***"
[2024-03-27 21:53:34.145 +00:00] Verbose> "Status: Waiting for response to: USER ***"
[2024-03-27 21:53:34.171 +00:00] Info> "Response: 331 User *** OK. Password required [26ms]"
[2024-03-27 21:53:34.171 +00:00] Info> "Command: PASS ***"
[2024-03-27 21:53:34.171 +00:00] Verbose> "Status: Waiting for response to: PASS ***"
[2024-03-27 21:53:34.301 +00:00] Verbose> "Response: 230-Your bandwidth usage is restricted"
[2024-03-27 21:53:34.301 +00:00] Info> "Response: 230 OK. Current directory is / [129ms]"
[2024-03-27 21:53:34.303 +00:00] Info> "Command: PBSZ 0"
[2024-03-27 21:53:34.303 +00:00] Verbose> "Status: Waiting for response to: PBSZ 0"
[2024-03-27 21:53:34.331 +00:00] Info> "Response: 200 PBSZ=0 [27ms]"
[2024-03-27 21:53:34.331 +00:00] Info> "Command: PROT P"
[2024-03-27 21:53:34.331 +00:00] Verbose> "Status: Waiting for response to: PROT P"
[2024-03-27 21:53:34.351 +00:00] Info> "Response: 200 Data protection level set to \"private\" [19ms]"
[2024-03-27 21:53:34.351 +00:00] Info> "Command: FEAT"
[2024-03-27 21:53:34.352 +00:00] Verbose> "Status: Waiting for response to: FEAT"
[2024-03-27 21:53:34.372 +00:00] Verbose> "Response: 211-Extensions supported:
Response: UTF8
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: PRET
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: TVFS
Response: ESTA
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTP"
[2024-03-27 21:53:34.372 +00:00] Info> "Response: 211 End. [20ms]"
[2024-03-27 21:53:34.374 +00:00] Info> "Status: Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed"
[2024-03-27 21:53:34.374 +00:00] Info> "Command: OPTS UTF8 ON"
[2024-03-27 21:53:34.374 +00:00] Verbose> "Status: Waiting for response to: OPTS UTF8 ON"
[2024-03-27 21:53:34.401 +00:00] Info> "Response: 504 Unknown command [26ms]"
[2024-03-27 21:53:34.401 +00:00] Info> "Command: SYST"
[2024-03-27 21:53:34.401 +00:00] Verbose> "Status: Waiting for response to: SYST"
[2024-03-27 21:53:34.421 +00:00] Info> "Response: 215 UNIX Type: L8 [19ms]"
[2024-03-27 21:53:34.422 +00:00] Verbose> "Status: Active ServerHandler is: PureFTPd"
[2024-03-27 21:53:34.423 +00:00] Verbose> "Status: Listing parser set to: Machine"
[2024-03-27 21:53:34.424 +00:00] Info> "Command: PWD"
[2024-03-27 21:53:34.424 +00:00] Verbose> "Status: Waiting for response to: PWD"
[2024-03-27 21:53:34.451 +00:00] Info> "Response: 257 \"/\" is your current location [26ms]"
[2024-03-27 21:53:34.460 +00:00] Verbose> "> DownloadFile(\"/tmp/2665369c-5faf-408a-a760-2593147d8a42/file.ext\", \"/path/file.ext\", Resume, Retry, Delete, OnlyVerify)"
[2024-03-27 21:53:34.466 +00:00] Verbose> "> OpenRead(\"/path/file.ext\", Binary, 0, 0, False)"
[2024-03-27 21:53:34.467 +00:00] Verbose> "> GetFileSize(\"/path/file.ext\", -1)"
[2024-03-27 21:53:34.468 +00:00] Info> "Command: SIZE /path/file.ext"
[2024-03-27 21:53:34.468 +00:00] Verbose> "Status: Waiting for response to: SIZE /path/file.ext"
[2024-03-27 21:53:34.491 +00:00] Info> "Response: 213 48406 [22ms]"
[2024-03-27 21:53:34.493 +00:00] Info> "Command: TYPE I"
[2024-03-27 21:53:34.493 +00:00] Verbose> "Status: Waiting for response to: TYPE I"
[2024-03-27 21:53:34.521 +00:00] Info> "Response: 200 TYPE is now 8-bit binary [27ms]"
[2024-03-27 21:53:34.522 +00:00] Verbose> "> OpenDataStreamAsync(\"RETR /path/file.ext\", 0)"
[2024-03-27 21:53:34.524 +00:00] Verbose> "> OpenPassiveDataStreamAsync(PASV, \"RETR /path/file.ext\", 0)"
[2024-03-27 21:53:34.525 +00:00] Info> "Command: PRET RETR /path/file.ext"
[2024-03-27 21:53:34.525 +00:00] Verbose> "Status: Waiting for response to: PRET RETR /path/file.ext"
[2024-03-27 21:53:34.551 +00:00] Info> "Response: 200 Ready to proceed [26ms]"
[2024-03-27 21:53:34.551 +00:00] Info> "Command: PASV"
[2024-03-27 21:53:34.551 +00:00] Verbose> "Status: Waiting for response to: PASV"
[2024-03-27 21:53:34.571 +00:00] Info> "Response: 227 Entering Passive Mode (64,136,173,119,79,1) [19ms]"
[2024-03-27 21:53:34.572 +00:00] Info> "Status: Connecting to IP #1= ***:20225"
[2024-03-27 21:53:34.592 +00:00] Info> "Command: RETR /path/file.ext"
[2024-03-27 21:53:34.592 +00:00] Verbose> "Status: Waiting for response to: RETR /path/file.ext"
[...minutes of no logs]
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 16 (7 by maintainers)
There is 1 minute between
Waiting for response to: MSLD /andDipose- which I assume is the 1 minute timeout that I have set. I previously had the timeout to 10 minutes to see if it would eventually connect, and during that time there were 10 minutes betweenWaiting for responseandDisposeBoth times the function never returned.
Correct- after that last line there is nothing else logged