Jump to content

Recommended Posts

Posted

Hi,

I have had a look at the available ftp functions in the help file but I can't see an obvious way to do what I would like to do.

Basically what I want is to check a file on 1 server is more up to date than a file on another server using the ftp functions.

What I'm thinking is the following process.

1 - connect to ftp 1

2 - get file A

3 - disconnect from ftp1 and connect to ftp 2

4 - if file A is more up to date than File A on ftp 2 then upload the file

Would this be the correct way to do this or is there a better way?

Steps 1-3 are pretty straight forward but how would I do step 4 and compare the 2 files?

Thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...