isontheline / pro.webssh.net

iOS / iPadOS / macOS SSH Client
https://apps.apple.com/us/app/id497714887
MIT License
316 stars 46 forks source link

Request for support of zmodem(lrzsz) #761

Open XZB-1248 opened 2 years ago

XZB-1248 commented 2 years ago

Feature description

When server have already installed “lrzsz”, enter command “rz”, client should show file selector and upload these files. Likewise, when enter “sz HelloWorld.txt”, server will send ”HelloWorld.txt” to client, and client should show file selector to select a folder to save the file.

Screenshots / Draws

Screenshot

This feature is very helpful. I'm appreciate if this could be implemented. Thanks!

isontheline commented 2 years ago

Hello @XZB-1248 👋

Thank you a lot for your issue 🙏

I will check if this enhancement can be done inside WebSSH soon.

I have one question : what's the gain about zmodem against SFTP?

XZB-1248 commented 2 years ago

I have one question : what's the gain about zmodem against SFTP?

For example, when I’m in a deep folder and want to upload, it doesn’t cost any time but simply enter “rz”. But for SFTP, you need to wait until connection is established. And you need to open the folder one by one until reach the destination. It might be the best option when people just need simply upload a file.

lrzsz is not mean to replace SFTP, but to enhance SSH.

isontheline commented 2 years ago

@XZB-1248 OK I'm convinced 😇

Previously I was searching for a solution to open a SFTP window at the right directory location but it's hard to implement.

I will try zmodem "protocol" instead.

XZB-1248 commented 2 years ago

@isontheline Thanks, hope all works going well. 😎

isontheline commented 1 year ago

For @isontheline work :