System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Data transfer from Unix to Windows

Addy73
Occasional Visitor

Data transfer from Unix to Windows

Hey,

I have some executables in unix that helps me to collect data from the current directory(useful data) and then populate the result into an xml/xlsx file. Now every time i run some tests i have to transfer a new file(xml/xlsx) from Windows to unix and run the script. To view the results I again have to transfer the back to windows. But still need a solution for the same.
6 REPLIES
Basheer_2
Trusted Contributor

Re: Data transfer from Unix to Windows

If you want to view the files in unix, use the mozilla browser which is installed in /opt

or small script without the password to ftp/scp files between windows and unix
Laurent Menase
Honored Contributor

Re: Data transfer from Unix to Windows

is the script run on windows or hpux

if run on windows, then, cygwin rcp/scp can help you


if run on hpux, cygwing ssh server can help you.

there are also a pair of ftp or http server which exists on windows which could be use like that.

the other ways are mounting smb shares between hpux and windows.

if there is a user interaction on windows,
browser oriented application is a good solution

Jean-Luc Oudart
Honored Contributor

Re: Data transfer from Unix to Windows

Hi

sharing files between windows and HP can be done with HP CIFS

see doc :
http://www.docs.hp.com/en/B8724-90079/index.html

sw download : http://h20392.www2.hp.com/portal/swdepot/displayProductsList.do?category=NSM

many forum threads on the subject eg http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1324744

search for HP CIFS or samba

Regards
Jean-Luc
fiat lux
Suraj K Sankari
Honored Contributor

Re: Data transfer from Unix to Windows

Hi,

To see your xml files you can use mozilla browser just login to your system from CDE and use mozilla.

Suraj
subodhbagade
Regular Advisor

Re: Data transfer from Unix to Windows

Hi,

To copy the data from/to unix and window you can use "ftp" get/put command also you can try following tool to transfet the data

(1)filezilla
(2)winscp

This tool is easy to use, you can drag and drop the data easily also you can see how much % has been copied.


(3)scp - secure copy between hosts.

# scp -p file hostb:/destination
#scp -p file remotehost or ip:/destination
See more info and examples in following link.

http://acs.ucsd.edu/info/scp.shtml

(4)rcp Remote copy

rcp -pr file remotehost or ip:/destination

Hopes this will help you.

Regards
Subodh.
Steven E. Protter
Exalted Contributor

Re: Data transfer from Unix to Windows

Shalom,

I think the best way to handle this is to use rsync on HP-UX to handle the sync.

rsync will only tranfer new files, and will not transfer files that are the same on both systems.

http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/rsync-3.0.6/

http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/librsync-0.9.7/

Pay attention to the dependencies in the links above, download everything for your HP-UX system and install them all. The depots are in sd-ux format and can be installed on the command line, by root user. They come with instructions.

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