Automatically upload to FTPS

How to upload a file on an OpenWRT router to a place using FTPES?

I searched googled because it is small enough to install:

Update

opkg opkg install curl

and can handle FTPES connections: http://curl.haxx.se/docs/comparison-table.html

Ok But here's the problem: I just can't figure out how I can upload a file.

Can someone point me to a job, a good guide?

+4
source share
2 answers

I sniffed using wirehark:

curl --ftp-ssl -T "FILE.TXT" -k -u " MYUSER@MYDOMAIN.COM : MYPASSWORD" "ftp://MYDOMAIN.COM"

and this one uses ftps !: P works fine! allowed :)

Thank you!

+9
source

2 seconds googling ( ftpes curl upload ) raised this:

 http://www.lewisroberts.com/2010/08/06/scripting-ftpes-explicit-tlsssl-with-curl/ 
-3
source

Source: https://habr.com/ru/post/1334838/


All Articles