Click here to Skip to main content
11,926,933 members (54,328 online)
Rate this:
Please Sign up or sign in to vote.
See more: Perl
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.

- 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.

Posted 31-Dec-12 1:45am
Edited 31-Dec-12 4:22am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
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.


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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 31 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100