[REBOL] Problems in data POST for HTTP
From: ale870::gmail::com at: 29-Sep-2007 10:32
I'm trying to post some data from Rebol application to Cheyenne server.
It seems I cannot send more than about 60kb (about...).
I send data to the server with this program:
readFile: read/binary to-file (get-face nome)
read/custom http://127.0.0.1/send_data.cgi reduce ['post readFile]
contains the file (binary) to be sent.
In the server...
read-post: func [/local buffer][
if system/options/cgi/request-method = "POST" [
buffer: make string! 16384
data: copy ""
while [positive? read-io system/ports/input buffer 16384][
append data buffer
write/binary/append %post_file ( data)
The problem is in the client side (it seems...) in "read/custom".
Can you help me?