<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>26 Jan 2018 18:34:00 Z</lastBuildDate><pubDate>26 Jan 2018 13:28:00 Z</pubDate><description>Hi,&#13;
&#13;
I changed all my FTP Download procedures in windev to httprequest.&#13;
I use a awp site and cut the file in pieces.&#13;
&#13;
The code is:&#13;
&#13;
WHEN EXCEPTION IN Deserialize(stMyDownload_Vorgang,bufBIN,psdBinary) //Datei öffnen nDateihandle=fOpen(stMyDownload_Vorgang.sDateiname,foRead) IF nDateihandle=-1 THEN stMyDownload_Vorgang.nStatus=5 //Fehler stMyDownload_Vorgang.sFehlermeldung="Fehler beim der Öffnen der Quelldatei ! "+CR+ErrorInfo(errFullDetails) stMyDownload_Vorgang.bErgebnis=False Serialize(stMyDownload_Vorgang,bufBIN,psdBinary) RESULT bufBIN END //Zeiger positionieren IF fSeek(nDateihandle,stMyDownload_Vorgang.nMove,fpBeginning)=-1 THEN stMyDownload_Vorgang.nStatus=5 //Fehler stMyDownload_Vorgang.sFehlermeldung="Fehler bei der Positionierung der Quelldatei ! "+CR+ErrorInfo(errFullDetails) stMyDownload_Vorgang.bErgebnis=False Serialize(stMyDownload_Vorgang,bufBIN,psdBinary) RESULT bufBIN END stMyDownload_Vorgang.sDaten=fRead(nDateihandle,nBlockgröße) stMyDownload_Vorgang.bufChecksumme=HashString(HA_MD5_128,stMyDownload_Vorgang.sDaten) stMyDownload_Vorgang.bErgebnis=True DO stMyDownload_Vorgang.sDaten="" stMyDownload_Vorgang.sFehlermeldung="Fehler beim Download Vorgang !"+CR+ExceptionInfo(errFullDetails) stMyDownload_Vorgang.bErgebnis=False END Serialize(stMyDownload_Vorgang,bufBIN,psdBinary) RESULT bufBIN&#13;
It works, but it is not so fast as it could be. Has anybody found a better way to transfer binary files via HTML in windev ?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp</link><title>[WX22] What is the best way to download a binary file via a webservice</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64228/read.awp</comments><pubDate>26 Jan 2018 18:34:00 Z</pubDate><description>Hi Arie,&#13;
&#13;
my files are most pdf, dwg, dgn files. Indeed I use the compression, but not in every case is that a solution.&#13;
I wo…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64228/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64228/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp">[WX22] What is the best way to download a binary file via a webservice</source><title>Re: [WX22] What is the best way to download a binary file via a webservice</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64226/read.awp</comments><pubDate>26 Jan 2018 18:28:00 Z</pubDate><description>Michael,&#13;
&#13;
you could compress the file first and decompress it at he client. It depends on the type of file if it will help you…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64226/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64226/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp">[WX22] What is the best way to download a binary file via a webservice</source><title>Re: [WX22] What is the best way to download a binary file via a webservice</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64227/read.awp</comments><pubDate>26 Jan 2018 18:05:00 Z</pubDate><description>Hi ccc,&#13;
&#13;
yes, I use it (see my code in the first post)&#13;
&#13;
I think, the result of serialize() from the awp site is a base64 str…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64227/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64227/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp">[WX22] What is the best way to download a binary file via a webservice</source><title>Re: [WX22] What is the best way to download a binary file via a webservice</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64225/read.awp</comments><pubDate>26 Jan 2018 17:50:00 Z</pubDate><description>Hi Michael,&#13;
&#13;
for webservice + json , the common method is convert the buffer to base64. if corruption, you won't be able to de…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64225/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64225/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp">[WX22] What is the best way to download a binary file via a webservice</source><title>Re: [WX22] What is the best way to download a binary file via a webservice</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64221/read.awp</comments><pubDate>26 Jan 2018 15:54:00 Z</pubDate><description>Yes, sure. Many thx Fabrice</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64221/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64221/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp">[WX22] What is the best way to download a binary file via a webservice</source><title>Re: [WX22] What is the best way to download a binary file via a webservice</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64220/read.awp</comments><pubDate>26 Jan 2018 15:52:00 Z</pubDate><description>Hi...&#13;
&#13;
I would advise that you put everything at the beginning of the buffer, something like:&#13;
Buffer = Checksum=Value+CR+Resu…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64220/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64220/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp">[WX22] What is the best way to download a binary file via a webservice</source><title>Re: [WX22] What is the best way to download a binary file via a webservice</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64219/read.awp</comments><pubDate>26 Jan 2018 15:05:00 Z</pubDate><description>Ok, thx.&#13;
&#13;
Last question:&#13;
&#13;
If the server sends the pure binary file back, how can I receive additional information like check…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64219/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64219/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp">[WX22] What is the best way to download a binary file via a webservice</source><title>Re: [WX22] What is the best way to download a binary file via a webservice</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64216/read.awp</comments><pubDate>26 Jan 2018 14:57:00 Z</pubDate><description>Hi Michael,&#13;
&#13;
what the help means is that the switch for the post mode is simply to use that optional parameter to send your pa…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64216/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64216/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp">[WX22] What is the best way to download a binary file via a webservice</source><title>Re: [WX22] What is the best way to download a binary file via a webservice</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64211/read.awp</comments><pubDate>26 Jan 2018 13:51:00 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
my code at client side is:&#13;
&#13;
cMyRequest is httpRequest cMyResponse is httpResponse cMyRequest..URL = sWebservice…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64211/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64211/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp">[WX22] What is the best way to download a binary file via a webservice</source><title>Re: [WX22] What is the best way to download a binary file via a webservice</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64210/read.awp</comments><pubDate>26 Jan 2018 13:35:00 Z</pubDate><description>Hi Michael,&#13;
&#13;
in theory, if you are using a post type httprequest, you can transfer binary content directly (I haven't found th…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64210/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via-64210/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/64206-wx22-what-best-way-download-binary-file-via/read.awp">[WX22] What is the best way to download a binary file via a webservice</source><title>Re: [WX22] What is the best way to download a binary file via a webservice</title></item></channel></rss>
