Jump to content

Recommended Posts

Posted

Hi . This is what a want to do.

I have this web page http://www.skystar-2.com/

and i want to download a file which is there, the file SoftCam.key.rar

so I need this http://www.skystar-2.com/download/softcam.key.rar

I write

INetGet('http://www.skystar-2.com/download/softcam.key.rar' @ScriptDir &'\softcam.key.rar')

Exit

It looks like it is working, the file softcam.key.rar is beeing created in my folder, but it doesnt opened with winrar. (the real file should be 50 kb, but this is only 25)

What im i doing wrong? Can anybody help ? Thanks ,

Posted

Hi . This is what a want to do.

I have this web page http://www.skystar-2.com/

and i want to download a file which is there, the file SoftCam.key.rar

so I need this http://www.skystar-2.com/download/softcam.key.rar

I write

INetGet('http://www.skystar-2.com/download/softcam.key.rar' @ScriptDir &'\softcam.key.rar')

Exit

It looks like it is working, the file softcam.key.rar is beeing created in my folder, but it doesnt opened with winrar. (the real file should be 50 kb, but this is only 25)

What im i doing wrong? Can anybody help ? Thanks ,

your saveing http://www.skystar-2.com/ homepage in softcam.key.rar extension becose they have redirect protection, do you have maby some other site to download from?

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Posted

your saveing http://www.skystar-2.com/ homepage in softcam.key.rar extension becose they have redirect protection, do you have maby some other site to download from?

Thanks for the reply. I was expecting this.. No i dont have any other site.. Is there any way to bypass this problem?

Thanks,

Posted

Ok thanks , I found another solution by using another program, the wget.exe if anyone knows it ,and calling it with dos commands form autoit3 finally..

The final code is this in my pc . Perhaps it is useful to others if anyone understand what is doing....

RunWait(@ComSpec & ' /c wget -P D:\FREE\skystar\softcamget\temp --referer=http://www.skystar-2.com

http://www.skystar-2.com/download/SoftCam.key.rar', "", @SW_HIDE)

RunWait(@ComSpec & ' /c unrar x -o+ D:\FREE\skystar\softcamget\temp\SoftCam.key.rar D:\FREE\skystar\softcamget\temp\', "", @SW_HIDE)

RunWait(@ComSpec & ' /c copy D:\FREE\skystar\softcamget\temp\Vplug\*.* D:\FREE\skystar\ProgDVB4\Plugins\ /y', "", @SW_HIDE)

RunWait(@ComSpec & ' /c copy D:\FREE\skystar\softcamget\temp\S2emu\*.* D:\FREE\skystar\ProgDVB4\Plugins\ /y', "", @SW_HIDE)

RunWait(@ComSpec & ' /c copy D:\FREE\skystar\softcamget\temp\SoftCam.Key D:\FREE\skystar\ProgDVB4\Plugins\SoftCam.Key', "", @SW_HIDE)

RunWait(@ComSpec & ' /c del D:\FREE\skystar\softcamget\temp\SoftCam.key.rar', "", @SW_HIDE)

In the folder D:\FREE\skystar\softcamget i put the script and i also have the wget.exe and UnRAR.exe

  • 2 weeks later...
Posted (edited)

Ok thanks , I found another solution by using another program, the wget.exe if anyone knows it ,and calling it with dos commands form autoit3 finally..

The final code is this in my pc . Perhaps it is useful to others if anyone understand what is doing....

RunWait(@ComSpec & ' /c wget -P D:\FREE\skystar\softcamget\temp --referer=http://www.skystar-2.com

http://www.skystar-2.com/download/SoftCam.key.rar', "", @SW_HIDE)

RunWait(@ComSpec & ' /c unrar x -o+ D:\FREE\skystar\softcamget\temp\SoftCam.key.rar D:\FREE\skystar\softcamget\temp\', "", @SW_HIDE)

RunWait(@ComSpec & ' /c copy D:\FREE\skystar\softcamget\temp\Vplug\*.* D:\FREE\skystar\ProgDVB4\Plugins\ /y', "", @SW_HIDE)

RunWait(@ComSpec & ' /c copy D:\FREE\skystar\softcamget\temp\S2emu\*.* D:\FREE\skystar\ProgDVB4\Plugins\ /y', "", @SW_HIDE)

RunWait(@ComSpec & ' /c copy D:\FREE\skystar\softcamget\temp\SoftCam.Key D:\FREE\skystar\ProgDVB4\Plugins\SoftCam.Key', "", @SW_HIDE)

RunWait(@ComSpec & ' /c del D:\FREE\skystar\softcamget\temp\SoftCam.key.rar', "", @SW_HIDE)

In the folder D:\FREE\skystar\softcamget i put the script and i also have the wget.exe and UnRAR.exe

Thanks, this helped me a lot :)

wget.exe is a useful piece of software. It would be nice to have some of its features in autoit's InetGet()

Edited by footswitch

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...