- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Transfer files from Unix Server to PC
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
Discussions
Discussions
Discussions
Forums
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
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
тАО07-02-2002 06:45 PM
тАО07-02-2002 06:45 PM
Transfer files from Unix Server to PC
I have a quesstion need your help. I'm trying to find a way to transfer a file from unix server to pc in unix command line. I've checked my books shipped with machine. But failed to find a solution. My unix host is HP 9000 K420 with HP unix 10.20. My pc is windows serials.
Thanks & Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2002 07:05 PM
тАО07-02-2002 07:05 PM
Re: Transfer files from Unix Server to PC
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2002 08:40 PM
тАО07-02-2002 08:40 PM
Re: Transfer files from Unix Server to PC
I have installed CIFS, which is SAMBA for HP-UX on my server.
So I create smb shares and then browse from the PC.
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2002 08:49 PM
тАО07-02-2002 08:49 PM
Re: Transfer files from Unix Server to PC
Thanks, Bill and Sukant. Both of your solution can approach my request. But I'm looking for a more simple way. I found there's a tool named "kermit" on unix, and I've tried this tool, but I fail to transfer file to PC. The message is as following:
"KERMIT READY TO SEND...
8 Sz/ @-#Y3~^! z0___D"U1A"
Can you help me?
Thanks & Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2002 10:09 PM
тАО07-02-2002 10:09 PM
Re: Transfer files from Unix Server to PC
Well if you want to use kermit then I think that will limit you to the serial line speed. If you have large files to transfer it will take ages.
Let me re-phrase what they suggested in simpler terms.
Go to http://www.download.com and get a freeware version of any FTP server for windows. This is a program which will accept ftp requests on the windows side. There are many around, some are freeware.
Then simply use ftp on the UNIX server to transfer files. You will get faster speed then serial for sure and much more flexible and hassle free.
Suktant solution works but may get a bit hairy to configure, so given you want a simple solution I go for ftp.
Good luck
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2002 10:16 PM
тАО07-02-2002 10:16 PM
Re: Transfer files from Unix Server to PC
set -x
ftp -i -n << !EOF
open 10.196.8.241
user anonymous scott@unix.com
lcd /tmp
cd /foo
bin
mput *
bye
!EOF
That should do the job.
This is essentially what I use to transfer omniback reports from my unix box the an IIS web server.
Though it took me MONTHS to get the windows guys to understand that i wanted FTP access and not file copy via a mapped drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2002 10:27 PM
тАО07-02-2002 10:27 PM
Re: Transfer files from Unix Server to PC
Thanks for your reply first. Maybe I did not explain the background of my problem. I have a ERP system named MFG/PRO running on HP Unix. The ERP system can generate some report by the end user. And the user have to use a ftp client to download the report to their PC for further use.(This is the way what we using now) But, many user are not familiar with ftp client, due to the employees in/out is frequent here. So I'm seeking a way to let the use just click a button or make a choice, the system will transfer the file to the users' PC automaticly. If I use a ftp server on local, I have to teach 2 things to my users, first, how to use ftp under unix(it's impossible, we do not allow the user to go to the unix command line for security), second, setup ftp server on PC. That's far from what I want to get.
And about the traffic of the file transfer, I think it is not a problem currently, for the ERP report won't be large than 1M normally.
Please advise.
Thanks & Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2002 10:34 PM
тАО07-02-2002 10:34 PM
Re: Transfer files from Unix Server to PC
We run Novell here and have set up an NFS gateway where unix filesystems appear in explorer. We can map them as drives etc...
Another solution would be to use samba, which can be obtained from http://www.software.hp.com
Another solution is to email the report to your people
you can use:
uuencode report report.txt | mailx -m foo@foo.org
This will mail the report as an attachment.
We use this also for certain jobs because people are more comfortable receiving an attachment.
Scott.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2002 10:43 PM
тАО07-02-2002 10:43 PM
Re: Transfer files from Unix Server to PC
Thanks, I'll try your solution.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 01:40 AM
тАО07-03-2002 01:40 AM
Re: Transfer files from Unix Server to PC
Does it have to be via unix command line? If not, do your users use Reflection or something similar to access MFG/Pro. We wrote a very simple reflection macro or script to do the file transfer for you using the WRQ/ftp transfer part of reflections. Then the users just have to click on a button on the screen and enter the file name to be copied.
The other option we used to use was to set up a print location within mfg/pro of emailme which called a script to e-mail the reports directly to their pc.
Cheers
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 01:48 AM
тАО07-03-2002 01:48 AM
Re: Transfer files from Unix Server to PC
Yes, we use "WRQ Reflection" to connect to HP Unix. And I'm realy interested in your script solution. Please kindly show me your sample. My email address, yfzhou72@163.com.
Thanks & Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 05:20 AM
тАО07-03-2002 05:20 AM
Re: Transfer files from Unix Server to PC
Script is attached.
You will need to ensure that the wrq/transfer program unxlink2 is installed on your server and that the script menu is in the menu bar. Both these are explained (I use that word advisedly) in the help. Once you have the script as you want it, just add a button to the toolbar.
If you need any help with any of the above, just let me know.
Cheers
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 07:44 AM
тАО07-03-2002 07:44 AM
Re: Transfer files from Unix Server to PC
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 07:49 AM
тАО07-03-2002 07:49 AM
Re: Transfer files from Unix Server to PC
I would turn the problem around and create a shortcut on the PC to launch 'perl ftp.pl file1 file2 ...'. That will then login to the UNIX host, set for ASCII transfers, cd to /tmp, and then download file1, file2 ... .
You can get a free version of Perl for your
Windows platform from www.activeperl.com. You would then need to install the Net::FTP module which is available from www.cpan.org. If you ever start using the Net::FTP Perl module, I can just about guarantee that you will stop using any other method. The beauty of this approach is that it will work on UNIX, Windows, VMS, ... .
Here is the attached Perl script, ftp.pl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 08:36 AM
тАО07-03-2002 08:36 AM
Re: Transfer files from Unix Server to PC
We have similar cases.
User has windows machine and wants a file from some other machine, (NT, Unix, etc.).
To perform this, we set up an icon on their desk top which points to a bat file.
The bat file calls another file with the ftp parms in it, gets (or puts) a file and exits.
Here they are -
Bat file:
ftp -n -s:command.cmd
The above is the only line in the bat file; "command.cmd" is the file with the ftp commands.
Contents of command.cmd -
open 172.XX.X.X
user name password
ascii
get file_name.txt
quit
exit
In the above "name" is the user login name to unix and "password" is the unix password. The open statement may be an ip address or dns name.
This works fine for us, hope for you as well.
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 04:24 PM
тАО07-03-2002 04:24 PM
Re: Transfer files from Unix Server to PC
Thank you so much for your help! I'll try your solutions and I think I can find a best for me from them at the end.
So, thanks again to you all!
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 07:13 PM
тАО07-03-2002 07:13 PM