NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
run code after file upload
« previous
next »
Print
Pages: [
1
]
Author
Topic: run code after file upload (Read 2926 times)
kingja
Sr. Member
Posts: 261
run code after file upload
«
on:
October 30, 2014, 05:58:44 AM »
Bruce,
I would like to conditionally run some code after a file has been uploaded. I'm uploading to a BLOB only, not to the uploads folder. Where is the best place (embed) to do this?
Thanks,
Jeff
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: run code after file upload
«
Reply #1 on:
October 30, 2014, 11:27:51 PM »
Hi Jeff,
The file is (usually) uploaded as the form progresses, but it's only saved to the BLOB when the user clicks on the Save button.
So the best place to embed code that assumes the file is in the blob is in the POSTINSERT / POSTUPDATE or POSTCOPY routines.
Cheers
Bruce
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
run code after file upload