question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting timeout at end of downloading big file

See original GitHub issue

FTP Server Type: Apache FtpServer

Client Computer OS: Ubuntu

FluentFTP Version: 42.*

Framework: .NET 6 Hello, me again.

I got another ftp problem, once the big file (800MB) downloaded, the program stopped responding (got hang for days), because it is waiting for the response of DOWNLOAD command.

Logs :


Response: 230 User logged in, proceed.
Command: FEAT
Status: Waiting for response to: FEAT
Response: 211-Extensions supported
Response: SIZE
Response: MDTM
Response: REST STREAM
Response: LANG en;zh-tw;ja;is
Response: MLST Size;Modify;Type;Perm
Response: AUTH SSL
Response: AUTH TLS
Response: MODE Z
Response: UTF8
Response: TVFS
Response: MD5
Response: MMD5
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: 200 Command OPTS okay.
Command: SYST
Status: Waiting for response to: SYST
Response: 215 UNIX Type: Apache FtpServer
Status: Listing parser set to: Machine
Command: PWD
Status: Waiting for response to: PWD
Response: 257 "/" is current directory.
> GetFileSize("***/****.txt.gz", -1)
Command: SIZE ***/****.txt.gz
Status: Waiting for response to: SIZE ***/****.txt.gz
Response: 502
> GetModifiedTime("***/****.txt.gz")
Command: MDTM ***/****.txt.gz
Status: Waiting for response to: MDTM ***/****.txt.gz
Response: 213 20221124162249.000
File size: -1.0 bytes, last modified: 11/24/2022 4:22:49 PM
> DownloadFile("/tmp/20221124201940657_****.txt.gz", "***/****.txt.gz", Resume, Retry)
> GetFileSize("***/****.txt.gz", -1)
Command: SIZE ***/****.txt.gz
Status: Waiting for response to: SIZE ***/****.txt.gz
Response: 502
> OpenRead("***/****.txt.gz", Binary, 0, -1)
Command: TYPE I
Status: Waiting for response to: TYPE I
Response: 200 Command TYPE okay.
> OpenPassiveDataStreamAsync(PASV, "RETR ***/****.txt.gz", 0)
Command: PASV
Status: Waiting for response to: PASV
Response: 227 Entering Passive Mode (35,207,2,62,205,53)
Status: Connecting to IP #1= 35.207.2.62:52533
Command: RETR ***/****.txt.gz
Status: Waiting for response to: RETR ***/****.txt.gz
Response: 150 File status okay; about to open data connection.
Status: Downloaded 831871613 bytes
Status: Disposing FtpSocketStream(data connection)
793.3 MB transferred
Status: Waiting for response to: *DOWNLOAD*

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:17

github_iconTop GitHub Comments

1reaction
Waynezhicommented, Nov 25, 2022

using NOOP seems a workaround, I will make more tests later for sure. thanks a lot!

0reactions
FanDjangocommented, Dec 1, 2022

Released as V42.1.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Timeout while downloading large files - Progress Community
Request Timeout exception while downloading large files. ... Timeout error is shown when downloading large media files. Steps to Reproduce.
Read more >
Property handling timeout when downloading big files
I'm using HttpClient to download big files. To deal with slow connections, I have increased the Timeout property to 1 hour.
Read more >
How to Fix an Internet Download that "Timed Out"
1. Click the “Resume” button on the download if your Web browser supports paused downloads. · 2. Delete the partial file that downloaded...
Read more >
Apache timeout - large file downloads
The error message from your stack trace is indicative of a client abort of the download. The client need not be the actual...
Read more >
Large Downloads Timeout after 300-400 MB - Networking
We have been trying to download Microsoft Windows ISOs and other large software for our workstations and after about 300-400 MB downloaded ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found