Davide9 0 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 Share this post Link to post Share on other sites
MadaraUchiha 1 Posted December 29, 2013 Use a loop? Share this post Link to post Share on other sites
Davide9 0 Posted December 29, 2013 (edited) The files into directory will change but the source code no.. Edited December 29, 2013 by Davide9 Share this post Link to post Share on other sites
Danp2 910 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? [UDF] WebDriver Latest version Wiki FAQs Share this post Link to post Share on other sites
Jos 2,214 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. Share this post Link to post Share on other sites
Danp2 910 Posted December 29, 2013 True, but he will have to get the filenames from somewhere in order to download them with Inetget. [UDF] WebDriver Latest version Wiki FAQs Share this post Link to post Share on other sites
Davide9 0 Posted December 30, 2013 Can i download an online folder? Share this post Link to post Share on other sites
Danp2 910 Posted December 30, 2013 From what website are you attempting to download the files? It is difficult to answer your questions without more details. [UDF] WebDriver Latest version Wiki FAQs Share this post Link to post Share on other sites
JLogan3o13 1,640 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! Share this post Link to post Share on other sites
Davide9 0 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 Share this post Link to post Share on other sites