FTPS upload a file from Ruby using Curl command line
1 2 `curl -k --ftp-ssl -3 -T#{path} -u#{FTP_USER}:#{FTP_PASS} #{FTP_HOST}`
-k forces the connection even if the cert looks bad
-3 turns on SSLv3
-T file to upload
-u user:password
DZone Snippets > timmorgan > ftps
12723 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Tim Morgan http://timmorgan.org
1 2 `curl -k --ftp-ssl -3 -T#{path} -u#{FTP_USER}:#{FTP_PASS} #{FTP_HOST}`