ftp upload progress send with websocketd
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?
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.