Fair enough, but fwiw, the speed isn't all about compression. You gain
simply by tarring the files into a single big file, even without
compression, because the process doesn't have to spider directories
and manage channels for each file being uploaded.
- Jamis
On Oct 22, 2008, at 3:05 PM, DyingToLearn wrote:
>
> Thanks for the replies. Speed isn't really a concern at this point, so
> I don't think I'll worry about tarring yet. Plus, most of the files
> being transfered are images than won't get much out of the compression
> anyways.
>
> Thank you!
>
> Jamis Buck wrote:
>> You can use the upload() helper:
>>
>> upload("../my_dir", "#{shared_path}/my_dir", :via
>> => :scp, :recursive => true)
>>
>> That ought to work. Note, though, that it will be _much_ faster to
>> upload a directory tree by tarring it and transferring the tarball.
>>
>> - Jamis
>>
>> On Oct 21, 2008, at 10:26 PM, DyingToLearn wrote:
>>
>
> >
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---