Skip to content

Commit

Permalink
Updated SFTPTask with bug fix for Windows 7 thanks to a patch from St…
Browse files Browse the repository at this point in the history
…ephan Simroth
  • Loading branch information
lukebayes committed May 10, 2010
1 parent c96d586 commit 4b36b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sprout/lib/sprout/tasks/sftp_task.rb
Expand Up @@ -125,7 +125,7 @@ def execute(*args) # :nodoc:
if(get_confirmation)
puts ">> Connecting to Remote Server: #{@username}@#{@host}:#{@remote_path}"

Net::SFTP.start(@host, @username, @password) do |sftp|
Net::SFTP.start(@host, @username, :password => @password, :keys => []) do |sftp|
begin
dir = sftp.opendir(@remote_path)
rescue Net::SFTP::Operations::StatusException
Expand Down

0 comments on commit 4b36b03

Please sign in to comment.