Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automaticly upload to FTPS

Tags:

curl

openwrt

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?

like image 499
LanceBaynes Avatar asked Jan 09 '11 20:01

LanceBaynes


1 Answers

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!

like image 72
LanceBaynes Avatar answered Sep 30 '22 17:09

LanceBaynes