On Monday 10 March 2008 08:01, conn intel wrote: > Dear Friends, > > I am using busybox version 1.7.2. I am using cgi to upload file from machine > to board where httpd is running. Now I want to ask what is the maximum size > of file I can transfer from machine to board using File upload control. > > Below is the HTML code: > > <form action="/cgi-bin/fwupgrade.cgi" > enctype="multipart/form-data" method="post"> > <p> > Type some text (if you like):<br> > <input type="text" name="textline" size="30"> > </p> > <p> > Please specify a file, or a set of files:<br> > <input type="file" name="datafile" size="40"> > </p> > <div> > <input type="submit" value="Send"> > </div> > </form>
With your HTML file, and with the following fwupgrade.cgi: #!/bin/sh printf '\r\n' cat >/tmp/POSTDATA I was able to upload 45 megabyte file (linux-2.6.24.tar.bz2) in few seconds. Does it upload slowly for you with this fwupgrade.cgi? If yes, provide output of "tcpdump -nlieth0 -s0 port 80". Let's see what's going on on the wire. -- vda _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
