PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
Uploading an image to a database
Uploading an image to a database
Started by Denny, May, 15 2017 12:46 PM - 2 replies
Connect yourself…
Denny
#1
Posted on May, 15 2017 - 12:46 PM
Hello everybody. I am still new to WINDEV Mobile (21) and I am in need of your help.
I need to upload an image file to the database using a web service call. So, what I did is: I loaded the image into a buffer, then encoded it to BASE64. In the database, the image is going through but it is halved.
This is because the BASE64 string is cut out when it passes through the web service call. Is there anything i can do so that the webservice call sends in large data (image)?
Thank you in advance.
Report
0
0
Fabrice Harari
#2
Posted on May, 15 2017 - 2:40 PM
Hi Denny,
if you are using a REST webservice, then you need to be in POST mode
(see WXReplication on my site for an example)
Otherwise, there are several settings on the web server that can create
your problem (timeout, cgi timeout, maxupload, etc)
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)
More information on
http://www.fabriceharari.com
Le 5/15/2017 à 4:46 AM, Denny a écrit :
Hello everybody. I am still new to WINDEV Mobile (21) and I am in need
of your help.
I need to upload an image file to the database using a web service call.
So, what I did is: I loaded the image into a buffer, then encoded it to
BASE64. In the database, the image is going through but it is halved.
This is because the BASE64 string is cut out when it passes through the
web service call. Is there anything i can do so that the webservice call
sends in large data (image)?
Thank you in advance.
Report
0
0
Mimi
#3
Posted on July, 24 2018 - 6:12 PM
Hello Denny,
I want to do the same thing, i mean i want to upload an image in a oracle database through webservice
Can you help if had a solution to your issue.
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text