FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Uploading an image to a database
Uploading an image to a database
Débuté par Denny, 15 mai 2017 12:46 - 2 réponses
Connectez-vous…
Denny
#1
Posté le 15 mai 2017 - 12:46
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.
Signaler
0
0
Fabrice Harari
#2
Posté le 15 mai 2017 - 14:40
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.
Signaler
0
0
Mimi
#3
Posté le 24 juillet 2018 - 18:12
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.
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte