[Webtest] [webtest][JIRA] Closed: (WT-35) file upload on Linux mangles the file
Marc Guillemot (JIRA)
webtest@lists.canoo.com
Tue, 7 Feb 2006 15:05:54 +0100 (CET)
[ http://webtest-community.canoo.com/jira/browse/WT-35?page=history ]
Marc Guillemot closed WT-35:
----------------------------
Resolution: Incomplete
Closing since new information has not been provided since too long time.
> file upload on Linux mangles the file
> -------------------------------------
>
> Key: WT-35
> URL: http://webtest-community.canoo.com/jira/browse/WT-35
> Project: WebTest
> Type: Bug
> Environment: Linux, WebTest build 750
> Reporter: Lisa Crispin
> Attachments: NewCentury.csv, testFileUpload.html
>
> I have a script which uploads a file, using setfilefield to select the file. This works fine if I run the script from a Windows machine. However, the same script run from a Linux machine, with only the path for the file changed, it does find the correct file and attempt to upload it, but the application gives several error messages from the file edits. These errors all refer to lines that aren't even in the file. The file is a .csv file. Editing the file with vi or kate it looks fine, there are no ^Ms or anything like that. If I upload the same file manually through the application, it works fine. So it appears that when the WebTest script runs, it does something to mangle the file somehow.
> Naturally our WebTest scripts run from a Linux machine so I would like this to work on Linux!
> I'm not sure if file upload is really a supported feature so let me know if I shouldn't have filed a bug report on it.
> Here is the relevant part of the script:
> <setfilefield stepid="set the file"
> name="fileName" filename="c:/temp/NewCentury.csv" />
> <clickbutton stepid="submit"
> label="Submit"/>
> I will attach the file.
> Thanks,
> Lisa
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira