English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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

2 answers

Edit: Okay I see what you're saying. I think the easiest thing to do would be to use a different webhost for file upload.

2007-08-19 16:21:38 · answer #1 · answered by Anonymous · 0 1

Sure - just use POST (standard HTTP)

2007-08-19 15:55:37 · answer #2 · answered by mdigitale 7 · 0 1

fedest.com, questions and answers