Operating System - HP-UX
1825981 Members
3247 Online
109690 Solutions
New Discussion

Re: Getting files from unix server to windows desktop

 
SOLVED
Go to solution
Shivkumar
Super Advisor

Getting files from unix server to windows desktop

Dear Sirs,

We want to get log files from a directory located on the HPUX server to our windows desktop/laptop without using ftp.

What are ways to get them ?

Thanks,
Shiv
13 REPLIES 13
Jan de Haas_3
Frequent Advisor

Re: Getting files from unix server to windows desktop

Ususally it's enough to :
- Make sure ftp server is running on you HPUX
system. Do this by :
Changing /etc/inetd.conf file to include ftpd
Restart inetd.
# kill -1
- Have a username/password ready so you are
able to login.
- FTP your files.

Cheers,
Jan.
Jan de Haas_3
Frequent Advisor
Solution

Re: Getting files from unix server to windows desktop

Sorry, misread.

Without ftp, you could use the following :
- Samba (CIFS) (www.samba.org)
- scp (www.openssh.org)
- NFS (which will mean you will need to buy some PC NFS product and setup the HPUX box as an NFS server.

or even
- rsync (although not the best way to do this if you're just incidentally transferring files). Very good foor keeping files up-to-date though. (also from www.samba.org).

And last, you could even burn the files on CD/DVD with mkisofs, which is included in the last version of the HP Ignite/UX product (obtainable through www.software.hp.com)

More than enough choices,
Jan.

Nguyen Anh Tien
Honored Contributor

Re: Getting files from unix server to windows desktop

Of course you can use:
1, Open SSH. (it is good for security) using scp (secure copy command)
Connect to http://hpux.connect.org.uk/
and get OpenSSH as freeware
2, NFS Network File system - Hard to config, weak at security
www.docs.hp.com to learn NFS
3, Samba: it is easy to config.
refer docs on
www.samba.org for more
HTH
tienna
HP is simple
Kasper Hedensted
Trusted Contributor

Re: Getting files from unix server to windows desktop

Hi Shiv,

You can also use sftp (over ssh). If you want a graphical tool, you could use FileZilla.

http://filezilla.sourceforge.net/

Cheers,
Kasper
Arunvijai_4
Honored Contributor

Re: Getting files from unix server to windows desktop

Hi Shiv,

Yes, you can use tools like "scp" to copy from unix to windows. Make sure in HPUX you have Secure shell running. You can download scp for windows from, http://www.jfitz.com/tips/ssh_for_windows.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Cem Tugrul
Esteemed Contributor

Re: Getting files from unix server to windows desktop

Hi Shiv,

Many threads asked and discussed before;

http://www4.itrc.hp.com/service/james/search.do?searchtext=%2Bftp%2Bwindows%2Bunix&searchcriteria=allwords&searchtype=SEARCH_FORUMS&rn=25&presort=rank&x=22&y=9

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Arunvijai_4
Honored Contributor

Re: Getting files from unix server to windows desktop

Hi Shiv,

You can setup Samba or CIFS server in HP-UX and access from Windows just like another folder to your log files. It is easy and not secure though when you compare with scp. For setting up samba, you can take a look at this thread,

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

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steven E. Protter
Exalted Contributor

Re: Getting files from unix server to windows desktop

Shalom Shiv,

Lots of ways.

CIFS/Samba are both based on the same code. What I mean is that the file sharing system server and client in windows is CIFS based.

Which means.

You can set up a windows desktop and use the windows gui to set up a share.

Then you can use /usr/bin/cifsmount

to mount the share. You can provide the password on the command line.

Then its a simple cp command to copy the files to windows.

There is a free windows ssh/scp/sftp client server from http://www.networksimplicity.com that will let you set this up without using cifsmount.

You pay your money, which is none, its really setup time and take your choice.

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
Victor BERRIDGE
Honored Contributor

Re: Getting files from unix server to windows desktop

Hi Shiv,

Although you do not want to use ftp (why?), I wonder how do you connect from your PC to your server?

If you use WRQ product like Reflection X, it has a GUI ftp client that is great for end-users since its drag and drop...


All the best
Victor
Yogeeraj_1
Honored Contributor

Re: Getting files from unix server to windows desktop

hi,

you may wish to install/configure CIFS or even setup an FTP site which you can access using a browser.

hope this helps too!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Chan 007
Honored Contributor

Re: Getting files from unix server to windows desktop

Shiv,

As other said your CIFS/Samba.

Use NFS - Install NFS clients like hummingbird software,

I guess you have to enable pcnfs from the HPUX server, here you have control and authentication from Unix (passwd) files.

Chan
Arunvijai_4
Honored Contributor

Re: Getting files from unix server to windows desktop

Hi Shiv,

This is my personal experience, NFS clients in Windows are hard to configure and $$$.. So, it gives you none other than CIFS server(samba) setup in HP-UX.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Darren Etheridge_2
Super Advisor

Re: Getting files from unix server to windows desktop

One word... SAMBA . Easy to setup - Easy to use :)