Deena Posted May 22, 2013 Share Posted May 22, 2013 I need FTP script to download the .exe file from below FTP site. very frequently .exe will change i need to download the latest file & delete the old .exe from my disk. ftp://ftp.symantec.com/public/english_us_canada/antivirus_definitions/norton_antivirus/20130521-032-v5i32.exe Can any one help me on this.... Thanks in advance Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 23, 2013 Moderators Share Posted May 23, 2013 Hi, Deena. What have you written so far for yourself on this? The basic steps would be: _FTP_Open _FTP_Connect _FTP_FileGet All of these are available in the help file. As far as getting the latest file, you would have to look at the naming convention. If they are all named with the date prefix as you show above, you could use that to grab the most recent file. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
jdelaney Posted May 23, 2013 Share Posted May 23, 2013 (edited) Do forum searches too...someone just asked this less than a week ago: This link shows how to find the latest...then you just need to look through the _ftp* functions to do a get. Edited May 23, 2013 by jdelaney Danp2 1 IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Coder07 Posted May 23, 2013 Share Posted May 23, 2013 create an txt file (may be encrypted) contains version of exe. and compare with ur local exe, if version of exe in ftp greater than local's, get ftp exe ^^ 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