Sign in to follow this  
Followers 0
iHonda

Inetget help

4 posts in this topic

#1 ·  Posted (edited)

Well im trying to get a file from my web site using the inetget function but for some reason when i go to search for the file i cant find it and the link being created to it in the script doesnt work. heres the script if u could tell me what i did wrong and how to fix it or where i can go to figure it out it would be highly appreciated

DirCreate(@ProgramsDir & "\Screen Cover")
InetGet("ftp://www.hondadesigns.com/programs/scripts/autoit/Screen Cover.exe", @ProgramsDir & "\Screen Cover\Screen Cover.exe", 1, 1)
While @InetGetActive
    TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16)
    Sleep(200)
WEnd
TrayTip("Downloading", "Download Complete...", 10, 16)
TrayTip("Downloading", "Now Installing...", 10, 16)
FileCreateShortcut(@ProgramsDir & "\Screen Cover\Screen Cover.exe", @ProgramsDir & "\Screen Cover\Screen Cover.lnk")
Edited by Zmaster

A great place to start Autoit 1-2-3

Share this post


Link to post
Share on other sites



1 ) Make sure the file exists because i can't seems to be able to access it

2 ) Make sure you have the correct permission to do so remotely

Share this post


Link to post
Share on other sites

i already checked my server i know its there because if i type that address exactly as it is it prompts for the download.


A great place to start Autoit 1-2-3

Share this post


Link to post
Share on other sites

"ftp://www.hondadesigns.com/programs/scripts/autoit/Screen Cover.exe"

Is that a space between 'Screen' and 'Cover'?

This will not work. Change it to something else i.e. underscore.

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