vbMark Posted June 7, 2005 Share Posted June 7, 2005 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! Link to comment Share on other sites More sharing options...
flyingboz Posted June 8, 2005 Share Posted June 8, 2005 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now