iphitus Posted August 2, 2003 Report Share Posted August 2, 2003 Hello I'm starting a new homepage and I'd like to be able to automate the upload. Is there a way I can upload the contents of /home/james/webdesign/iphitus/ to ftp.au.geocities.com The username is rcxau and passowrd is abcdefg Yes, geocities australia does provide FTP. I don't mind i I have to input the password, so long as the upload is automated. James Quote Link to comment Share on other sites More sharing options...
tyme Posted August 2, 2003 Report Share Posted August 2, 2003 write a script, make it a conjob! aru, where are you?? Quote Link to comment Share on other sites More sharing options...
Guest Kamikaze_Gerbil Posted August 2, 2003 Report Share Posted August 2, 2003 mirrordir can do that http://mirrordir.sourceforge.net/ Quote Link to comment Share on other sites More sharing options...
iphitus Posted August 2, 2003 Author Report Share Posted August 2, 2003 I've got mirrordir installed and have been right throught the man page and can find no way of providing a username. Any other ways? Quote Link to comment Share on other sites More sharing options...
Guest Kamikaze_Gerbil Posted August 2, 2003 Report Share Posted August 2, 2003 From the man pages: mirrordir --verbose /home/mirrordir ftp://psheer@lava.obsidian.co.za/home/ftp/pub/mirrordir Quote Link to comment Share on other sites More sharing options...
iphitus Posted August 2, 2003 Author Report Share Posted August 2, 2003 Wow thanks!! I made a shell script to do it for me update.sh #!/bin/bash cd /home/james/webdesign/iphitus/ rm -fr *~* rm -fr .x* copydir --no-netrc --verbose /home/james/webdesign/iphitus/ ftp://rcxau@ftp.au.geocities.com/rcxau/ Works a dream!! James Quote Link to comment Share on other sites More sharing options...
iphitus Posted August 2, 2003 Author Report Share Posted August 2, 2003 help! it's not overwriting old files! #!/bin/bash cd /home/james/webdesign/iphitus/ rm -fr *~* rm -fr .x* copydir --always-write --no-netrc --verbose /home/james/webdesign/iphitus/ ftp://rcxau@ftp.au.geocities.com/rcxau/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.