Forums
This topic is locked
Renamed filename not saved in DB
Posted 14 Nov 2006 14:48:08
1
has voted
14 Nov 2006 14:48:08 Barry Clark posted:
ASPUPLOAD/UPDATE are NOT saving the renamed filename in the database:Added form, one file field, and submit button.
Added PureASP Upload 3,
Added hiddenfield called "filename" set to:<%= pau.Fields("file".FileName %>
From add-on pack, added "Rename upload files" behaviour: file mask set to: Session("kt_login_user"&".##ext##"
Applied update behaviour, and told it to save "filename" to the table.
When page is run, ORIGINAL filename is saved in DB, BUT file is renamed correctly in upload folder.
HOW do I save the RENAMED filename in the database? HELP!