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
Comments
It may be a network problem with MTU, for example. tcpdump can be helpful
here.
On Thu, 2 Feb 2023 at 04:39, wq9578 ***@***.***> wrote:
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.
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.
—
Reply to this email directly, view it on GitHub
<#691>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHLWXCLXL33RXB232GDWN3WVMF5VANCNFSM6AAAAAAUONTVTQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Alexander.
|
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
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:
Then the upload is stalling, nothing happens anymore.
The text was updated successfully, but these errors were encountered: