NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on May 23, 2016, 05:02:35 AM
-
Hi,
When I do a file upload, is there a way to get the FROM location of the uploaded file?
Cheers,
Rene
-
Right after the user has selected the file - and before NT starts fiddling with the name - your file upload field will contain that value, I think.
So, in your SaveFile::loc:filename Routine - immediately after the code statement - you should be able to get at it.
Peter
-
Thanks Peter,
I will look into that and let you know the result.
Cheers,
Rene
-
>> When I do a file upload, is there a way to get the FROM location of the uploaded file?
no, it's specifically not sent. It's a security thing and it's not even available at the JavaScript level in the browser.
cheers
Bruce
-
Ok, pitty for me.
Thanks
-
Hi Rene,
My bad. I was testing it on my laptop and picked the file from somewhere in the web folder. So folder names were almost alike Sorry about giving you false hope.
Peter
-
Peter,
Well at least Bruce came to the rescue ;)
Thanks for the efoort.
Rene