|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Confuse and lost in Transfer files processby vrempire (Sexton) |
| on Sep 22, 2000 at 00:25 UTC ( [id://33590]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
<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.
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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||