Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 6 of 6 total |
image upload using TFileComboBox problem |
Mon, Aug 7 2017 7:49 PM | Permanent Link |
KimHJ Comca Systems, Inc | I'm properly doing something wrong.
I use a THTMLForm with a TFileComboBox and some TEdit. When I run it in the EWB it works fine , I select an image and the whole path shows in the TFileComboBox. When I run the same app on the webserver in the cloud, after selecting the image I only get the image name and extension. I'm missing the path, with the result I can't upload it. Is this normal? Do I need to grab the path somewhere? Thanks, Kim |
Tue, Aug 8 2017 2:11 AM | Permanent Link |
Mark Brooks Slikware | I think this is normal behaviour. Some browsers reveal the path and some do not, however the upload should still work. Have you tried?
|
Tue, Aug 8 2017 10:28 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Kim,
<< Is this normal? >> Yes. The path returned from any file upload control in a web browser application will depend completely upon the browser, so you should *always* strip out any path that is included in the file name on the web server when receiving the file upload as a MIME part. Actually, I should just change EWB to strip out the path information on the browser side. It's irrelevant, and a bit of an information leak for the client machine. Tim Young Elevate Software www.elevatesoft.com |
Tue, Aug 8 2017 6:37 PM | Permanent Link |
KimHJ Comca Systems, Inc | Mark Brooks wrote:
>>I think this is normal behaviour. Some browsers reveal the path and some do not, however the upload should still >>work. Have you tried? I didn't try first, but it did work thanks. |
Tue, Aug 8 2017 7:31 PM | Permanent Link |
KimHJ Comca Systems, Inc | Tim Young [Elevate Software] wrote:
>>Actually, I should just change EWB to strip out the path information on the browser side. It's irrelevant, and a bit >>of an information leak for the client machine. I was looking for how to strip it out on the browser side but didn't found a solution. Kim |
Wed, Aug 9 2017 10:00 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Kim,
<< I was looking for how to strip it out on the browser side but didn't found a solution. >> That's a good point - due to security restrictions it may not be possible for EWB to modify what the browser has set for the file information. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, March 29, 2024 at 03:30 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |