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

Re: Question on Posting a huge file and its limits.

From: Burjiz Pithawala <bpithaw@cisco.com>
Date: Tue, 26 Nov 1996 23:20:39 -0800
Message-Id: <199611270720.XAA20701@bpithaw-sun.cisco.com>
To: www-lib@w3.org
Cc: bpithaw@cisco.com

Hello Jose,

  I am sure I want to do a POST as PUT is not supported by the 
Apache Server I am using. The Server machine has enough memory to 
accept a 6-10 MB file. 

I have tried the following but to no avail :
   
1) w3c -post -dest http://server/script.xyz <input file>
     where in2) w3c -post -form http://server/script.xyz < input.file

   Result : Cant access resource.


2) w3c -post -form http://server/script.xyz < input.file

   Result : Cant access resource


3) This is only version that works :
   w3c -post -form http://server/script.xyz var1=value1 var2=value2 

    The problem with this method is that the argv list becomes very long
and w3c complains

   w3c: Arg List too long.    

   Result : Cant access resource.


Please let me know what is the correct syntax to post a file and not
have restrictions on the size. If there is another utility I need to use
please advise me.


 Thanks for your response,

 Burjiz Pithawala
 cisco Systems,



> 
> Hello Burjiz,
> >
> > 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 :
> >
> 
> Are you sure it a POST you want to make and not a PUT?
> 
> I'm not looking at w3c-libwww-5.0a right now, but I seem to remember
> that files are first copied into the client's host memory, and then
> sent over the network.
> 
> > 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.
> >
> >
> 
> I've used it succesfully to PUT a 3 Mb file, from a computer having
> 64M RAM. I have not tried a 6 Mb file, but it should work ok.
> 
> Here's the command line I used:
> 
> ./w3c -v -put -dest http://myserver/filename/ input-file-name
> 
> (the -v is the verbose option, so you can see what's happening).
> 
> I would advice you to see if it's a POST or a PUT you want to make, then
> verify your server can accept a 6 Mb file. Finally verify your script.
> 
> If you want to make a PUT, it's very easy to convert your POST script
> to a PUT one. I can give you the URL to the PUT script I currently
> use, if you want so.
> 
> Best greetings,
> 
> -Jose
> 
> ----------------------------------------------------------------------
> References:
> 
>    * Question on Posting a huge file and its limits.
>         o From: Burjiz Pithawala <bpithaw@cisco.com>
> 
> ----------------------------------------------------------------------
> 
>    * Prev: MiniServer under Windows NT
>    * Next: subscribe
>    * Index: Message index of www-lib@w3.org mailing list
>    * Thread: Thread index of www-lib@w3.org mailing list
> 
> ----------------------------------------------------------------------

 
Received on Wednesday, 27 November 1996 02:20:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:27 GMT