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 |
|
|