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 .


In reply to Re^3: how can i copy a file from unix os to windows os by Joost
in thread how can i copy a file from unix os to windows os by jakie

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.