Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Is WebServices ok to send files

Reply
Thread Tools

Is WebServices ok to send files

 
 
Dan
Guest
Posts: n/a
 
      01-06-2010
Hi Gurus,
I need some advice.

We needed to send a file from a client to server once a day. Sometimes file
size could be around 100MB.
So we added a new routine to our existing Web Service.
Then created a windows service to send a file whenever we want.
Everything is working good so far.

Is this a good approach doing it or there is any other better way doing
this.
Also wanted to know what is the fastest way to send files using WEB.

Thanks in advance for any suggestions.
Dan.


 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      01-06-2010

"Dan" <(E-Mail Removed)> wrote in message
news:uo7$(E-Mail Removed)...
> Hi Gurus,
> I need some advice.
>
> We needed to send a file from a client to server once a day. Sometimes
> file size could be around 100MB.
> So we added a new routine to our existing Web Service.
> Then created a windows service to send a file whenever we want.
> Everything is working good so far.
>
> Is this a good approach doing it or there is any other better way doing
> this.
> Also wanted to know what is the fastest way to send files using WEB.
>
> Thanks in advance for any suggestions.
> Dan.


If you are talking about sending an actual file (and not just some data),
then this may not be the best approach, especially when there is 100MB to
send!

XML Web Services is, first and foremost, an architecture to connect
disparite systems to each other over the HTTP protocol (the Internet/ an
intranet). In order for this to work, the data must be serialized and then
deserialized, which doesn't make XML Web Services the most efficient answer
out there, just an very "open" solution.

If you have to send your file over the web, can't use send it via the FTP
protocol, from an FTP server? This would be the more efficent approach.

-Scott


 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a
 
      01-07-2010
Dan wrote:
> Hi Gurus,
> I need some advice.
>
> We needed to send a file from a client to server once a day. Sometimes file
> size could be around 100MB.


I'll assume this file is XML.

> So we added a new routine to our existing Web Service.
> Then created a windows service to send a file whenever we want.
> Everything is working good so far.


OK
>
> Is this a good approach doing it or there is any other better way doing
> this.


You could create a Console program to do the same thing and run it at
the command prompt.

> Also wanted to know what is the fastest way to send files using WEB.
>


What you're doing.
 
Reply With Quote
 
Mr. Arnold
Guest
Posts: n/a
 
      01-07-2010
Dan wrote:
> Hi Gurus,
> I need some advice.
>
> We needed to send a file from a client to server once a day. Sometimes file
> size could be around 100MB.
> So we added a new routine to our existing Web Service.
> Then created a windows service to send a file whenever we want.
> Everything is working good so far.
>
> Is this a good approach doing it or there is any other better way doing
> this.
> Also wanted to know what is the fastest way to send files using WEB.
>
> Thanks in advance for any suggestions.
> Dan.
>
>


Oh, one other thing you can compress and decompress the data. If it's
compressed it will go over the wire faster.
 
Reply With Quote
 
Dan
Guest
Posts: n/a
 
      01-07-2010
This file is a database backup which is zipped.
I'll try with FTP and see the performance.

Thanks, Dan

"Mr. Arnold" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Dan wrote:
>> Hi Gurus,
>> I need some advice.
>>
>> We needed to send a file from a client to server once a day. Sometimes
>> file size could be around 100MB.

>
> I'll assume this file is XML.
>
>> So we added a new routine to our existing Web Service.
>> Then created a windows service to send a file whenever we want.
>> Everything is working good so far.

>
> OK
>>
>> Is this a good approach doing it or there is any other better way doing
>> this.

>
> You could create a Console program to do the same thing and run it at the
> command prompt.
>
>> Also wanted to know what is the fastest way to send files using WEB.
>>

>
> What you're doing.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can any one send me the whole tutorial for ASP.Net Webservices Prasant ASP .Net Web Services 2 08-03-2006 11:43 PM
Upload Files using WebServices hzili ASP .Net Web Services 1 04-03-2006 07:39 AM
Ideas sought on sending large files over webservices Stephen Ahn ASP .Net Web Services 2 02-01-2006 10:59 PM
Pre-Send Request Headers, Pre-Send Request Content =?Utf-8?B?S2V2aW4gQnVydG9u?= ASP .Net 0 12-31-2004 06:29 PM
Webservices (Vs) .cs class files =?Utf-8?B?RGlmZmlkZW50?= ASP .Net 1 11-05-2004 05:07 PM



Advertisments