Forum Moderators: bakedjake

Message Too Old, No Replies

Shell ftp command

what is the correct syntax?

         

hanuman

12:37 am on Mar 13, 2004 (gmt 0)

10+ Year Member



Hello knowing all people;

I am moving a client website to a new server. I have shell access to the new server, the old site is gun-zipped and I have misplaced in my mind the syntax for the ftp command to copy the old website to it's new home. anyone can offer a quick help?

appreciate it!
Hanuman

denisdekat

2:56 pm on Mar 13, 2004 (gmt 0)

10+ Year Member



if you want to just ftp, then

shell% ftp domain.name

then enter user and pass.

(moving into a directory)
shell% mv www

(getting a file)
shell% get index.htm

(getting similar files)
shell% mget *.htm

If all else fails try this:
shell% man ftp
shell% info ftp

You may also want to consider using "wget".

HTH :)

hanuman

11:14 am on Mar 14, 2004 (gmt 0)

10+ Year Member



thanks. mission accomplished!