Re: FTP all folders from win CD to HP-UX 11.31 folder (275 Views)
Reply
Advisor
Joe Milici
Posts: 31
Registered: ‎01-29-2002
Message 1 of 24 (275 Views)
Accepted Solution

FTP all folders from win CD to HP-UX 11.31 folder

My DVD drive on my HP-UX server died and I need to install some software. I have a CD with the programs but there are many subfolders. How can I ftp all of these files including the subfolders onto the Unix server?
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 2 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Shalom,

You really can't ftp sub folders effectively

mput does all the files in the directly but it will take some time to get the job done and I've never tried it on sub folders.

You could stick the windows CD in the Unix box and do a samba or cifs or vfat or cdfs mount on it and get the data off directly.

Or winzip the CD and send up a single fine and then use gzip to unzip it.

Lots of ways to skin this cat.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Honored Contributor
Tim Nelson
Posts: 3,727
Registered: ‎06-01-2000
Message 3 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

To expand on Stevens ideas..

If you are running 11.11 or 11.23 you can create an ISO image from the CD. ftp that to the unix server then use PFS to mount the ISO just like a cd.

http://h20229.www2.hp.com/downloads/iso_format.html?jumpid=reg_R1002_USEN

Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 4 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Assuming that nothing untoward happens to the
file names, an easy way might be to use some
Zip program on the Windows system to create a
Zip archive there, use FTP to copy that to
the HP-UX system, and extract the files there
using the usual Info-ZIP UnZip program.

http://www.info-zip.org/

If you have more than 2GB of stuff (that is
if you were lying about the "CD" part, and
it's really a DVD more than about half full),
then you can expect some large-file
complications. Otherwise, what could go
wrong?
Advisor
Joe Milici
Posts: 31
Registered: ‎01-29-2002
Message 5 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Ok. If I use pkzip and then gzip. What would the gzip syntax be to keep the folders?
Advisor
Joe Milici
Posts: 31
Registered: ‎01-29-2002
Message 6 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Steven,

I clicked on properties and it shows 496MB used on the cd.
Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 7 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

> You really can't ftp sub folders effectively

Maybe _you_ can't. I often use wget for
recursive FTP transfers, and it often works
just fine.

I assume that it's not suitable in this case,
because it only fetches files, and I assume
that the (unspecified) Windows system here
lacks an FTP server.

> [...] then use gzip to unzip it.

I find that UnZip generally works better
than gzip on Zip archives. According to:

http://winzip.com/wzdifs.htm

[...] WinZip supports all operations on
gzip files except creating new ones.

So, I wouldn't expect it to make a useful
gzip archive of a CD.

> Lots of ways to skin this cat.

Some may even work.
Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 8 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

> What would the gzip syntax be to keep the
> folders?

Good question. That's why I'd use Info-ZIP
UnZip.

Gzip is normally used with "tar" for a good
reason. It's a file compression program, not
a general purpose file archiving and
compression program.
Advisor
Joe Milici
Posts: 31
Registered: ‎01-29-2002
Message 9 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Steven.

I have zipped the files and set the winzip option to keep directoires. Do I just ftp the binary to the unix server and run

unzip dpzip.zip?
Acclaimed Contributor
Dennis Handly
Posts: 25,298
Registered: ‎03-06-2006
Message 10 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

>Do I just ftp the binary to the unix server and run: unzip dpzip.zip?

Yes. Make sure you use binary mode to copy.
You could use "unzip -l dpzip.zip" to see if everything is there.
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 11 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Shalom,

Yes, just ftp the zipped image up and then unzip on the Unix system.

Still isn't it easier to must mount the CD itself on Unix?

Like I said, lots of ways to skin this cd.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Trusted Contributor
piyush mathiya
Posts: 139
Registered: ‎03-20-2008
Message 12 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Hi Joe,
I have read all replies, It is really very good and surely it will help you to solve the problem, but one one thing which I want to share with you is I also faced the same problem and at that time, I have used another unix box to copy the files, like I have mount that CD to another server and made tar of these files and simply transfer from one to another. If privious answer will not solve your problem then you can use this way. . .

Regards,
Piyush Mathiya
Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 13 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

> My DVD drive on my HP-UX server died [...]

> Still isn't it easier to must mount the CD
> itself on Unix?

You _do_ read these things before answering,
don't you?
Acclaimed Contributor
Torsten.
Posts: 23,451
Registered: ‎10-02-2001
Message 14 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

I would simply use something like this to ftp the files:

http://filezilla-project.org/


Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Valued Contributor
chindi
Posts: 391
Registered: ‎07-24-2008
Message 15 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

hi,
I would go for core-ftp lite software....
Super Advisor
Nyck_1
Posts: 224
Registered: ‎01-07-2005
Message 16 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

WINscp is pretty good for this kinda situation
Advisor
Joe Milici
Posts: 31
Registered: ‎01-29-2002
Message 17 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Unfortunalte;y I do not have unzip on my server. I saw GZIP was also recommended. Is there a way to test this command before executing?
Acclaimed Contributor
Torsten.
Posts: 23,451
Registered: ‎10-02-2001
Message 18 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Look in /usr/contrib/bin what you have.

Is gunzip there?

Anyway, I would prefer to use a ftp client ...

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Advisor
Joe Milici
Posts: 31
Registered: ‎01-29-2002
Message 19 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Yes I have gunzip. Keep in mind I have zipped up the CD using winzip and have ftp'd the binary to the server. It has a .zip extension. I am trying to unzip so I can run the installer.
Honored Contributor
Tim Nelson
Posts: 3,727
Registered: ‎06-01-2000
Message 20 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Don't forget to take a couple seconds and award points for all the time and efforts..Just use the pull down next to each response and pick a number. Then click submit.

Clicking on your name will also lead you to all past posts that could use some point assignment.

Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 21 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

> Unfortunalte;y I do not have unzip on my
> server.

That should be a pretty easy-to-solve
problem. As mentioned earlier, source kits
may be found at:

http://www.info-zip.org/

Google can normally find HP-UX binary kits
pretty easily in the usual places, like:

http://hpux.cs.utah.edu/hppd/hpux/Misc/unzip-5.52/
http://hpux.cs.utah.edu/hppd/hpux/Misc/zip-3.0/
Super Advisor
Nyck_1
Posts: 224
Registered: ‎01-07-2005
Message 22 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

you can get unzip from here also:-

http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.52/
Trusted Contributor
SKR_1
Posts: 494
Registered: ‎03-25-2008
Message 23 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

There is an leach ftp software with which you can ftp all folders from windows to UNIX server.

Thanks

SKR
Advisor
Joe Milici
Posts: 31
Registered: ‎01-29-2002
Message 24 of 24 (275 Views)

Re: FTP all folders from win CD to HP-UX 11.31 folder

Thanks to all
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.