On Wed, Jun 3, 2009 at 10:57 AM, Jamis Buck <[email protected]> wrote: > > On Wed, Jun 3, 2009 at 8:53 AM, Byron Saltysiak <[email protected]> wrote: >> >> 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. > > 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.
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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
