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

In addition to the solutions mentioned above, if you share a directory-tree from a unix machine with windows machines using samba, all you have to do is write the file to, and read it from, to right location.

Or you can run a web-server on the unix side, and run LWP::Simple on the client side. Anyway, you're too vague. Please answer one or more of the folowing questions:

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

Replies are listed 'Best First'.
Re^2: how can i copy a file from unix os to windows os
by jakie (Initiate) on Jun 15, 2004 at 09:19 UTC
    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
      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 .