Re: Sending a File Over HTTP

new topic     » goto parent     » topic index » view thread      » older message » newer message
m_sabal said...

Euphoria can open sockets on a specified port, and send and receive bytes on that socket. That means Euphoria is capable of doing anything with sockets that the peer allows. The effort required to accomplish that goal, however, is a balance of what convenience functions already exist and how much you have to write yourself.

Very true. If i wanted to POST a file in the next 30 seconds, i'd use wget and switches:

--post-data=STRING      use the POST method; send STRING as the data. 
--post-file=FILE        use the POST method; send contents of FILE. 

But if i had some time and wanted to make the process smarter, more versatile, i'd naturally whip up an Euphoria app. Or if i wanted to use PUT, because afaik wget v1.11.4 doesn't support it.

useless

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu