-
Website
http://blog.astrails.com/ -
Original page
http://blog.astrails.com/2009/10/21/astrails-safe-0-2-5 -
Subscribe
All Comments -
Community
-
Top Commenters
-
Craigslist Proxy
1 comment · -1 points
-
westonm
1 comment · 1 points
-
hoornet
1 comment · 1 points
-
borisnadion
2 comments · 1 points
-
astrails
5 comments · 1 points
-
-
Popular Threads
Why not add port option to sftp? :)
module Astrails
module Safe
class Sftp < Sink
.....
def save
.....
unless $DRY_RUN || $LOCAL
opts = {}
opts[:password] = password if password
opts[:port] = port if port
....
end
....
end
....
def port
@config[:sftp, :port]
end
end
end
end
A patch will be welcome :)
Otherwise I'll do it once either:
* I have some spare time
* I need it myself
* someone else does it :)
Merged. its in the latest version on github.
Please test and tell me if it works :) (I don't use SFTP, only local and s3)