<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: ftps code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 24 Jul 2008 21:09:45 GMT</pubDate>
    <description>DZone Snippets: ftps code</description>
    <item>
      <title>FTPS upload a file from Ruby using Curl command line</title>
      <link>http://snippets.dzone.com/posts/show/4801</link>
      <description>Yes, this is lame, but I didn't have much luck with Ruby libraries, so this is what I came up with.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;`curl -k --ftp-ssl -3 -T#{path} -u#{FTP_USER}:#{FTP_PASS} #{FTP_HOST}`&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;-k forces the connection even if the cert looks bad&lt;br /&gt;-3 turns on SSLv3&lt;br /&gt;-T file to upload&lt;br /&gt;-u user:password</description>
      <pubDate>Tue, 20 Nov 2007 15:46:06 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4801</guid>
      <author>timmorgan (Tim Morgan)</author>
    </item>
  </channel>
</rss>
