× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




On 02/02/2010, at 7:58 AM, Versfelt, Charles wrote:

Correct me if I'm wrong..... What he's asking for doesn't make any sense, does it?
I can't just send him anything... Can I?


The answer to that is both yes and no.

No because you have to send data that compiles with the HTTP protocol.

Yes because if you use the right HTTP method you can send anything to the server and it will store it as a file.

So presuming that you can open a socket to the HTTP server port, successfully negotiate a secure sockets connexion, then you can send a PUT request with your arbitrary data and the HTTP server should (if configured correctly) create a file containing your data in the specified directory structure.

Something like:

PUT /def/ghi/dummy.txt HTTP/1.1
Content-type: text
Content-length: nnnn where nnnn is the actual length of your data
[empty line containing only CRLF]
Your arbitrary data goes here


should work.


Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.