Connecting Tech Pros Worldwide Help | Site Map

A better way to ftp

  #1  
Old July 17th, 2005, 11:49 AM
steve
Guest
 
Posts: n/a
Hi,
I have a large CMS project (phpnuke), and it is deployed on three
remote servers. Anytime I make a change to the scripts locally, I
have to connect to three ftp servers, change directories, upload
files... yikes.

Is there an easier way to do this?

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-ftp-ftopict189519.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=640454
  #2  
Old July 17th, 2005, 11:49 AM
André Hänsel
Guest
 
Posts: n/a

re: A better way to ftp


steve wrote:[color=blue]
> Hi,
> I have a large CMS project (phpnuke), and it is deployed on three
> remote servers. Anytime I make a change to the scripts locally, I
> have to connect to three ftp servers, change directories, upload
> files... yikes.
>
> Is there an easier way to do this?[/color]

Weex does a good job.

If they weren't just FTP servers, you could use rsync to save even more
time.

  #3  
Old July 17th, 2005, 11:50 AM
Colin McKinnon
Guest
 
Posts: n/a

re: A better way to ftp


André Hänsel wrote:
[color=blue]
> steve wrote:[color=green]
>> Hi,
>> I have a large CMS project (phpnuke), and it is deployed on three
>> remote servers. Anytime I make a change to the scripts locally, I
>> have to connect to three ftp servers, change directories, upload
>> files... yikes.
>>
>> Is there an easier way to do this?[/color]
>
> Weex does a good job.
>
> If they weren't just FTP servers, you could use rsync to save even more
> time.[/color]

I wrote a thing some time ago to publish a site via FTP - it's called
pushsite, requires Perl and you can get it from
http://pushsite.sourceforge.net/

HTH

C.

  #4  
Old July 17th, 2005, 11:51 AM
Daniel M. Hendricks
Guest
 
Posts: n/a

re: A better way to ftp


steve wrote:[color=blue]
> Hi,
> I have a large CMS project (phpnuke), and it is deployed on three
> remote servers. Anytime I make a change to the scripts locally, I
> have to connect to three ftp servers, change directories, upload
> files... yikes.
>
> Is there an easier way to do this?[/color]

Rsync would work like a charm, but if you don't have access, I've used
this free application to sync FTP sites:
http://www.scriptftp.com/

Cheers,
Daniel
http://www.danhendricks.com

  #5  
Old July 17th, 2005, 11:52 AM
Martin Kissner
Guest
 
Posts: n/a

re: A better way to ftp


["Followup-To:" nach comp.lang.php gesetzt.]
steve wrote :[color=blue]
> Hi,
> I have a large CMS project (phpnuke), and it is deployed on three
> remote servers. Anytime I make a change to the scripts locally, I
> have to connect to three ftp servers, change directories, upload
> files... yikes.
>
> Is there an easier way to do this?[/color]

If you are on Unix or Linux you could use curl.
It's scriptable and it works with ~/.netrc
After all you would be able to write a shellskript, which checks your
local directory for changes und uploads the canged files to the servers.
All you have to do is to start the skript by one command.

HTH
Martin

--
Epur Si Muove (Gallileo Gallilei)
  #6  
Old July 17th, 2005, 11:53 AM
steve
Guest
 
Posts: n/a

re: A better way to ftp


"news80" wrote:[color=blue]
> ["Followup-To:" nach comp.lang.php gesetzt.]
> steve wrote :[color=green]
> > Hi,
> > I have a large CMS project (phpnuke), and it is deployed on[/color]
> three[color=green]
> > remote servers. Anytime I make a change to the scripts[/color]
> locally, I[color=green]
> > have to connect to three ftp servers, change directories,[/color]
> upload[color=green]
> > files... yikes.
> >
> > Is there an easier way to do this?[/color]
>
> If you are on Unix or Linux you could use curl.
> It's scriptable and it works with ~/.netrc
> After all you would be able to write a shellskript, which
> checks your
> local directory for changes und uploads the canged files to
> the servers.
> All you have to do is to start the skript by one command.
>
> HTH
> Martin
>
> --
> Epur Si Muove (Gallileo Gallilei)[/color]

Thank you all for very helpful advice. Since I am on Windows locally
(forgot to mention that) I will try scriptftp first. Then I can move
on to the other solutions if that does not work. I will report back on
the results.

Thanks again,

steve

--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-ftp-ftopict189519.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=643813
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for proper way to code this dfetrow410@hotmail.com answers 2 January 12th, 2006 10:55 PM
What is the easiest way to query a remote XML file on someone elses Linux box using secure communication? Dan V. answers 7 November 22nd, 2005 12:37 PM
Best way to share a python list of objects kyle.tk answers 3 October 11th, 2005 06:35 PM
What is the easiest way to query a remote XML file on someone elses Linux box using secure communication? Dan V. answers 7 July 21st, 2005 04:38 PM