websocketd icon indicating copy to clipboard operation
websocketd copied to clipboard

ftp upload progress send with websocketd

Open LaySoft opened this issue 4 years ago • 1 comments

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

wget -O /dev/null ftp://user:[email protected]//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:[email protected]//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 avatar Nov 15 '21 10:11 LaySoft

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.

asergeyev avatar Dec 04 '21 03:12 asergeyev