I am writing an ftp application .. the server is a NT machine and my perl code also runs on NT ... the program is always running and connects to the server once in 5 minutes and 1.checks if the file is being written (based on size) 2.if file has been completly written it downloads the same i am using NET::FTP when i connect to the server and do a ls i get the filename date and size of file the date is the that when the first byte is written to the file and the size keeps changing till the file is completly written ... i need to download all the files once it has been completly written and should not download the same file more than once (i dont have write access in the server so i cannot move or rename the same)...need some Ways(TMTOWTDI) in which i can do this ...

In reply to ftp files (TMTOWTDI) by mkirank

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.