Ok, I just joined today and I am hoping for some great one's to loan me thier infinate wisdom. My work have a new FTP server (running Red Hat Linux 7.0) and they also have a Windows 2k server. They want a script that will transfer files from the FTP server to the Windows box every hour, but also on demand. I would like to know if there is a script out there that I can modify without too much work becuase I haven't touched pearl before. What I need the script to do is to search the FTP server for new files and transfer them over without delete the other files on the Wondows box. I then need the files deleted off of the FTP server. Now, the Windows box can do NFS shares (create them so that people can mount them). My boss doesn't want the share mounted all of the time, so it would have to mount it, transfer the files, then unmount it. Can anyone help me on this?

In reply to Creating a script by kevin79

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.