AW: [Webtest] Re: Extension Field Usability: setFileField

Jacob Portnoy webtest@lists.canoo.com
Wed, 13 Jul 2005 17:15:58 -0400


I am indeed using an absolute path when indicating the location of the
file to be uploaded. It is a valid file, as it works when manually
uploading it.

--
Jacob Portnoy
Checkerboard Ltd.=20



-----Original Message-----

Message: 3
Subject: AW: [Webtest] Re: Extension Field Usability: setFileField
Date: Wed, 13 Jul 2005 09:54:52 +0200
From: <F.Foerster@dpcom.de>
To: <webtest@lists.canoo.com>
Reply-To: webtest@lists.canoo.com

Hi,

Could it be the that the uploaded file you validate is  empty?
I uploaded with setFileField a file (1 KB) and receive on server-side an
=3D empty file.

The problem is:
if setFileField doesn't find the file=3D20 (in my case i used a
relativ-path "data/import.csv" instead of =3D =
"d:/webtest/data/import.csv"
) no error is thrown. So be sure to use an absolute-path.

Fritz