Sign in to follow this  
Followers 0
Davide9

Get all files from web directory

10 posts in this topic

#1 ·  Posted (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 by Davide9

Share this post


Link to post
Share on other sites



Use a loop?


Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

The files into directory will change but the source code no.. 

Edited by Davide9

Share this post


Link to post
Share on other sites

So, what's stopping you from reading in the directory, parsing the available files, and then downloading them one by one?

Share this post


Link to post
Share on other sites

True, but he will have to get the filenames from somewhere in order to download them with Inetget.

Share this post


Link to post
Share on other sites

Can i download an online folder? 

Share this post


Link to post
Share on other sites

From what website are you attempting to download the files? It is difficult to answer your questions without more details.

Share this post


Link to post
Share on other sites

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.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#10 ·  Posted (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 by Davide9

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  
Followers 0