Open Newexplorer opened 2 years ago
Please enable debug and see which command confuses the server. Maybe “set use-allo no” will help.
On Thu, 11 Nov 2021 at 14:28, Newexplorer @.***> wrote:
Once connect to the server (in this case an Android phone), I am able to use to get command to get files from my Android phone. But when using the put command, I get this error:
put: Access failed: 550 Unsupported command (file)
I don't know what is going wrong. What I do know is, that when I use the program ncftp, this same command does what it is supposed to do. So there is probably a bug.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lavv17/lftp/issues/653, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHLWXEVJ3ZMYQO6FSEREB3ULOSGXANCNFSM5H2HLMIA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Alexander.
lftp [username}@192.168.2.2:/device/Download > put 100jaarbesteboeken.pdf
---> TYPE I
<--- 200 Binary type set
---> PASV
<--- 227 Entering Passive Mode (192,168,2,2,142,29).
---- Connecting data socket to (192.168.2.2) port 36381
---- Data connection established
---> ALLO 2206253
<--- 550 Unsupported command
put: Access failed: 550 Unsupported command (100jaarbesteboeken.pdf)
---> STOR 100jaarbesteboeken.pdf
---> ABOR
<--- 150 Opening BINARY mode data connection for writing
---- Closing aborted data socket
<--- 226 Data transmission for writing succeeded
<--- 550 Unsupported command
Result: there has been an upload but the file has no content: 0 kb.
The command: "set use-allo no" works, but it needs to be given every time. Put the command in a config file. Problem solved.
Once connect to the server (in this case an Android phone), I am able to use to get command to get files from my Android phone. But when using the put command, I get this error:
put: Access failed: 550 Unsupported command (file)
I don't know what is going wrong. What I do know is, that when I use the program ncftp, this same command does what it is supposed to do. So there is probably a bug in lftp.