I solved the problem. I wasn't opening the file in binary mode. Your questions led me in the right direction. Thanks.
jeremy On Nov 1, 9:57 am, Jamis Buck <[EMAIL PROTECTED]> wrote: > How does the file size compare between the original gem and the gem > after copying? Do you have any way to tell what the difference > between the two files is? Could it be newline characters getting > converted? > > - Jamis > > On Nov 1, 2006, at 8:48 AM, jrun wrote: > > > > > I have net-sftp installed as well. > > > The versions are: > > net-ssh 1.0.10 (I was using 1.0.9) > > net-sftp 1.1.0 > > > I should also note this is Windows -> Linux but not sure that matters. > > > Any other ideas? > > > Thanks again. > > jeremy > > > On Oct 31, 5:02 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > >> Jeremy, > > >> You have the net-ssh gem installed, but do you have the net-sftp gem > >> installed? If not, it'll be using a non-binary-safe copy. > > >> - Jamis > > >> On Oct 31, 2006, at 4:01 PM, jrun wrote: > > >>> I am trying to use the put helper method to move a gem file to the > >>> server. In the manual it says that to do so reliably Net::SFTP > >>> should > >>> be available. > > >>> The net-ssh gem is installed. > > >>> It seems the gem is getting corrupted because i am not able to > >>> install > >>> it on the server (failing with "No metadata found!"). > > >>> Is there anything other than having net-ssh installed to use "put" > >>> with > >>> a binary file? > > >>> Oh yeah, this is with Capistrano 1.1.0. > > >>> Thanks. > >>> jeremy > > >> smime.p7s > >> 3KDownload > > > > > smime.p7s > 3KDownload --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
