Welcome! Log In Create A New Profile

Advanced

WD24: Upload a file with HTTP request

Posted by jacek 
WD24: Upload a file with HTTP request
December 15, 2022 05:40PM
Hi,

As you have probably noticed I am into desktop applications (using WD) and I am not especially familiar with HTTP and the like.

I have already mastered getting a file from a web server.
Now I would like to upload (POST so to say) a file to specific directory of my web server (URI known) via HTTP. Windev help suggests that it is possible, only.
I am afraid that it isn't possible without some kind of receiving script server-side. Please prove me wrong and suggest an example of HTTPRequest() that might do the job.

I know that there is FTP or SFTP but these ports are usually kept closed.

Thanks in advance
/Jacek
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: