문제

I see there are two functions in autoit to download files from the internet: inetget and inetread.

What's the difference between the two? The only difference I see is that inetGet has more options and is therefore better.

도움이 되었습니까?

해결책

Inetget() supports background download (your script will continue its work while your file will keep downloading) and returns you a handle you can use with Inetgetinfo(). Inetread can do nothing of this.

Read the manual carefully, everything is described there. :)
By the way, AutoIT's doc is very good to me.

다른 팁

There IS a big difference! InetRead() directly returns the downloaded string, so you can assign it to variable while InetGet needs a filename parameter to store into, so if you periodically get some data it may be better to use inetread instead to prevent hdd usage.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top