niceone Posted May 7, 2007 Share Posted May 7, 2007 Does anyone have a ftp source for downloading a file and running it from a ftp? My search button isnt working on mozilla or IE. Thanks Link to comment Share on other sites More sharing options...
zmp Posted May 7, 2007 Share Posted May 7, 2007 (edited) Ever thought of reading the manual? InetGet ("URL", "FILENAME") run("FILENAME") Edited May 7, 2007 by Xythe I code bots :: Need a bot? :: xythec@gmail.com Link to comment Share on other sites More sharing options...
niceone Posted May 7, 2007 Author Share Posted May 7, 2007 thanks is there any way to get the downloaded file to save into my documents? Link to comment Share on other sites More sharing options...
zmp Posted May 7, 2007 Share Posted May 7, 2007 (edited) thanks is there any way to get the downloaded file to save into my documents? This should work InetGet ("URL", "PATH/FILENAME") Ex. InetGet ("http://www.google.com","c:\documents and settings\USERNAME\My Documents\foo.html") I strongly suggest that you even peek at the help file that comes along AutoIt Edited May 7, 2007 by Xythe I code bots :: Need a bot? :: xythec@gmail.com Link to comment Share on other sites More sharing options...
TJHart85 Posted May 7, 2007 Share Posted May 7, 2007 Once again, did you try reading the manual? InetGet("USER:PASS@ftp://www.autoitscript.com\FILE.EXE", @MyDocumentsDir & "\FILE.exe", 1) This should work. A little bit of modification from the manual & thats what you get. Haven't tested it & have no mind to, but it should work with minimal modification. Link to comment Share on other sites More sharing options...
niceone Posted May 7, 2007 Author Share Posted May 7, 2007 Thanks a ton! Link to comment Share on other sites More sharing options...
zmp Posted May 7, 2007 Share Posted May 7, 2007 InetGet("USER:PASS@ftp://www.autoitscript.com\FILE.EXE", @MyDocumentsDir & "\FILE.exe", 1)ftp://USER:PASS@blabla Hmm I have to learn all the @Variables I code bots :: Need a bot? :: xythec@gmail.com Link to comment Share on other sites More sharing options...
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