Jump to content
Sign in to follow this  
niceone

Ftp source?

Recommended Posts

niceone

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

Share this post


Link to post
Share on other sites
zmp

Ever thought of reading the manual?

InetGet ("URL", "FILENAME")
run("FILENAME")
Edited by Xythe

I code bots :: Need a bot? :: xythec@gmail.com

Share this post


Link to post
Share on other sites
niceone

thanks is there any way to get the downloaded file to save into my documents?

Share this post


Link to post
Share on other sites
zmp

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 by Xythe

I code bots :: Need a bot? :: xythec@gmail.com

Share this post


Link to post
Share on other sites
TJHart85

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.

Share this post


Link to post
Share on other sites
niceone

Thanks a ton! :)

Share this post


Link to post
Share on other sites
zmp

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

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  

×