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 =,statica.port, :user => statica.user,:password=>statica.password)

{:port => 22,
:proxy => proxy,
:password => 'sftppw'}) do |ssh|

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


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.