Operating System - HP-UX
1843874 Members
6110 Online
110225 Solutions
New Discussion

ftp from hpux to windows .. dir tree. .

 
someone_4
Honored Contributor

ftp from hpux to windows .. dir tree. .

Hey everyone .. I have looked but I cant find anything that fits my problem.One of our customers is leaving us and they want their home pages. The dir tree looks like this.
# lsf
0/ C/ M/ c/ l/ v/
1/ D/ N/ d/ m/ w/
2/ E/ P/ e/ n/ webmaster/
4/ F/ R/ etc/ o/ x/
5/ G/ S/ f/ p/ y/
6/ H/ T/ g/ q/ z/
8/ I/ V/ h/ r/
9/ J/ W/ i/ s/
A/ K/ a/ j/ t/
B/ L/ b/ k/ u/

And for example in the a you have everything 3 directories deep. To get to the homepage files for abnerh youh ave to go to:

/homepages/a/b/n#lsf
abnerh/

From my UX server I can ftp to their windows 2000 webserver. But I cant get any commands to ftp the whole directory tree up to the server. I started to download on my pc from the server but it went soooo slow. Overnight it only got to d. Anyone have any ideas?

Richard

10 REPLIES 10
Christopher Caldwell
Honored Contributor

Re: ftp from hpux to windows .. dir tree. .

tar -cvf /somedir/theirwebtree.tar /path/to/theirwebtree

ftp to.their.site.com
put /somedir/theirwebtree.tar

Have them find an tar utility to perform the xtraction. There are plenty available for Windoze.
Joseph C. Denman
Honored Contributor

Re: ftp from hpux to windows .. dir tree. .

Hi Richard,

I don't the size of the dir, but the best way would probably to winzip all his/her data into one file. Then ftp.

...jcd...
If I had only read the instructions first??
Volker Borowski
Honored Contributor

Re: ftp from hpux to windows .. dir tree. .

Same suggestion from me, but I would favor to gzip it, will be easier to extract for them (winzip)

Volker
someone_4
Honored Contributor

Re: ftp from hpux to windows .. dir tree. .

How can I winzip on hpux?

Richard
someone_4
Honored Contributor

Re: ftp from hpux to windows .. dir tree. .

Joseph C. Denman
Honored Contributor

Re: ftp from hpux to windows .. dir tree. .

I thought the files were on the 2000 box???

If they are on the hp box, then just tar the files up.

...jcd...
If I had only read the instructions first??
Joseph C. Denman
Honored Contributor

Re: ftp from hpux to windows .. dir tree. .

cd /where/directories/are
tar cvf joe_files.tar `ls`

then ftp the file.

...jcd...
If I had only read the instructions first??
Darrell Allen
Honored Contributor

Re: ftp from hpux to windows .. dir tree. .

Hi Richard,

You can tar the directory, gzip it, transfer it to the W2K box, and use winzip there. Done it lots of times.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
ian Dennison
Regular Advisor

Re: ftp from hpux to windows .. dir tree. .

Tar equivalent utility (standard with Windoze) is called 'pax'. 'pax -r -t [FileName]' is equivalent to 'tar -xf [FileName]. No third party tools required.

Share and Enjoy! Ian
Lets do it to them before they do it to us! www.fred.net.nz
Wodisch
Honored Contributor

Re: ftp from hpux to windows .. dir tree. .

Hello Richard,

get yourself a copy of "wget" and then do a recursive get...

Just my $0.02,
Wodisch