Davide9 Posted December 29, 2013 Posted December 29, 2013 (edited) Can i get all files from a web directory? Whit inetget() i can get a file, but i want to get all files from the directory.. Edited December 29, 2013 by Davide9
Davide9 Posted December 29, 2013 Author Posted December 29, 2013 (edited) The files into directory will change but the source code no.. Edited December 29, 2013 by Davide9
Danp2 Posted December 29, 2013 Posted December 29, 2013 So, what's stopping you from reading in the directory, parsing the available files, and then downloading them one by one? Latest Webdriver UDF Release Webdriver Wiki FAQs
Developers Jos Posted December 29, 2013 Developers Posted December 29, 2013 This would only be possible when the target website allows for Directory browsing. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Danp2 Posted December 29, 2013 Posted December 29, 2013 True, but he will have to get the filenames from somewhere in order to download them with Inetget. Latest Webdriver UDF Release Webdriver Wiki FAQs
Danp2 Posted December 30, 2013 Posted December 30, 2013 From what website are you attempting to download the files? It is difficult to answer your questions without more details. Latest Webdriver UDF Release Webdriver Wiki FAQs
Moderators JLogan3o13 Posted December 30, 2013 Moderators Posted December 30, 2013 Davide9, based on your recent posts, and the startlingly similar lack of information in this post, let's hope you've taken the forum rules to heart. Please explain in detail what files you're trying to get, and from which site. "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!
Davide9 Posted December 30, 2013 Author Posted December 30, 2013 (edited) I want to create an auto update software, but i need downloadallfolder() function.. I want get all images, sound, dlls included in my software, for update it.. $LastVersion = BinaryToString(InetRead("http://mysite.com/version.php")) $Version = 1.0.0 If $LastVersion > $Version Then downloadallfolder('http://mysite.com/updates') MsgBox(0, 'Updated', 'All updates have been downloaded') Run('myapp.exe') Else MsgBox(0,"No update found", 'this exe will be close') Exit EndIf Edited December 30, 2013 by Davide9
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