Jump to content

Download more files


Recommended Posts

Hi!

I would like made a script that download difference html files at one time.

I use the functions:

InetGetSize()

InetGet()

I would also like get all html in one size:

$Size = InetGetSize("http://www.google.com/index.html")
$Size &= InetGetSize("http://www.google.com/about.html")

But this could not working.

Has anyone a idea?

Greets,

YoseMite

Link to comment
Share on other sites

Hmmm...

I think that:

$Size+=InetGetSize("http://www.google.com/index.html")oÝ÷ Û
+ÉèÁ¹b@n¶Øb±Ú²}ý·
+«­¢+Ø$(ÀÌØíȵÀìõ%¹ÑÐ ÅÕ½Ðí¡ÑÑÀè¼½ÝÝܹ½½±¹½´½½Õй¡Ñµ°ÅÕ½Ðì°ÅÕ½ÐíèÀäÈí½Õй¡Ñµ°ÅÕ½Ðì°À°Ä¤(ÀÌØíȬõ%¹ÑÐ ÅÕ½Ðí¡ÑÑÀè¼½ÝÝܹ½½±¹½´½¥¹à¹¡Ñµ°ÅÕ½Ðì°ÅÕ½ÐíèÀäÈí¥¹à¹¡Ñµ°ÅÕ½Ðì°À°Ä¤

Is that correct?

Link to comment
Share on other sites

From the help file...InetGet()... "background" Parameter

By default the function waits until the download has finished before returning. Sometimes with large downloads this is not always wanted. If the background parameter is set to 1 the function returns immediately and the download continues in the background. When in this mode two macros are used to keep track:

@InetGetActive = 1 while downloading, or 0 when finished.

@InetGetBytesRead = the number of bytes downloaded, or -1 if there has been an error.

Note, only one download can be active at once, if you call the function again before a download is complete it will fail.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...