Sign in to follow this  
Followers 0
PcExpert

Ftp Download

6 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

[center]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.[/center]

Share this post


Link to post
Share on other sites

Thanks, it works. But now the traytip doesn't work anymore

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 by ChrisL
1 person likes this

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