FTP Transfer

We need to transfer directories using FTP for Solaris 2.6. Please suggest a software we can download Internet. We need to transfer the directory and its content, without making changes to the structure. (not file by file)
We need to do this before midnight.  Help from Costa Rica!!
Ana_RojasAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tel2Commented:
Ana,

I may be wrong, but from memory, I don't think FTP supports directory or recursive transfers.

Can you create an archive of the files (eg: tar or backup or cpio) and then FTP the archive and extract it on the other machine?  You could compress it before sending it and then it would be faster too!  Of course you would need some temporary free space to use this method.

What kind of UNIX are you using on the two machines?

If you need details on how to create and extract the archive, let us know.  If you tell us you directory name, we can be more specific with the answer.
0
mpassCommented:
This is a little to late to help you at this time, but it may help you if you encounter the same problem in the future. The easiest way to do this it to download the program, wget, if you don't already have it. You can get a binary in package format for Solaris 2.6 from http://sunfreeware.com .

In it's simplest form, you would use something like:
  wget -r ftp://ftp.foobar.com/dir1/dir2
This command would download all files and sub-directories under /dir1/dir2 on foobar.com and recreate them in your local directory. If you need a username and password to login, you could use:
   wget -r  ftp://username:password@ftp.foobar.com/dir1/dir2

Read the man page to find out more. Sorry you won't get this in time...
0
Ana_RojasAuthor Commented:
Thank you for the answers.  We solve the problem using a utility with recursivity.
0
kawinCommented:
You can use rdist -c source_dir remote:/remote_dir too. (Don't forgot to add your host into .rhosts file on remote server)

I think this is easiest way for your task.

0
jlevieCommented:
NcFTP (available from www.ncftp.com) supports recursive ftp transfers.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.