Connecting Tech Pros Worldwide Help | Site Map

A better way to ftp

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 10:49 AM
steve
Guest
 
Posts: n/a
Default A better way to ftp

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, 10:49 AM
André Hänsel
Guest
 
Posts: n/a
Default 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, 10:50 AM
Colin McKinnon
Guest
 
Posts: n/a
Default 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, 10:51 AM
Daniel M. Hendricks
Guest
 
Posts: n/a
Default 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, 10:52 AM
Martin Kissner
Guest
 
Posts: n/a
Default 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, 10:53 AM
steve
Guest
 
Posts: n/a
Default Re: 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.