DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Multiple file upload  
DwZone Forum Index -> Multiple file upload

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 11 to 20 of 195 (Total: 181) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re: insert data error!  
View this persons public profile  jimmychang   22:44 6 Jan 2020  
   Re: insert data error!  
View this persons public profile  Gianluigi   10:56 7 Jan 2020  
   Re: insert data error!  
View this persons public profile  jimmychang   18:39 7 Jan 2020  
   File ordering  
View this persons public profile  RobertIveson   9:08 26 Jul 2019  
   Re: File ordering  
View this persons public profile  Gianluigi   9:22 26 Jul 2019  
   Multiple Instances?  
View this persons public profile  RobertIveson   11:51 19 Oct 2018  
   Re: Multiple Instances?  
View this persons public profile  Gianluigi   12:05 19 Oct 2018  
    Storing of File Type  
View this persons public profile  RobertIveson   7:18 27 Nov 2017  
 
Hello
The Classic ASP Multiple File upload plugin is working great on my server, it all works as planned. However, I would like to store the file type in the database along with the filename/filesize etc. Is this easily doable? I can see in the code (for example) this line:

file_typeX@_@file_type@_@Text,Void@_@N@_@@_@@_@@_@@_@@_@|_|1|_|

And I know the 'Void' bit is the bit that goes into the database (it currently defaults to 'XYZ' in my form). But I would like it to get the extension of the uploaded file instead and insert that. Please could you advise how I can do that? Even if it's something like :

RIGHT(request.("file_name"),4)

for example?

I guess the other alternative is to re-update the database in a separate file to create these itself?

Hope you can help!

Thanks
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: Storing of File Type  
View this persons public profile  Gianluigi   9:52 27 Nov 2017  
   Problem updating Multiple Upload  
View this persons public profile  George   16:09 21 Sep 2017  
Last Visit: Friday 27 Dec, 2024 4:53 am First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: