price98 Posted September 3, 2018 Author Share Posted September 3, 2018 I saw your message in Random (letters?) topic discussion. In that code, you are copying files from desktop. I have to upload the files from hard disk to database and download it.Can you explain me how to do that? Thanks @Melba23 Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted September 3, 2018 Share Posted September 3, 2018 1 minute ago, price98 said: Can you explain me how to do that? I've already suggested you _FileListToArray(). Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
price98 Posted September 3, 2018 Author Share Posted September 3, 2018 Func sFile() ; Get an array of files from the desktop $asFile = _FileListToArray(@DesktopDir, "*", $FLTA_FILES) EndFunc ;==>sFile Here the files are uploaded to database from desktop . I have to upload files from connected hard disk and downloaded it. @FrancescoDiMuro Link to comment Share on other sites More sharing options...
New55 Posted September 4, 2018 Share Posted September 4, 2018 hello everyone, new to this forum. I saw @Melba23 code. I have to upload files from one folder to database and i have to download it. In his code, he is uploading files from desktop. _FileListToArray(@DesktopDir, "*", $FLTA_FILES how can i upload from one folder location to database. how can i modify it? Thank you Func CheckInputText() $sPartialData = "|" ; Start with delimiter so new data always replaces old Local $sInput = GUICtrlRead($cInput) If $sInput <> "" Then For $i = 1 To $asFile[0] If StringInStr($asFile[$i], $sInput) <> 0 Then $sPartialData &= $asFile[$i] & "|" Next GUICtrlSetData($cList, $sPartialData) EndIf EndFunc ;==>CheckInputText Func sFile() ; Get an array of files from the desktop $asFile = _FileListToArray(@DesktopDir, "*", $FLTA_FILES) EndFunc ;==>sFile Func _WM_COMMAND($hWnd, $iMsg, $wParam, $lParam) ; If it was an update message from our input If _WinAPI_HiWord($wParam) = $EN_CHANGE And _WinAPI_LoWord($wParam) = $cInput Then CheckInputText() EndIf EndFunc ; Link to comment Share on other sites More sharing options...
Developers Jos Posted September 4, 2018 Developers Share Posted September 4, 2018 59 minutes ago, New55 said: hello everyone, new to this forum. I saw @Melba23 code. Bullshit... You better read those forumrules right now and adhere to them. Second account is locked. Do not do this again or else all accounts will be banned. Jos price98 and FrancescoDiMuro 2 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
price98 Posted September 4, 2018 Author Share Posted September 4, 2018 (edited) how to download a file ? please give me suggestion InetGet("http://www.autoitscript.com/autoit3/files/beta/update.dat", $sFilePath, $INET_FORCERELOAD, $INET_DO Here we are downloading the file from URL. how to download it ( if we are uploading files from folder of my system and downloading that file) i have to use same function InetGet. if yes, how to use it? Edited September 4, 2018 by price98 Link to comment Share on other sites More sharing options...
Developers Jos Posted September 4, 2018 Developers Share Posted September 4, 2018 @price98, You nicely avoided to comment on my post .. why is that? Secondly: Your questions doesn't make sense to me. Are you talking about a local file on a disk which you can simply open or ..... what else? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
price98 Posted September 4, 2018 Author Share Posted September 4, 2018 @Jos, sorry for that,i don't know what to comment, so i didn't comment . In previous discussions i asked here how to upload it. They repiled to me use _FileListToArray() , thats why i am asking doubt continuing that one. After uploding files by using _FileListToArray() , how to download the files ? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 4, 2018 Moderators Share Posted September 4, 2018 (edited) price98, And now you have the Mods' attention - would you care to explain why you share an IP with this guy, whose question seems very close to yours? And the answer had best be a good one! M23 P.S. And as it apparently needs saying over and over - everyone else keep out!!! Edited September 4, 2018 by Melba23 Forgot link FrancescoDiMuro 1 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...
price98 Posted September 5, 2018 Author Share Posted September 5, 2018 hello, we both together are learning & working on this one. thanks Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 5, 2018 Moderators Share Posted September 5, 2018 price98, So the project is the same - falsifying download counts. Therefore you suffer the same fate as your mate - thread locked. 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...
Developers Jos Posted September 5, 2018 Developers Share Posted September 5, 2018 @price98, I see you at least created 4 accounts to-date, so as mentioned earlier: consider this your last chance as else you suddenly will find you are totally locked out. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts