Guest Posted April 17, 2014 Share Posted April 17, 2014 (edited) i was creating a program to download files from a website... it works fine with "normal" files however the website i desire it to function with got a special plugin called "IP.Downloads" so i'm wondering if anyone here got the brains to figure it out also. -i will not be posting the website as i'm not allowed to do that (not illegal stuff so don't worry) #include <InetConstants.au3> #include <MsgBoxConstants.au3> ; Download a file in the background. ; Wait for the download to complete. Script() Func Script() ; Save the downloaded file to the folder. ;url= is well...url... $url="*secret*/public/js/3rd_party/swfupload/swfupload.swf" ;dest=destination and file name $dest="C:\Users\jamilnielsen\Desktop\swfupload.swf" Local $sFilePath = $dest ; Download the file in the background with the selected option of 'force a reload from the remote site.' Local $hDownload = InetGet($url,$dest, $INET_FORCERELOAD, $INET_DOWNLOADBACKGROUND) ; Wait for the download to complete by monitoring when the 2nd index value of InetGetInfo returns True. Do Sleep(250) Until InetGetInfo($hDownload, $INET_DOWNLOADCOMPLETE) ; Retrieve the number of total bytes received and the filesize. Local $iBytesSize = InetGetInfo($hDownload, $INET_DOWNLOADREAD) Local $iFileSize = FileGetSize($sFilePath) ; Close the handle returned by InetGet. InetClose($hDownload) ; Display details about the total number of bytes read and the filesize. MsgBox($MB_SYSTEMMODAL, "", "The total download size: " & $iBytesSize & @CRLF & _ "The total filesize: " & $iFileSize) EndFunc Edited April 17, 2014 by Guest Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 17, 2014 Moderators Share Posted April 17, 2014 How is anyone able to help if you don't post where you're trying to pull it from? Did you really think that through? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Guest Posted April 17, 2014 Share Posted April 17, 2014 (edited) i could pm the website perhaps...but rules say that websites containing adult content are not allowed here.also i guessed people would use intelligence to find a similar website using the same plugin and use that as source material.here's a link to the plugin i'm trying to bypassand i guess if i encrypt the website in a code i guess i could give the link anyway BINARY encodedguess i could add some warning text to it.Warning by decoding the Binary encoded link you agree to being an adult and that this does not conflict with the rules of this forum Edited April 17, 2014 by Guest Removed link Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 17, 2014 Moderators Share Posted April 17, 2014 (edited) i could pm the website perhaps...but rules say that websites containing adult content are not allowed here. If you're asking to do something with adult content, which the forum rules forbid (as you yourself point out), why would you post it?! Seems like a lack of common sense. Edit: I see now the second line you added to your post. It is still against the rules when you yourself state it involves adult websites. Edited April 17, 2014 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Guest Posted April 17, 2014 Share Posted April 17, 2014 (edited) at this current moment its not a linkits a binary code all i want is some help from people who are intelligent enough to help :/...and this is one of the best bets.besides its not about the website itself its about the damn plugin....there is no need to mention the website in the first place. besides if you want to get down to rules then let me CORRECT you"2. Do not post material that could be considered pornographic, violent or explicit - or express personal opinions that would not be acceptable in a civilized society. Do not to post any copyrighted material unless the copyright is owned by you or by this site."i have not posted any content that could be considered any of those.using algorithms to make sections of what i post have different meaning is none of my responsibility as any text can become anything with the proper algorithm. i'm not here to discuss rules.i'm here seeking help.here's what i seek in short words.i seek/challenge someone to find a way to download files managed by the website plugin "ip.download" with coding. Edited April 17, 2014 by Guest Removed "shouting" BB codes Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 17, 2014 Moderators Share Posted April 17, 2014 jamilnielsen, i'm not here to discuss rulesIf you keep pressing the "self-destruct button" as often as you have so far in this thread you will not be here at all.The rules are quite clear - you are knowingly seeking to bypass them. Do not try again - seek your cheap thrills in other ways and elsewhere. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts