Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General Discussion » View Thread |
Messages 1 to 4 of 4 total |
Uploading Photos |
Wed, May 21 2014 2:58 PM | Permanent Link |
Chris Holland SEC Solutions Ltd. Team Elevate | Does anybody have any sugesstions as to the best way to upload a photo
that I have taken with my EWB application to my web server? -- Chris Holland [Team Elevate] |
Thu, May 22 2014 3:44 AM | Permanent Link |
Matthew Jones | Chris Holland wrote:
> Does anybody have any sugesstions as to the best way to upload a > photo that I have taken with my EWB application to my web server? I don't "know", but I'd first look at how the upload button works, and if not that, then perhaps add it as a body on an http PUT or POST to the server? How would it be done in "plain" javascript? My redirect to frame showed me that you can "hack" EWB nicely, but that Tim had already provided the mechanism properly in the framework. -- Matthew Jones |
Fri, May 23 2014 4:11 AM | Permanent Link |
Chris Holland SEC Solutions Ltd. Team Elevate | My original thought was to have a Dataset with a blob field and load the
photo data encoded with Base64 stored in that field, but Tim suggested that this would not be a good idea. So I thought I would try using the TServerRequest and use a POST to send the Base64 string to my webserver. When I looked at the EWB code for sending a Dataset that appeared to be exactly what it was doing so I was wondering if there was another way that I am not aware of. Chris Holland [Team Elevate] On 22/05/2014 08:44, Matthew Jones wrote: > Chris Holland wrote: > >> Does anybody have any sugesstions as to the best way to upload a >> photo that I have taken with my EWB application to my web server? > > I don't "know", but I'd first look at how the upload button works, and > if not that, then perhaps add it as a body on an http PUT or POST to > the server? How would it be done in "plain" javascript? My redirect to > frame showed me that you can "hack" EWB nicely, but that Tim had > already provided the mechanism properly in the framework. > > |
Fri, May 23 2014 7:34 AM | Permanent Link |
Raul Team Elevate | On 5/23/2014 4:11 AM, Chris Holland wrote:
> So I thought I would try using the TServerRequest and use a POST to send > the Base64 string to my webserver. When I looked at the EWB code for > sending a Dataset that appeared to be exactly what it was doing so I was > wondering if there was another way that I am not aware of. ServerRequest and POST is the only way to send data to server from javascript apps that i know of. Why even bother with the base64 and such - just POST with binary image as payload and then on server you can directly save to file Raul |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |