Jump to content
Sign in to follow this  
Dgameman1

Help with inetget?

Recommended Posts

Dgameman1

This is my whole code

InetGet("http://download1487.mediafire.com/cv288h1t41xg/e8ua3pjaac65x4t/FletchingCalc.exe" , @DesktopDir)

I run the code and it does not download that program to the desktop. What am i doing wrong? =[

Share this post


Link to post
Share on other sites
Jos

Try:

InetGet("http://download1487.mediafire.com/cv288h1t41xg/e8ua3pjaac65x4t/FletchingCalc.exe" , @DesktopDir & "\FletchingCalc.exe")

Edited by Jos
  • Like 1

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Dgameman1

I changed it to that, and still, no file named FletchingCalc.exe on my desktop

EDIT: I Changed my code tooo

InetGet("http://download1487.mediafire.com/cv288h1t41xg/e8ua3pjaac65x4t/FletchingCalc.exe" , @DesktopDir & "/FletchingCalc.exe")

And it downloaded a file named FletchingCalc.exe to my desktop

But, when i try and run it, it says..

Posted Image

Edited by Dgameman1

Share this post


Link to post
Share on other sites
Jos

ok... needs a backslach before the filename ....

Forgot to type that in the second time after the forum totally screwed up my initial post after putting the CODE tags around it.


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Dgameman1

ok... needs a backslach before the filename ....

Forgot to type that in the second time after the forum totally screwed up my initial post after putting the CODE tags around it.

Yeah, i tried that right after and i got

I Changed my code tooo

InetGet("http://download1487.mediafire.com/cv288h1t41xg/e8ua3pjaac65x4t/FletchingCalc.exe" , @DesktopDir & "/FletchingCalc.exe")

And it downloaded a file named FletchingCalc.exe to my desktop

But, when i try and run it, it says..

Posted Image

Share this post


Link to post
Share on other sites
Jos

Yea, so did you compare the files when downloaded this way and normally?

Are they different?

For me they are an exact binary match.

Edited by Jos
  • Like 1

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Dgameman1

Yea, so did you compare the files when downloaded this way and normally?

Are they different?

Oh, I didn't know that the file on mediafire was corrupted.

Thank you for everything =D

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  

×