[huskerlug] Re: Synchronizing websites(Mirroring)

Just use FTP.  You can create a shell script that issues all of the necessary
FTP commands. a la:

ftp -nv nimy2k.com << EOFTP
user <username> <password>
cd wherever
put whatever
EOFTP

You can use any valid ftp commands between the 'ftp ... << EOFTP' and 'EOFTP'.  

--Ben Chavet


Quoting Jitesh Batra <jbatra@xxxxxxxxxxxxxx>:

> Hi all ,
> I am trying to build a mirror for my website.
> I have two servers
> http://nimy2k.com/manu -- Ftp access only
> http://photos.jitu.net -- Full shell access
> 
> Neither of these servers allow ssh or rsh.
> I was wondering if there was a way to mirror the two sites ,so that the
> data on both remain the same.
> Currently they are having just php scripts , jpeg files and some html
> files.
> 
> Both of these run on UNIX server.
> 
> Thanks
> JB
> 
> ------------------------------------
> Jitesh Batra
> Research Assistant - ERSL
> Gradute Senator - ASUN
> Department of Electrical Engineering
> University of Nebraska-Lincoln
> Voice:+1-402-472-5826(Office)
> Email :jbatra@xxxxxxxxxxxxxxx
> Visit me at http://jitu.net
> ------------------------------------
> 
> 
> ----
> Husker Linux Users Group mailing list
> To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
> with a subject of UNSUBSCRIBE
> 
> 



----
Husker Linux Users Group mailing list
To unsubscribe, send a message to huskerlug-request@xxxxxxxxxxxxx
with a subject of UNSUBSCRIBE


Other related posts: