1752793 Members
6027 Online
108789 Solutions
New Discussion юеВ

Re: file transfer

 
rajesh73
Super Advisor

file transfer

please find the below file transfer activity possible or not

 

source

hp-ux 11.11

location of the file -/home/rajesh/sapdata.csv

 

destination

i want to copy this sapdata.csv file to my local machine

machine -windows7

location to copy -D drive

 

please confirm hp-ux to windows file transfer is possible or not

 

8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: file transfer

You can use ftp, scp, email or Samba mounts.

rajesh73
Super Advisor

Re: file transfer

pls share command for scp

 

Dennis Handly
Acclaimed Contributor

Re: file transfer

>pls share command for scp

 

You'll need to make sure that ssh is installed on your HP-UX and Windows systems.

Then something like:

scp /home/rajesh/sapdata.csv 'windows-user-id@windows-7-machine:d:\sapdata.csv'

 

It may be easier to use a Samba mount, then you can drag and drop on Windows.

rajesh73
Super Advisor

Re: file transfer

please find the below mentioned error #scp /home/rajesh/sapdata.csv 'admin@wabco.com@10.40.40.24:d:\sapdata.csv'
ssh: connect to host 10.40.40.24 port 22: Connection refused
lost connection
#
Dennis Handly
Acclaimed Contributor

Re: file transfer

>scp /home/rajesh/sapdata.csv 'admin@wabco.com@10.40.40.24:d:\sapdata.csv'

 

You seem to have too many "@".

rajesh73
Super Advisor

Re: file transfer

please find the below mentioned error #scp /home/rajesh/sapdata.csv admin@10.40.40.24:d:\sapdata.csv'
ssh: connect to host 10.40.40.24 port 22: Connection refused
lost connection
#
.
Dennis Handly
Acclaimed Contributor

Re: file transfer

>ssh: connect to host 10.40.40.24 port 22: Connection refused

 

Do you have sshd running on your Windows box?

Bill Hassell
Honored Contributor

Re: file transfer

Windows (any version) does not normally have file transfer processes like ssh or ftp running. You need to verify that you have some sort of product that supports incoming connections to your Windows box. Since this can be a challenging task, it is much simpler to download and install something like WinSCP. With this program you can pull (or push) files on your HP-UX system using either ftp or scp. Get a copy of WinSCP from

 

http://winscp.net/eng/download.php

 

Be sure to avoid the ads and select Installation Package.



Bill Hassell, sysadmin