Just tried to use sftp upload in windows xp.
...
desc "doing upload"
task :test101, :roles => :wrapper do
  upload "#{local_path}/remote/1.txt", "#{remote_path}/remote/
1.txt",:via=>:sftp
end
...

run: cap test101

I can see 1.txt successfully [net::sftp upload] transfer to the
remote, but the file size is reduced (from 105,562 bytes to 105,394
bytes) and the file is truncated.  There is the same problem using
[net::sftp download]

Any idea?  Is it the bug?

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to