Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Folks,

I am looking for a Perl script. And Here are my requirements:

- Download files from the FTP server on the local machine and create these all files entries under an empty database.

- Now next time when script will run it should download only the added and
modified files from the FTP server.

case1:
- If filename is not present into DB table, its a new file and download that
file. And update DB table for this file.

case 2:
- If filename's timestamp doesn't match, its a modified file and download
that file. And update DB table for this file.

Note: These files comparison would be from the FTP and Database. and as any new or modified files would be found just copy it under the local machine.

I am really appreciating for this help.


Thanks
Posted
Updated 31-Dec-12 3:22am
v2

1 solution

It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.
 
Share this answer
 
Comments
Sandeep Mewara 1-Jan-13 23:23pm    
Post a new question with all the details - what you tried and where you are stuck and need help. People will surely try to help if they can.

OR

update the current one with your effort. Once done, do tell me and I will remove my comments from here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900