aria2 / aria2

aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.
https://aria2.github.io/
GNU General Public License v2.0
35.29k stars 3.57k forks source link

file upload via http POST #469

Open zabbal opened 8 years ago

zabbal commented 8 years ago

On the one hand man page for aria2c mentioned http POST support but there are no examples. Search revealed nothing as well.

Would be great to have ability to upload file to a given url over http using POST like this: aria2c --http-post-file=/tmp/lol http://my.web/post.cgi?xx=ley1

If this functionality is already there than it's worth documenting.

tatsuhiro-t commented 8 years ago

aria2 does not support HTTP POST for downloading purpose. It is the RPC feature that aria2 accepts POST request from client.

nE0sIghT commented 7 years ago

Also http://opensource.lge.com/ website requires all download HTTP requests to be POST requests. This is weird, but GET requests are not accepted.

douniwan5788 commented 3 years ago

+1 Openwrt backup is also POST request

Zibri commented 3 years ago

I agree.. POST should be supported.