Automaticly upload to FTPS
How can I upload a file on an OpenWRT router to a place using FTPES?
I googled curl, because it's small enough to install:
opkg update opkg install curl
开发者_开发百科and can handle FTPES connections: http://curl.haxx.se/docs/comparison-table.html
Ok. But heres the problem: i just can't guess out, how could i upload a file.
Can someone point me to a working, good howto?
i sniffed it with wireshark:
curl --ftp-ssl -T "FILE.TXT" -k -u "MYUSER@MYDOMAIN.COM:MYPASSWORD" "ftp://MYDOMAIN.COM"
and this one uses ftps! :P it works perfectly! solved :)
thank you!
2 seconds of googling (ftpes curl upload
) brought up this:
http://www.lewisroberts.com/2010/08/06/scripting-ftpes-explicit-tlsssl-with-curl/
精彩评论