Jump to content
Sign in to follow this  
vbMark

FTP question

Recommended Posts

I need to see if the file on the FTP server is newer than the local one before I download it. Can I do this and how?

Thanks!

Share this post


Link to post
Share on other sites

get the file listing, do the date comparison, then branch accordingly. if you're going to be doing a lot of this kind of thing , or are doing it "for real", i.e. production mode file transfers based on date/time stamp etc.... I would strongly recommend a copy of Kermit 95 (not free, but cheap), which has its own extremely robust scripting language and a dedicated community of helpful users. Kermit is available on virtually every platform known to man, and can handle a wide variety of setups. I have yet to find something I couldn't talk w/ using kermit. mebbe I had to compile it first... :(

If you're just trying to knock out a little personal use project, ncftp is a nice little tool, or you can automate the builtin ms ftp client.


Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...