Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lftp hangs on file upload (except very small files) #691

Open
wq9578 opened this issue Feb 2, 2023 · 2 comments
Open

lftp hangs on file upload (except very small files) #691

wq9578 opened this issue Feb 2, 2023 · 2 comments

Comments

@wq9578
Copy link

wq9578 commented Feb 2, 2023

lftp always worked fine for me, but for some time now upload fails except for very small files.
Download still works well, including mirroring large directories.
I'm using a current macOS system with lftp installed via homebrew.

Update
It worked with cyberduck
Protocol is FTPes (explicit FTP over TLS)

Here is the log, with a small file working (README, 308 bytes), and a larger file (COPYING, 18092 bytes) failing:

➜  dokuwiki lftp -e "debug; cd doc; put README; bye" server
Verzeichniswechsel OK, cwd=/                                 
---- CWD path to be sent is `/doc'
---> CWD /doc
<--- 250 OK. Current directory is /doc
Verzeichniswechsel OK, cwd=/doc
---> TYPE I
<--- 200 TYPE is now 8-bit binary             
---> PRET STOR README
<--- 200 Ready to proceed                     
---> PASV
<--- 227 Entering Passive Mode (xxx,xxx,xxx,xxx,157,109)
---- Verbinde Daten Socket mit (xxx.xxx.xxx.xxx) Port 40301
---- Datenverbindung hergestellt                       
---> STOR README
<--- 150 Accepted data connection             
Certificate verification: subjectAltName: »ftp.some-server.com« matched
---- Schließe den Daten Socket
<--- 226-17490 Kbytes used (0%) - authorized: 10485760 Kb
<--- 226-File successfully transferred
<--- 226 0.021 seconds (measured here), 14.26 Kbytes per second
---> MFMT 20220903171522 README
<--- 213 UTIME OK                                        
308 Bytes übertragen
---> QUIT
<--- 221-Goodbye. You uploaded 1 and downloaded 0 kbytes.
<--- 221 Logout.
---- Schließe den Kontroll - Socket
➜  dokuwiki lftp -e "debug; cd doc; put COPYING; bye" poly
Verzeichniswechsel OK, cwd=/                                 
---- CWD path to be sent is `/doc'
---> CWD /doc
<--- 250 OK. Current directory is /doc
Verzeichniswechsel OK, cwd=/doc
---> TYPE I
<--- 200 TYPE is now 8-bit binary              
---> PRET STOR COPYING
<--- 200 Ready to proceed                      
---> PASV
<--- 227 Entering Passive Mode (xxx,xxx,xxx,xxx,157,157)
---- Verbinde Daten Socket mit (xxx.xxx.xxx.xxx) Port 40349
---- Datenverbindung hergestellt                        
---> STOR COPYING
<--- 150 Accepted data connection              
Certificate verification: subjectAltName: »ftp.some-server.com« matched
---- Schließe den Daten Socket
»COPYING« bei 18092 (100%) [Warte auf Übertragungsende]                       

Then the upload is stalling, nothing happens anymore.

@lavv17
Copy link
Owner

lavv17 commented Feb 2, 2023 via email

@FryDay
Copy link

FryDay commented Mar 6, 2024

I'm having this same issue on MacOS. Anything over about 10K fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants