Automaticly upload to FTPS

LanceBaynes picture LanceBaynes · Jan 9, 2011 · Viewed 8.4k times · Source

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?

Answer

LanceBaynes picture LanceBaynes · Jan 11, 2011

i sniffed it with wireshark:

curl --ftp-ssl -T "FILE.TXT" -k -u "[email protected]:MYPASSWORD" "ftp://MYDOMAIN.COM"

and this one uses ftps! :P it works perfectly! solved :)

thank you!