in reply to How do you test an upload form?
If the field is of type file (file upload field), the value is always cleared to prevent remote sites from downloading your local files. To upload a file, specify its file name explicitly.So mayb just using set_fields() or submit_form() normally with one of the values being the filename will do the trick?
|
|---|