[twill] Problem with file upload using formfile

Titus Brown titus at caltech.edu
Fri Jul 7 10:54:08 PDT 2006


Hi, Swati,

could you please do a recording with scotch?

	http://darcs.idyll.org/~t/projects/scotch/doc/

If you send me the resulting pickle file I should be able to help.
Right now I have no idea at all what's causing the problem...

More anon.

--titus

On Fri, Jul 07, 2006 at 12:29:26PM +0530, Swati Bendale wrote:
-> Hi Titus,
-> 
-> The file upload works fine for both IE and Firefox so i guess this is not 
-> browser related issue.
-> 
-> I am presently doing regression automation using Twill and needs to 
-> complete it ASAP. As I am required to get this issue (uploading of file 
-> using formfile command in the Twill script) resolved at urgent basis, could 
-> you please direct me as to what needs to be done ( like change the source 
-> code to fix this issue). In this way I can contribute to Twill and get the 
-> issue of uploading file using twill script resolved for me as well.
-> 
-> Could you please let me know your views on the above ASAP.
-> 
-> Thanks and regards.
-> Swati
-> 
-> 
-> 
-> 
-> 
-> 
-> 
-> ----- Original Message ----- 
-> From: "Titus Brown" <titus at caltech.edu>
-> To: "Swati Bendale" <swati at gs-lab.com>
-> Cc: <twill at lists.idyll.org>
-> Sent: Friday, June 23, 2006 8:30 PM
-> Subject: Re: [twill] Problem with file upload using formfile
-> 
-> 
-> >Hi, Swati,
-> >
-> >on this site, does file upload work with both IE and Firefox?
-> >
-> >ISTR that there were some issues with multipart/form-data boundary
-> >specification that might be illuminated by this question...
-> >
-> >thanks,
-> >--titus
-> >
-> >On Fri, Jun 23, 2006 at 03:14:39PM +0530, Swati Bendale wrote:
-> >-> Hi all,
-> >->
-> >->
-> >-> I was trying to upload a form containing a file and some other values.
-> >-> All values are hidden in the form with some default values, except 
-> >filename box.I am doing following in a script:
-> >->
-> >-> formfile 1 "filename" "/tmp/sp-md-l12.xml"
-> >-> submit
-> >->
-> >-> After this form gets submitted properly (no exception thrown). But at 
-> >server side, values are not available in the request.
-> >-> Please suggest on the above. Please let me know if this is known issue 
-> >with Twill upload.
-> >->
-> >-> Best regards.
-> >-> Swati
-> >-> _______________________________________________
-> >-> twill mailing list
-> >-> twill at lists.idyll.org
-> >-> http://lists.idyll.org/listinfo/twill
-> >
-> 



More information about the twill mailing list