- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Copying file(s) from DOS/Windows to HPUX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 10:55 AM
06-22-2001 10:55 AM
Copying file(s) from DOS/Windows to HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 11:01 AM
06-22-2001 11:01 AM
Re: Copying file(s) from DOS/Windows to HPUX
Try setting your ftp session to binary:-
ftp xxx.xxx.xxx.xxx
login- etc
>binary
>put filename
>quit
HTH
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 11:02 AM
06-22-2001 11:02 AM
Re: Copying file(s) from DOS/Windows to HPUX
C:\>ftp neelix # hp-ux box
Connected to neelix.hertz.com.
220 neelix FTP server (Version 1.1.214.4 Wed Aug 23 03:38:25 GMT 2000) ready.
User (neelix.hertz.com:(none)): your-id
331 Password required for your-id.
Password: ********
230 User your-id logged in.
ftp> cd /tmp
250 CWD command successful.
ftp> bin # here's the important one for you
200 Type set to I.
ftp> hash
Hash mark printing On (2048 bytes/hash mark).
ftp> put some-file.tar
200 PORT command successful.
150 Opening BINARY mode data connection for some-file.tar.
########
226 Transfer complete.
32749 bytes sent in 0.05 seconds (654.98 Kbytes/sec)
ftp> bye
221 Goodbye.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 11:33 AM
06-22-2001 11:33 AM
Re: Copying file(s) from DOS/Windows to HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 11:39 AM
06-22-2001 11:39 AM
Re: Copying file(s) from DOS/Windows to HPUX
Does the file "untar" and then produce the error?
Meanwhile tar error codes:-
NOTE: exit code is considered as 'NONFATAL_ERRCODE'
exit(0)
no error & no warning.
exit(1)
Tar: cannot create temporary file (%s)
Invalid blocksize. (Max %d)
tar: blocksize %d too big, can't get memory
tar:Invalid or non-existent device file %s
Can only create standard output archives
tar: cannot open %s
tar: option not supported for this device %s
tar: cannot write to %s: write protected
tar: usage tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] ......
Attempt to create archive of no files. Nothing dumped.
tar: cannot preserve extent attributes for %s. aborting...
Tar: cannot create temporary file (%s)
Invalid blocksize. (Max %d)
tar: blocksize %d too big, can't get memory
tar:Invalid or non-existent device file %s
Can only create standard output archives
exit(2)
directory checksum error
tar: %s: HELP - extract write error
tar: Cannot close %s
Tar: tape write error
exit(3)
Tar: tape read error
Tar: tape blocksize error
Tar: blocksize = 0; broken pipe?
Tar: error! blocksize changed
exit(4)
Tar: tape backspace error
Tar: ioctl to write filemarks failed (%d). aborting...
Tar: ioctl to determine device online failed. aborting...
exit(5)
tar: Cannot change directory to '%s'
tar: Path '%s' skipped
tar: cannot open %s
Missing links to %s
tar: %s: cannot access file
tar: Out of memory. Cannot detect symbolic link loops
tar: Loop of symbolic links detected, tar terminated
tar: cannot stat %s. Not dumped.
tar: Size of %s > %s. Not dumped.
tar: %s: directory read error
tar: %s: directory read error
tar: %s: symbolic link too long
tar: can't read symbolic link
tar: %s: cannot open file
tar: %s: link to name too long
Out of memory. Link information lost
%s: file changed size
tar: %s is not a file. Not dumped
tar: %s: symbolic link failed
%s: cannot link
tar: %s couldn't create character device
tar: %s couldn't create block device
tar: %s couldn't create fifo
tar: %s couldn't create directory
tar: %s couldn't create directory
tar: %s - cannot create
tar: chmod failed
tar: chown failed
tar: couldn't get uname for uid %d
tar: couldn't get gname for gid %d
tar: pwd failed
tar: %s: pathname too long
tar: %s: prefix too long
tar: %s: file name too long
%s: file name too long
NOTE: exit code is condsidered as 'NONFATAL_ERRCODE'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 11:43 AM
06-22-2001 11:43 AM
Re: Copying file(s) from DOS/Windows to HPUX
After you bring up ftp and get logged into your machine, do this:
bin
cd /netprin
put hp1aa_ml.tar
Quit out of FTP and then go back to your HP-UX system and try to untar the file. Try this first on the system:
# cd /netprint
# tar -tvf ./hp1aa_ml.tar
If you see the contents of the file scrolling up the screen the the file is good. The 'tar -tvf....' prints a listing of the tar file, it does NOT extract anything.
At this point if the tar file is good you can do:
# tar -xvf ./hp1aa_ml.tar
Hope this helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 11:43 AM
06-22-2001 11:43 AM
Re: Copying file(s) from DOS/Windows to HPUX
Also try tar -xvf
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 11:52 AM
06-22-2001 11:52 AM
Re: Copying file(s) from DOS/Windows to HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 11:56 AM
06-22-2001 11:56 AM
Re: Copying file(s) from DOS/Windows to HPUX
Tar files are multi platform,
although your problem could be the download, can you pick it up from the server or via ftp from you windows machine?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 12:30 PM
06-22-2001 12:30 PM
Re: Copying file(s) from DOS/Windows to HPUX
I have same problem on my PC. It was working before and then it stops suddenly. I have always checksum error now. It might be one of the window installations. I don?t recall why and how this happen.
So I go around. I launch Netscape from one of my Unix box display back to my PC and download my .tar file directly in to the Unix box.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 12:38 PM
06-22-2001 12:38 PM
Re: Copying file(s) from DOS/Windows to HPUX
An alternative to FTPing the file is to use a file sharing program. We use DiskAccess to move from the NT stations to UNIX, and I know that I have seen threads here where people have listed a number of other programs (search for mounting NT, maybe?. I don't know if that is worth it or not, depends on the number and frequency of files being moved (we do it becuase we move a lot of files back and forth and backup a few NT folders to boot on UNIX).
Just a thought.
Mark