Ilounah Posted May 1, 2013 Share Posted May 1, 2013 Hello guys, I have this code:InetGetto download some pictures or file but after i download it looks like it is corrupted like unfinish download should I put Sleep after InetGet before exit or InetGet can stand alone because seems all my downloads are not working, or maybe the file hosting are not applicable im using some direct link download thanks. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 1, 2013 Moderators Share Posted May 1, 2013 Gilva, you have precisely one word of code shown, do you really think we can do anything to assist? How about you provide example code showing a file or file(s) you're downloading (or a reproducer if you don't want to post the entire code)? Help us help you "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...
water Posted May 1, 2013 Share Posted May 1, 2013 No Sleep etc. needed. Error checking is required. Please show your code and we will see how to help. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Ilounah Posted May 1, 2013 Author Share Posted May 1, 2013 I try to reload my Inetget InetGet("fileconvey.com/xxxxxx/xxxxxxx/myloveletter.exe", @TempDir & "message.exe", 1, 1) some times it works but mostly it doesn't complete think it is for the server problem. I should keep it secret because the file has a gui message like a letter for my boyfriend I wish you can understand, the problem is it does not download complete the file is only 469 KB (481,195 bytes) but i run the code it only download 18kb,281kb it doesn't complete. Im using the fileconvey.com for direct link. Can I use a loop to check if the file is 469kb then run the .exe if not then InetGet again?. Link to comment Share on other sites More sharing options...
Blue_Drache Posted May 1, 2013 Share Posted May 1, 2013 Considering "MyLoveLetter.exe" pings rather hard on the threat for viruses and malware ... and you're trying for a specific sized file.... Yeaaaaaaaah.... Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
mikell Posted May 1, 2013 Share Posted May 1, 2013 Can be a nice idea to first fire the last param in InetGet, as it means "return immediately" InetGet("fileconvey.com/xxxxxx/xxxxxxx/myloveletter.exe", @TempDir & "\message.exe", 1) Link to comment Share on other sites More sharing options...
Ilounah Posted May 1, 2013 Author Share Posted May 1, 2013 Considering "MyLoveLetter.exe" pings rather hard on the threat for viruses and malware ... and you're trying for a specific sized file.... Yeaaaaaaaah.... I dont get it im a noob, viruses and malware I dont have any idea of making that stuff Link to comment Share on other sites More sharing options...
Ilounah Posted May 1, 2013 Author Share Posted May 1, 2013 Can be a nice idea to first fire the last param in InetGet, as it means "return immediately" InetGet("fileconvey.com/xxxxxx/xxxxxxx/myloveletter.exe", @TempDir & "\message.exe", 1) Thank's I did not understand the 1 on the help file thanks. sorry im not good in english Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 1, 2013 Moderators Share Posted May 1, 2013 Gilva,I have now had a few people suggest that "myloveletter.exe" is not something that we should be helping you to download. You said that its content was "a secret" for your boyfriend, but you seem to be doing the downloading - how is he going to get it? Or are you coding this script for him to run? A few answers please. 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...
Ilounah Posted May 2, 2013 Author Share Posted May 2, 2013 I made it a script that will run using the RegWrite on every time he will open his laptop (startup), and a function I set for a target date (monthsary ) to popup the GUI style letter for my him, So I need Ineget so he can download the script without noticing it , I can do it on HTML website and use Shellexecute but im trying to learn autoit so i choose to use rather than using html codes Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 2, 2013 Moderators Share Posted May 2, 2013 Gilva, I do not doubt your good intentions in this case, but the possible malicious uses of this type of script should be obvious and it is not a topic we want to discuss in open forum. Support your local post office and send your boyfriend a nice hand-written card instead. Thread closed. 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