Secure FTP allows you to transfer data securely between servers. You can use the Ruby SFTP library to route SFTP transfers via QuotaGuard allowing you to lock down access to our Static IP addresses:

  

require 'net/ssh'
require 'uri'
require 'net/sftp'
require 'net/ssh/proxy/http'
statica = URI(ENV["STATICA_URL"])

proxy = Net::SSH::Proxy::HTTP.new(statica.host,statica.port, :user => statica.user,:password=>statica.password)

Net::SSH.start('1.1.1.1','sftpuser',
{:port => 22,
:proxy => proxy,
:password => 'sftppw'}) do |ssh|

ssh.sftp.connect do |sftp|
sftp.dir.foreach("/") do |entry|
puts entry.longname
end
end
end 

  

We have examples for other common libraries as well, but if you can't find what you are looking for just send us a support ticket and we'll get one sent to you.