W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1996

Question on Posting a huge file and its limits.

From: Burjiz Pithawala <bpithaw@cisco.com>
Date: Fri, 22 Nov 1996 10:46:15 -0800
Message-Id: <199611221846.KAA18046@bpithaw-sun.cisco.com>
To: www-lib@w3.org
Cc: bpithaw@cisco.com

Hello Folks,

  I am using w3c-libwww-5.0a and tcl and am trying to POST a file of 6 MB to 
a server.  Here is the code and the error I get :

set DEST_FILE "somefile"

set Message [exec cat $DEST_FILE]

set DEST_URL "http://someserver/cgi-bin/somescript.tcl"

set timeout 300

if [catch {spawn w3c -post -form $DEST_URL message=$Message} results] {
   ## Failed to start w3c.
    puts "Cannot start w3c"
    exit 1

The results I get is :

w3c: Arg list too long.

The file size is 6199634. Is this the expected behaviour. My understanding was
that POST had no limit on its contents. Please correct me if I am wrong.

Respond ASAP please.


Burjiz Pithawala
cisco Systems,
408 526 7279.
Received on Friday, 22 November 1996 13:46:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:47 UTC