Operating System - HP-UX
1822147 Members
4106 Online
109640 Solutions
New Discussion юеВ

how to get file from HP-UX to windows XP

 
SOLVED
Go to solution
rustam_2
Super Advisor

how to get file from HP-UX to windows XP

Hi all,
I need to get\sent some files from server where runs HP-UX to\from Windows XP. Before and now, for some my servers i use Total Commander (FTP), but for HP-UX it doesnt work. Should i use softs which support ssh and sftp? I searched and found winscp, but couldnt do my tasks, got error and couldnt open directories. Does there other way do it?

Regards,
Rustam
12 REPLIES 12
Johnson Punniyalingam
Honored Contributor
Solution

Re: how to get file from HP-UX to windows XP

>>but couldnt do my tasks, got error and couldnt open directories. Does there other way do it?<<<

But for HPUX .? >>Should i use softs which support ssh and sftp? I searched and found winscp<<

I ' m been using "WINSCP" no problems so far, the error your refer to "Sounds to be "permission" problem, can also post / attach "Screen-Short" issue

Problems are common to all, but attitude makes the difference
Horia Chirculescu
Honored Contributor

Re: how to get file from HP-UX to windows XP

Hello,

You can use any ftp client (including the one from Total Commander) on your windows workstation as long as your HP-UX is running an ftp server.

Usually ftp server is started from inetd. Check your server configuration

Horia.
Best regards from Romania,
Horia.
Johnson Punniyalingam
Honored Contributor

Re: how to get file from HP-UX to windows XP

purpose of "winscp" software , will help to auto-detect if its ascii/bin file, also purpose of secured copy"
Problems are common to all, but attitude makes the difference
LITWINCZUK
Advisor

Re: how to get file from HP-UX to windows XP

C:\>ftp 10.0.1.186
Po├Е ├Д czony z 10.0.1.186.
220 ksipa.kgp.gov.pl FTP server (Version 1.1.214.4(PHNE_38458) Tue Jul 29 07:36:
52 GMT 2008) ready.
U├Е┬╝ytkownik (10.0.1.186:(none)): root
331 Password required for root.
Has├Е o:******
230 User root logged in.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
total 1264
-r-x------ 1 root sys 108 Mar 20 2009 kill_job
226 Transfer complete.
ftp: 64d bajt├Г┬│w odebranych w 0,02Sekund 128,69Kbajt├Г┬│w/sek.
ftp> get kill_job
200 PORT command successful.
150 Opening ASCII mode data connection for kill_job (108 bytes).
226 Transfer complete.
ftp: 64d bajt├Г┬│w odebranych w 0,00Sekund 109000,00Kbajt├Г┬│w/sek.
ftp> bye
221 Goodbye.

C:\>dir
Katalog: C:\

2010-02-17 13:04 109 kill_job
rustam_2
Super Advisor

Re: how to get file from HP-UX to windows XP

Johnson Punniyalingam and Horia Chirculescu,
Ok, tommorow in the morning when i will be at work i make some screens.
For now, should i configure ftp on my server?

regards,
Rustam
Horia Chirculescu
Honored Contributor

Re: how to get file from HP-UX to windows XP

Look at the file:

/etc/inetd.conf

The lines with # are comments.

Go to the line starting with ftp and remove the first #

Then reconfigure the inetd with

/usr/sbin/inetd -c

Horia.
Best regards from Romania,
Horia.
Johnson Punniyalingam
Honored Contributor

Re: how to get file from HP-UX to windows XP

>>should i configure ftp on my server?<<

Not required, i believe "ftp /sftp" service by default there are configured / Install

You just need to check by below commands ?

Check services are enabled on the below files

# grep -i ftp or sftp /etc/services
# grep -i ftp or sftp /etc/inetd.conf

on top of that you can check with "netstat" command to check ftp /sftp port "listen.

# netstat -an |grep -i
Problems are common to all, but attitude makes the difference
Rita C Workman
Honored Contributor

Re: how to get file from HP-UX to windows XP

You can do the SSH protocols, as mentioned. With this you can use winscp, provided the HPUX side is running SSH daemon, so there will be a give/accept of the public key.

Or you use the SSH protocols to set up a passwordless connection. But that requires more knowlege of SSH protocols and how to do this. Little harder.

You can also setup a CIFS (SAMBA) share between HPUX and Windows. Basically CIFS sit on NFS, so it's a shared file system.

Check all your options. Keep yourself open to different methods.

Regards,
Rita
Steven E. Protter
Exalted Contributor

Re: how to get file from HP-UX to windows XP

Shalom,

tons of options.

built into windows is an ftp client. A bad one, but you can access it on the command line with the command ftp.

FTP server is installed, configured and working in HP-UX by default.

Any modern version of HP-UX has secure shell, installed configured and running.

The secure way to go is to use wincp, or putty's sftp client. Going this route will lead to less problems on your next security audit.

filezilla is a ftp/sftp capable gui client for transferring files as well. Very easy to use.

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
Steven Schweda
Honored Contributor

Re: how to get file from HP-UX to windows XP

> [...] but for HP-UX it doesnt work. [...]

"It doesn't work" is not a useful problem
description. It does not say what you did.
It does not say what happened when you did
it.

> [...] got error [...]

Even less useful.

> Does there other way do it?

Other than _what_? My psychic powers are too
weak to tell me what you actually did.
Prasanth Thomas
Valued Contributor

Re: how to get file from HP-UX to windows XP

Hi,

I am using winscp for long time and as mentioned above please share the error.

Regards,
PT.
rustam_2
Super Advisor

Re: how to get file from HP-UX to windows XP

Hi everybody,
thanks for advices, i checked all files and services, they are ok. sftp/ftp were installed by default. On HP-UX everything are\were fine. Then i came back to my windows and started to check Winscp configuration. I found out lack of configuration in it. I changed and then could connect to HP with total commander and explorer view. It is really great, to look Unix hierarchy with Win Explorer(from above all catalogs). I liked.

Thanks again for all of you.
Regards,
Rustam