<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>1 Nov 2017 18:19:00 Z</lastBuildDate><pubDate>1 Nov 2017 18:19:00 Z</pubDate><description>I need to send a small file from WINDEV through a WEBDEV Web Services and save it on the server. I've tried it with a buffer, but I do not know if it's the right way to do it.&#13;
&#13;
This is the code of WINDEV:&#13;
&#13;
gsCertificado = fSelect("","","Selecciona un certificado", "Certificado" + TAB + "*.cer", "*.cer",fselOpen+fselExist)&#13;
bufFile is Buffer = gsCertificado&#13;
&#13;
EMP_SubirCertificado(bufFile)&#13;
&#13;
And this is the code of WEBDEV Web Service:&#13;
&#13;
PROCEDURE EMP_SubirCertificado(bufCertificado is Buffer)&#13;
&#13;
sNombreCertificado is string = DateToString(SysDateTime(),"DDMMYYYYHHmm")+".cer"&#13;
fSaveBuffer(fWebDir()+"\Certificado"\"+sNombreCertificado,bufCertificado )&#13;
&#13;
Maybe it's not the right way, but it was what I thought would work.&#13;
Any information is appreciated. Thanks in advance.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/63182-wd22-send-file-through-web-service/read.awp</link><title>[WD22] Send a file through Web Service</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
