Hello !

My WebHoster doesn't provide SSH or rsync so I decided to use find and curl to 
upload my files on a FTPES (FTP over SSL / FTP over TLS) server.

The curl part worked fine using 

curl -T ./filename -v -k -u user@name:password ftp://server/directory/ --ftp-ssl

But when I try to upload a whole directory (including subdirectories) using

find . -exec curl --ftp-create-dirs -T {} -v -k -u user@name:password 
ftp://server/directory --ftp-ssl \;

I have the problem, that curl or find treats everything as a file instead of 
directories if there are some (means I like to get the same structure on my FTP 
account as I have on my local machine).

How could I fix this ? Thanks for your answer.

Regards,


C. M.


Reply via email to