I have try the latest cap preview release, don't work neither.

maybe it is my fault, I use the code like this.

put(File.read("#{tar_file}"), "#{tar_file}")

Is there other way to upload file to remote server?


On 9月6日, 下午11时30分, optman <[EMAIL PROTECTED]> wrote:
> yes, I am on windows. I will give cap 2.1 preview  a try tomorrow.
>
> thanks!
>
> On 9月6日, 下午9时42分, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
>
> > On 9/6/07, optman <[EMAIL PROTECTED]> wrote:
>
> > > when use the put() file from local machine to remote machine, the
> > > result file bytes is less. Is that something related to binary mode?
>
> > If you're on Windows, then yeah, that's the problem. I've fixed this
> > bug in the latest preview release, and I hope to release cap 2.1 final
> > "soon".
>
> > > btw, where is define of File.read()? I search all the doc and code,
> > > and can't found the definition.
>
> > It's a standard Ruby method, defined in the Ruby sources themselves.
>
> > - Jamis


--~--~---------~--~----~------------~-------~--~----~
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