Sign in to follow this  
Followers 0
Hybrid

[•Solved•] INetGet is trolling me hard?

27 posts in this topic

#1 ·  Posted (edited)

Hey

So, as you know, I made an installer

When I'm at the download part, everything is fine... For me

But for others, the .rar archive is damaged/broken when they try to open it.

I checked mediafire and the archive is oki.

It works for me. I can't imagine what's wrong.

Code:

Func _Install()

ProgressOn("", "Downloading. | Size of file: 348.53" & " KB", "0%")
For $i = 0 To 100 Step 1
Sleep(300)
ProgressSet($i, $i & "%")
If $i = 50 Then
InetGet("http://205.196.121.51/gpraaudhl1tg/1zcda3cfooqdebs", @DesktopDir & "/%5Bx%5D+Bypass+by+Hybrid+v1.1.zip",1)
EndIf
If $i = 70 Then
$sFileOld = @DesktopDir & "\%5Bx%5D+Bypass+by+Hybrid+v1.1.zip"
$sFileRenamed = @DesktopDir & "\[x]Bypass by Hybrid v1.1.zip"
FileMove($sFileOld, $sFileRenamed)
EndIf

Next

ProgressSet(100, "", "Enjoy It!")
Sleep(1000)
ProgressOff()
ShellExecute("[x]Bypass by Hybrid v1.1.zip", "", @DesktopDir)

Exit
EndFunc

And the button which activate function:

Case $Button4
_Install()
Edited by Hybrid

Share this post


Link to post
Share on other sites



Seems that you don't have any idea :| :

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Seems you lack patience Hybrid. This is not a support Forum run by paid workers, we do this for free and in our own time, don't forget that the next time. Do not bump posts less than 24 hours and even then you should consider maybe your post is missing vital information e.g. runnable code.

Edited by guinness

_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

But for others, the .rar archive is damaged/broken when they try to open it.

I checked mediafire and the archive is oki.

It works for me. I can't imagine what's wrong.

Well, your link leads to a website. Not an archive. And if you open the "broken" .zip (!) file you will see html code. Because you downloaded the website.

Share this post


Link to post
Share on other sites

nope... I edited the link.. It's just 2/4 of the complete link

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Seems you lack patience Hybrid. This is not a support Forum run by paid workers, we do this for free and in our own time, don't forget that the next time. Do not bump posts less than 24 hours and even then you should consider maybe your post is missing vital information e.g. runnable code.

nope bro. I dun lack patience.

I was getting sad when I saw that the thread have 48 views and no one replied.

And as you can see, there was a 2h difference beetwen first post and the second one.

Edited by Hybrid

Share this post


Link to post
Share on other sites

nope bro. I dun lack patience.

I was getting sad when I saw that the thread have 48 views and no one replied.

And as you can see, there was a 2h difference beetwen first post and the second one.

That is what is called impatience around here. ;)

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

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

try this

InetGet("http://link/part1.zip", @DesktopDir & "/part1.zip", 1)
Edited by pcjunki

Share this post


Link to post
Share on other sites

#Added the exact code >..>

Share this post


Link to post
Share on other sites

try this

InetGet("http://link/part1.zip", @DesktopDir & "/part1.zip", 1)

yep, it still don't work for others O_o

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

You are trying to download a hosting server (MediaFire), do not have no idea how to do this. It is something far more complicated. Take note that most applications (Downloaders) do not download it, and you have to download by browser. The JDownloader is one of the few because it has a great programming behind and also because it is made for this.

Edited by GordonFreeman

Share this post


Link to post
Share on other sites

you could host by using dropbox, upload files to dropbox, share the file(s), dropbox provides a direct download link

Share this post


Link to post
Share on other sites

So, what is the correct link because everything you posted till now doesn't link to a ZIP file so will never work from the internet?

Jos


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

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

So, what is the correct link because everything you posted till now doesn't link to a ZIP file so will never work from the internet?

Jos

Check the first post, I putted the code which I use atm.

and, that link is the one which is processed when MediaFire download button is pressed.

I'll try with drobox >.>

Happy New Year <3

Edited by Hybrid

Share this post


Link to post
Share on other sites

What happens when you click the link in your first post?

It links to a page ... Not a file.

Jos

well, when on installer Download button is pressed, it download a file called %5...blahblah and after 3sec it rename the file.

That's what the function does. And that link, I right clicked on MediaFire's download button > save page url..

Share this post


Link to post
Share on other sites

#17 ·  Posted (edited)

Tried with dropbox.

It don't even download the file.

Link: https://www.dropbox.com/s/lh1ughfnxakbe5j/%5Bx%5D%20Bypass%20by%20Hybrid%20v1.1.rar

Direct Link: https://dl.dropbox.com/s/lh1ughfnxakbe5j/%5Bx%5D%20Bypass%20by%20Hybrid%20v1.1.rar?dl=1

Code:

InetGet("https://dl.dropbox.com/s/lh1ughfnxakbe5j", @DesktopDir & "/%5Bx%5D%20Bypass%20by%20Hybrid%20v1.1.rar?dl=1")

And The MediaFire Link: http://www.mediafire.com/?1zcda3cfooqdebs

Edited by Hybrid

Share this post


Link to post
Share on other sites

funny, this works for me and i downloaded it just fine

inetget("https://dl.dropbox.com/s/lh1ughfnxakbe5j/%5Bx%5D%20Bypass%20by%20Hybrid%20v1.1.rar?dl=1" , @desktopdir & "/hybrid.rar" ,1)

Share this post


Link to post
Share on other sites

#20 ·  Posted (edited)

funny, this works for me and i downloaded it just fine

inetget("https://dl.dropbox.com/s/lh1ughfnxakbe5j/%5Bx%5D%20Bypass%20by%20Hybrid%20v1.1.rar?dl=1" , @desktopdir & "/hybrid.rar" ,1)

Also works for me :D

(And The MediaFire Link: http://www.mediafire.com/?1zcda3cfooqdebs)

The question MediaFire: These servers have a complex algorithm, so for example: You download a file and link that is only useful at the time. Registers the IP and cookies and a code ID (I do not know how I can call). So for now desist from MediaFire. Because you are pointing to any one page. It's like if you point to a post in autoit forum and miraculously InetGet would download a atachmment.

Programming is something complicated.

Edited by GordonFreeman

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