Operating System - HP-UX
1830898 Members
3066 Online
110017 Solutions
New Discussion

Re: move file from windows

 
Mousa55
Super Advisor

move file from windows

Hello

how to move file from windows to my server

for example move the file getsysinfo.sh to my server (eg. to /tmp)

thanks
7 REPLIES 7
Matti_Kurkela
Honored Contributor

Re: move file from windows

There are many methods. The question is, which of those methods are enabled in your environment?

By default, HP-UX supports FTP... but it might be disabled or firewalled.

Try using your Web browser to connect to
ftp://your-username@your-server.domain.example

It should ask for your password, then display the directory listing. Move to the directory you wish to transfer the file to, then drag&drop the file to the browser window.

(WARNING: the FTP protocol will transfer your password as plaintext in the network, so anyone who can snoop the network traffic can read your password if you do this.)

Because the end-of-line character on Windows is different from Unix, you may need to run dos2ux to any text file you transfer from Windows to HP-UX. Example: "dos2ux getsysinfo.sh". Do not run dos2ux to binary files: it will corrupt them.

If you have HP-UX CIFS server (or Samba) installed, you can share a directory on your HP-UX as a Windows-style network share. Configuring a CIFS server is a bit too complex for transferring just one file, though.

If you have SSH installed on HP-UX, you could use the free WinSCP program to transfer files (http://winscp.net).

MK
MK
Steven E. Protter
Exalted Contributor

Re: move file from windows

Shalom,

Standard in hpux is ftp. standard in windows is an ftp client. There are also free gui clients you can install on windows.

This is the simple way to move a file.

There are other major categories that might fit your needs:

CIFS/samba (built into windows available for HP-UX via http://software.hp.com )

NFS (No built in windows client)

openssh (Free server and client for windows)

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
Reshma Malusare
Trusted Contributor

Re: move file from windows

Hi Nejad,
Simple way is FTP..

You can also go for CIfs/samba which has windows platform...

Thanks & Regards
Reshma
spex
Honored Contributor

Re: move file from windows

Hi Nejad,

In order of increasing difficulty of configuration on client and server:
* FTP (via Windows 'ftp' command or FileZilla client)
* SCP (via WinSCP3)
* CIFS/SMB (via Windows CLI or Windows Explorer)
* NFS (via Windows Services for UNIX and Windows Explorer)

PCS
Steven Schweda
Honored Contributor

Re: move file from windows

Nothing in the question precludes using a
non-network method, such as a CD, DVD, floppy
disk, USB flash drive, tape (magnetic,
punched paper, ...), barcode on paper, and so
on.

A more precise description of the problem
(including which version of "windows") would
make it easier to provide a useful answer.
Court Campbell
Honored Contributor

Re: move file from windows

if you are running ssh on the hpux box you could download winscp for windows and use it to copy the file to the server.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Andy Torres
Trusted Contributor

Re: move file from windows

If you use PuTTY on your server look under the installation directory for the pscp.exe utility. Very useful for secure remote file transmissions.