Connecting Tech Pros Worldwide Help | Site Map

A better way to ftp

steve
Guest
 
Posts: n/a
#1: Jul 17 '05
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
André Hänsel
Guest
 
Posts: n/a
#2: Jul 17 '05

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.

Colin McKinnon
Guest
 
Posts: n/a
#3: Jul 17 '05

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.

Daniel M. Hendricks
Guest
 
Posts: n/a
#4: Jul 17 '05

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

Martin Kissner
Guest
 
Posts: n/a
#5: Jul 17 '05

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)
steve
Guest
 
Posts: n/a
#6: Jul 17 '05

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