Problems in data POST for HTTP
[1/3] from: ale870::gmail::com at: 29-Sep-2007 10:32
Hello,
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]
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
clear buffer
]
]
write/binary/append %post_file ( data)
];read-post
The problem is in the client side (it seems...) in "read/custom".
Can you help me?
--
//Alessandro
http://sguish.wordpress.com
http://laccio.wordpress.com
[2/3] from: compkarori::gmail::com at: 29-Sep-2007 23:57
See http://softinnov.org:8000/curecode/ticket.rsp?id=10032
On 9/29/07, Alessandro Manotti <ale870-gmail.com> wrote:
> write/binary/append %post_file ( data)
> ];read-post
<<quoted lines omitted: 7>>
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
Graham Chiu
http://www.synapsedirect.com
Synapse-EMR - innovative electronic medical records system
[3/3] from: ale870::gmail::com at: 29-Sep-2007 19:54
Thank you. I red the ticket and applied the workaround... it worked! :-)
Thank you!
On 9/29/07, Graham Chiu <compkarori-gmail.com> wrote:
> See http://softinnov.org:8000/curecode/ticket.rsp?id=10032
> On 9/29/07, Alessandro Manotti <ale870-gmail.com> wrote:
<<quoted lines omitted: 27>>
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
//Alessandro
http://sguish.wordpress.com
http://laccio.wordpress.com
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted