in reply to Re: how can i copy a file from unix os to windows os
in thread how can i copy a file from unix os to windows os

hi,

1) there are two different systems were one is

installed by Unix Operating System and another

one is installed by Windows Operating System.

2)regarding the connection the Unix system is

in Public Ip where the Windows system is in

Private Ip

3) both the Operating systems are not running on

the same machine

4) Actually i want to access a file which is in

the Unix System from my Windows System.....

*** How can i do a share directory-tree from a

unix machine with windows machines using samba

Kindly reply to this

Thanks in advance

Jakie
  • Comment on Re^2: how can i copy a file from unix os to windows os

Replies are listed 'Best First'.
Re^3: how can i copy a file from unix os to windows os
by Joost (Canon) on Jun 15, 2004 at 09:34 UTC
    Samba is a unix package that allows you to share directories that look to the windows machines like normal "shared folders", so you don't need any special software installed on the windows clients. I would not recommend to use it on a publicly accessible machine, however, for the same reasons you don't use shared folders on a publicly available windows machine.

    If you want to get the file off your unix machine from another machine, either install an FTP server on the unix machine and download it using Net::FTP or LWP, install a web-server and download using LWP, or - if you want to have encrypted connections, install an SSH server and use an SSH client library - or do system("scp user@remote:/file/path /local/path") if you have ssh and scp installed locally. Personally I like the ssh client programs from http://www.cygwin.com. If you want to run ssh without having to enter the password each time, you can set up public key authentication .