Hey,

I just discovered small bug inside capistrano (2.0.0). I'm using copy zip
file strategy for my uploads and I just found out that capistrano isn't able
to transfer bigger binary files to my Linux box. It's basicly because copy
strategy and "deploy:upload FILES=" has been openning files with text mode.
I've added "rb" mode to these particular places. Patch attached with this
email, but doesn't include tests because I don't know how to test this kind
of functionality. Sorry. :(

Hope this small fix will help someone or at least Jamis B. will include this
in new release of capistrano to prevent good upload binary files behavior on
windows boxes.

Cheers, Ladislav Martincik

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

Attachment: windows_binary_mode_bug.patch
Description: Binary data

Reply via email to