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

ftp upload progress send with websocketd #415

Open
LaySoft opened this issue Nov 15, 2021 · 1 comment
Open

ftp upload progress send with websocketd #415

LaySoft opened this issue Nov 15, 2021 · 1 comment

Comments

@LaySoft
Copy link

LaySoft commented Nov 15, 2021

I try websocketd to send ftp download progress, with this command:

wget -O /dev/null ftp://user:pass@192.168.2.1//mnt/backup.sql.gz 2>&1

It works well, continuously sends the download progress to the client.

I'd like to similar to send ftp upload progress:

curl -T /tmp/file ftp://user:pass@192.168.2.1//mnt/cucc 2>&1

but only send the whole output after the upload finished, not continuously.

I tried other ftp clients, like lftp, ncftp, but every does that.

What could be the problem?

@LaySoft LaySoft changed the title ftp upload progress send with websockets ftp upload progress send with websocketd Nov 15, 2021
@asergeyev
Copy link
Collaborator

I don't think there is way to make curl print progress as text... it's either silent or progress rendering with ncurses from what I see... You better ask in curl support groups they could have better experts.

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

2 participants