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

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

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