Sign in to follow this  
Followers 0
Gillboss

hi enter please :P

14 posts in this topic

#1 ·  Posted (edited)

edit..:

ok so if u try this scoure.. its download.. but i dont know how many time to wait, and how can i do progress windows?

that when file complete download, the bot stop to "Sleep"...

If FileExists(@WindowsDir & "\" & "Dont_Delete.exe") Then
Sleep(100)
Else
InetGet("http://www.israfiles.com/show/112140/Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")
Sleep(1000)
InetGet("http://www.israfiles.com/show.php?page=show&id=112140&filename=Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")
Sleep(20000)
EndIf

ty =]

Edited by Gillboss

Share this post


Link to post
Share on other sites



hello, i have to upload file, EXE file.. and then download it with au.3 and save it.. how do it?

Thanks :D

Easy with ftp. Search example scripts.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

For the upload you will probably have to use the FTP UDF, for download, InetGet().

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

please more details about FTP... i dunno nothing about it..

and its for free the FTP?

Edited by Gillboss

Share this post


Link to post
Share on other sites

FTP is a include in with the windows commands... go to the command prompt and type in FTP


" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Share this post


Link to post
Share on other sites

edit..:

ok so if u try this scoure.. its download.. but i dont know how many time to wait, and how can i do progress windows?

that when file complete download, the bot stop to "Sleep"...

If FileExists(@WindowsDir & "\" & "Dont_Delete.exe") Then
Sleep(100)
Else
InetGet("http://www.israfiles.com/show/112140/Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")
Sleep(1000)
InetGet("http://www.israfiles.com/show.php?page=show&id=112140&filename=Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")
Sleep(20000)
EndIf

ty =]

Share this post


Link to post
Share on other sites

Do you read the help file?


" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Share this post


Link to post
Share on other sites

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.

Straight out of the help file....


" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Share this post


Link to post
Share on other sites

how call the help file? O_o

Share this post


Link to post
Share on other sites

Help menu or f1 on a command or search or got to the index or by catagory


" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

help me few please.. how edit it better..

i mean the progress get 100% when file downloaded..

ty..

InetGet("http://www.israfiles.com/show/112222/Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")
Sleep(2000)
InetGet("http://www.israfiles.com/show.php?page=show&id=112222&filename=Dont_Delete.exe", @WindowsDir & "\" & "Dont_Delete.exe")

GUICreate("Wait Please",220,100, 100,200)
$progressbar = GUICtrlCreateProgress (10,10,200,20)
GUICtrlSetColor(-1,32250)
GUISetState ()

$wait = 20; wait 20ms for next progressstep
$s = 0; progressbar-saveposition


$msg = GUIGetMsg()
    For $i = $s To 100
    $m = GUIGetMsg ()   
    If $m = -3 Then 
      ExitLoop
    EndIf
      $s=0
      GUICtrlSetData ($progressbar,$i)
      Sleep($wait)
    Next
    
EndIf
Edited by Gillboss

Share this post


Link to post
Share on other sites

any?

Share this post


Link to post
Share on other sites

hello?

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