Is there a normal solution to using ftp if desired? Is this something
I should try to add myself?
--
Byron
The single-server scenario (which is just a special case of what
Capistrano handles) could do FTP easily enough: you could even do it
yourself within a task, manually, with Ruby's Net::FTP library.
However, the general case (FTP'ing something to multiple servers at
the same time) is going to be non-trivial, I suspect, and almost
certainly won't just "drop in". I'd be happy to be wrong, though.
> 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.
If you can SSH, you should be able to SCP or SFTP, too? Unless the
admins have disabled both of those, which is possible, but it might be
worth communicating with them about it, since either of those are
infinitely to be preferred over FTP.
- Jamis
Thanks I just put together a shell script to do the ftp through a
"run" but this seems better. It seems like a generic solution won't be
easy but I can respond with my final solution if anyone else has a
similar single-server upload via ftp problem.
>
>> 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.
>
> If you can SSH, you should be able to SCP or SFTP, too? Unless the
> admins have disabled both of those, which is possible, but it might be
> worth communicating with them about it, since either of those are
> infinitely to be preferred over FTP.
Unfortunately, I'd already tried ssh and it's not allowing it. I've
requested the ability to scp or sftp but we'll see. I have a feeling
this box was setup as ftp only for some purpose (perhaps 3rd party
integration or something?) and also purposely has limited other
functionality. Hopefully I'm wrong.
>
> - Jamis
>
Thanks again!
--
Byron
Oh, wow, you can't even SSH? Then yeah, your script is going to be the
way to go. Capistrano won't work for that scenario, at all. Capistrano
really is exclusively SSH (by design).
- Jamis