Operating System - HP-UX
1821645 Members
3082 Online
109633 Solutions
New Discussion юеВ

Re: .tar files > transferring between HPUX & Windows XP

 
SOLVED
Go to solution
Ewan McDonald
Advisor

.tar files > transferring between HPUX & Windows XP

Hi all, I have got a problem with my HP machine that my colleagues who fix Sun & IBM equipment have also got with theirs.

When Downloading a .tar file from the net on a machine using windows XP, then trying to write to a CD to copy over to a Unix machine, I get the following error.

The tar file changes I.E. if I have say HP_LTT23S4_HPUX.tar downloaded on my windows machine. When I write to cd, then load the CD into the unix machine. The file comes out as: HP_LTT~1.TAR;1 - I have tried the cp command which fails using both file names. Extracting the file also fails using the Tar -xvf command. What my guess is, is that XP is changing the format of the file becuase it doesn't recognise it? I've seen problems like this in the past where you have a check box to make sure your file stays binary or something like that? I'm pretty stumped here.
I've tried this with HP servers throughout the range and all the range of O/S's. I've also tried it on a whole string of IBM and SUN machines. I've tried 4 different CD writer packages and different PC's. The only thing that has remainied the same is the O/S that the file is being downloaded to I.E. Windows XP. Can anyone help?
5 REPLIES 5
harry d brown jr
Honored Contributor
Solution

Re: .tar files > transferring between HPUX & Windows XP

answer=windoze sucks

(1) Always change the "file type" to "all files" when downloading. Otherwise windows will screw with the file format.

(2) You are creating the wrong type of CD or mounting it incorrectly. Try mounting with ISO9660 format.

If you are only transfering between XP and HP-ux then use this at a command prompt on your XP box:

rcp -b filename HPuxboxname.root:/path2putITin

live free or die
harry d brown jr
Live Free or Die
Steven E. Protter
Exalted Contributor

Re: .tar files > transferring between HPUX & Windows XP

The cd is simply not being mounted correctly.

On the unix machines, you have a number of choices on how to mount a cd.

The standard mount for the cdrom in /etc/fstab will not work right on most windows cd.

You have to try something else.


Diagnostics:

fstyp -v /dev/dsk/cxtxdx (cdrom device)

mount -F iso9660 -o cdcase /dev/dsk/cxtxdx /mount_point

mount -o cdcase /dev/dsk/cxtxdx /mount_point

One of these should work.

Fromthe post:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=842387

Just so nobody thinks I'm the author.

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
Stefan Schulz
Honored Contributor

Re: .tar files > transferring between HPUX & Windows XP

Hi,

this is usually a problem with the mount options. Check the mount command for CD specific options (-o cdcase could do the trick in this case).

You might also try to create the CD in a format that HP-UX supports better. e.g. without any extensions like the Windows Jouliet (written correctly ??) format.

Also if you have to transfer files frequently you could open a samba share on one of your servers just for some admin users.

We have a share available on one server (which is not so important) an use this to transfer from UNIX to Windows world. Once the files are somewhere on a HP-UX system you can use rcp, mount and so on.

Hope this helps


Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Eric Antunes
Honored Contributor

Re: .tar files > transferring between HPUX & Windows XP

"answer=windoze sucks"

LOL!! :)))

Each and every day is a good day to learn.
Ewan McDonald
Advisor

Re: .tar files > transferring between HPUX & Windows XP

Hey, thanks all - I tried the "mount -o cdcase" command and it worked fine.

thanks again,

Ewan