I have been thinking of this and I don't know such way to upload files using a webservice. Would need an example if possible.
2007-08-19
15:47:35
·
2 answers
·
asked by
deathemperor II
1
in
Computers & Internet
➔ Programming & Design
It is not possible with POST method because WS cannot receive POST data. If you know WS you would know it only accepts param passing through the caller. I think it is possible by transfering the bytes, not sure tho.
2007-08-19
15:59:56 ·
update #1
What I meant POST data was POST file data. A POST data anyway is received by your PHP script, not WS. the PHP script gets POST data and pass those data into a WS. While other POST data can be passed through function with parameters type of string, integer or array, file's POST data cannot be applied to those. That's why I thought of transfering byte by bytes to the WS but it would be crazy with big files.
2007-08-19
16:40:18 ·
update #2