<html><head><title></title></head><body><Hi friends,well thank you of all your answer.I finally get my program run right after all.
Since ,TIMTOWTDI,I did it using the same program I post,but with different arrangement.
From what I understand from tye,I think my algorithm is right from first place,but when it is run inside the computer,then the internal working of processing the algorithm is not run very well.
I do not know very detailed about this,but I think I got idea about it.
It might be something involving the buffer and the speed the perl program is interpreted.Before the process to FTP the file is done,completely,the file has been unlink inside the buffer which is used to send the file to other server.Please correct me if I am wrong.
So,that's why there is the time delay between the execution.
C:\Perl\bin>perl file.pl File x.wml has been transferred <br> File y.wml has been transferred <br> File z.wml has been transferred <br> <--Time delay around 3 seconds--> <--The file is inside the output buffer to be send--> <--while waiting to the remotehost to open port or connection,the unli +nk process has unlink all the files--> <--when the remotehost has give permission to enter the server,the fil +es has already been deleted--> <--So,that's why the error mesage below is sent--> x.wml: File not found y.wml: File not found z.wml: File not found <--mission 1 which is to send the files to other server is not accompl +ished--> C:\perl\bin>

So,what I did is ,I put the unlink process above the ftp proces,so each time the new files are been transferred,the program will delete the previous files which have been transferred already,and then go to ftp the new files.
This means that,after the new files have been transferred,it will not be deleted,until another user run the program again.So,I can check what is the files the user has transferred.If the server cannot be connected,the files whic are selected to transfer is not deleted yet inside the localhost.So,I can take the files and then transfer it manually,by using the e-mail etc,since it is not been deleted yet.
Anyway,now the program is working fine.Thanks for all your supports.
V R E M P I R E
P/S:Get the idea while washing the clothes, ;) </body></html>

In reply to Re: Confuse and lost in Transfer files process by vrempire
in thread Confuse and lost in Transfer files process by vrempire

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.