I appreciate the quick response!

On Wed, Jun 3, 2009 at 10:46 AM, Jamis Buck <[email protected]> wrote:
>
> FTP was not included for a variety of reasons. Capistrano is built on
> top of SSH, and everything it uses to communicate with the servers
> runs over that transport (e.g., SSH itself, SFTP, and SCP). To add FTP
> would require a significant change to how parallel commands are
> processed. (It would actually be fairly hard to make FTP run in
> parallel with other FTP commands, since it is a synchronous protocol).

I'm only interested in using ftp to upload. It seems like it could be
added to that single command without requiring any changes to running
commands. I haven't delved too deeply yet so let me know if this is
crazy talk.

> Also, FTP is extremely insecure (you realize it sends the password in
> clear text, generally, right?). I'd strongly recommend you avoid FTP.

Point taken. If I can use sftp I will but I'm trying to move files
(via a utility account - not mine) to repository server within the
company firewall. Of course this is a server I don't control.

>
> - Jamis
>
> On Wed, Jun 3, 2009 at 8:43 AM, Byron Saltysiak <[email protected]> wrote:
>>
>> I'm surprised that there would be no ftp transport supported so I'm
>> writing because perhaps I'm overlooking the obvious. However looking
>> in transfer.rb I see:
>> ------
>>          session_map[session] = case transport
>>            when :sftp
>>              prepare_sftp_transfer(session_from, session_to, session)
>>            when :scp
>>              prepare_scp_transfer(session_from, session_to, session)
>>            else
>>              raise ArgumentError, "unsupported transport type:
>> #{transport.inspect}"
>>            end
>>        end
>> ------
>>
>> Is there a normal solution to using ftp if desired? Is this something
>> I should try to add myself?
>>
>> --
>> Byron
>>
>> >
>>
>
> >
>



-- 
Byron

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to