| || |
Script of uploading file doesn\'t work
I'm working in a project that need load test of uploading file function. However, I face a problem that when rerun, the script is run successfully, but the file is not uploaded to the server. I have search but still don't know the way to fix it. Pls help me whenever you can.
Thanks a lot indeed.
Re: Script of uploading file doesn\'t work
I have just cut the content of the body to a file but it still doesn't work right.
The post is now: PRIMARY POST URI "http://192.168.199.12:8080/UploadMediaReceiver.aspx " &.... ,BODY strfile
The file is like: "Content-Disposition: form-data; name=~<22>Filedata~<22>; filename=~<22>WebFTGears.avi~<22>~< CR>" &
"~<LF>Content-Type: application/octet-stream~<CR>~<LF>~<CR>~<LF> RIFF~<C0>~<18>~<00>~<00>" &
"AVI LIST~<DC>~<04>~<00>~<00>hd rlavih8~<00>~<00>~<00>~<A0> ;~<86>~<01>~<00>~<00>~< 06>~<00>~<00>" &