Click to See Complete Forum and Search --> : file transfer from web service
dky1e
June 27th, 2002, 01:44 PM
Hi,
I want to download a file from a webservice. What is the best way to do it?
Is loading a file to string and then just sending the string a good way to do it? What are the lenght limits of a string. Also, I don't want to kill the server.
Dat Bui Quang
December 20th, 2002, 10:27 PM
Hi !
I have same problem: I want to look out files and download
via webservice
Please tell me if you settle this problem
Thanks!
Originally posted by dky1e
Hi,
I want to download a file from a webservice. What is the best way to do it?
Is loading a file to string and then just sending the string a good way to do it? What are the lenght limits of a string. Also, I don't want to kill the server.
pareshgh
December 24th, 2002, 03:12 PM
you could probably end up with TCP/IP socket mechanism and use send/receive commands to upload/download files. The string will genrely have a capacity of 65535 (correct me if wrong)
you could use other variants of string to store more info.
hope it helps.
Paresh
TheCPUWizard
December 24th, 2002, 04:05 PM
A big part of the decision is HOW you want to be able to access the web service. If you are using either SOAP or remoting, then you can directly send complex objects and let the system take care of the details. If you are intending this to be accessible from the more general case of any web client then you need to restrict yourself to basic types.
Please provide more information on exactly WHAT you are tring to accomplish. That will decide HOW....
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.