Sorry, I was off for past two days, So I couldn't check my mails. Thats the reason for the delay in replying you.
Quote:
|
quote:but I cant't use the normal request("Folder") to get the selected value
|
You haven't gone through the Document in Molten File UPLOAD site. It is well documented there.;)
Dim Upload
Dim folder
Set Upload = New clsUpload
'Replace this line
'folder = Request("folder")
'This is how you got to use to get values of your other FORM Control Values
folder = Upload("folder").Value
Quote:
quote:My needs:
(1) how to upload binary file to chosen the destination which is the selected value (in this case is the folder name and the corresponding folderpath)from the dropdown list and make the file store in database and chosen folder?
|
I haven't tested the File upload and Database sync together.
Please go through the DOCUMENT there, to understand the functionality and then go for implementation.
Quote:
|
quote:And my last need, I'm also creating a search page. This search allow user to key in the file name or description and the result shown will be the hyperlinked filename (also allow downloading).
|
You can use FileSystemObject for this, than going for a Database related search solution, provided you have planned well about the folder structure and setup required permisssion on the folder for the Internet Guest User.
Quote:
|
quote:My Question: How do I retrieve the records from database that matches the search input?
|
You can do that using Like operator, provided you store the filenames too in the databse. Else you can search only for the folder, as per the table structure you have posted.
Quote:
quote:I've have a tbl in database with the following fields :
ID (autoNumber), FolderName (Text), FolderPath (Text).
|
Are these records insync with the Folder structure that you created for uploading?
Quote:
|
quote:I'm getting depressed on the above queries. (CRYING)
|
Never got to cry, there is always someone to help us.;)
Hope that Helps.
Cheers!
-Vijay G