PcExpert Posted April 15, 2006 Posted April 15, 2006 Hello, I've made a program. Now I want that it downloads updates from my home FTP Server. I already took a look at the FTP.au3, but I don't really know how to get it to work. So can someone post a example of that. and you must login with a username and password at the server.
Moderators SmOke_N Posted April 15, 2006 Moderators Posted April 15, 2006 Hello,I've made a program. Now I want that it downloads updates from my home FTP Server. I already took a look at the FTP.au3, but I don't really know how to get it to work. So can someone post a example of that. and you must login with a username and password at the server.Do a search for FTP.au3 in the support forum PcExpert. You will get more than enough post to help you, and maybe even answer future questions. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
ChrisL Posted April 15, 2006 Posted April 15, 2006 inetget ("Ftp://username:password@ftp.URL.co.uk","file.zip",1,1) [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
PcExpert Posted April 16, 2006 Author Posted April 16, 2006 Thanks, it works. But now the traytip doesn't work anymore
fearlumsk Posted April 16, 2006 Posted April 16, 2006 Traytip for what? InetGet Blocks everything else. I got the same Problems. To fix it i Made two Programms. One Mainprogram and one that only downloads. Something like this: while 1 $line = FileReadLine($file) If @error = -1 Then ExitLoop if StringLen($line) > 1 then start($line,0) dim $ProcessList = ProcessList("AutoIt3.exe") while $ProcessList[0][0] > 30 sleep(1000) $ProcessList = ProcessList("AutoIt3.exe") WEnd $filenumber = $filenumber+1 GUICtrlSetData($FilenumberGUI, "Files Loaded: "& $filenumber & "/" & $lineComplete) EndIf WEnd As you can see i added a GUI instead a Popup. But that should work too
ChrisL Posted April 16, 2006 Posted April 16, 2006 (edited) Thanks, it works. But now the traytip doesn't work anymore inetget ("Ftp://username:password@ftp.URL.co.uk","file.zip",1,1) While @InetGetActive TrayTip("Downloading File.zip", "Bytes = " & @InetGetBytesRead, 10, 17) Sleep(10) Wend Edited April 16, 2006 by ChrisL Belgium 1 [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now