473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Transfer File via WebService

Hi,

I'm working on an application that needs to be able to transfer Excel files
from remote users (using tablet pc's) to a central server. Is it possible
to encode the Excel file in such a way so as to use web services to transfer
the file?

If not are there any other good solutions?

Any help would be appreciated,

Mark
Jan 17 '06 #1
2 3699
FTP server can be used by user to upload a file to the server.

Web service approach can also be used, however if the file is big, you will
have to exted the web service contract ( methods that will accept chunked
file and append it to received part )

Also you can apload a file by means of HTTP
( http://www.4guysfromrolla.com/webtech/091201-1.shtml )

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

"Mark Irvine" <ma*********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi,

I'm working on an application that needs to be able to transfer Excel
files
from remote users (using tablet pc's) to a central server. Is it possible
to encode the Excel file in such a way so as to use web services to
transfer
the file?

If not are there any other good solutions?

Any help would be appreciated,

Mark

Jan 17 '06 #2
Well, as a cheapo answer you could expose a byte[] param on the web service?

And stop screaming everyone! I am (of course) talking about WSE3.0 with the
improved MTOM byte[] handling!
See
http://msdn.microsoft.com/library/de...03561d0255.asp

That said, my current document management system simply upoads the file's
binary in a POST (suitably encoded), which I then retreive using a standard
(ashx) handler which reads the binary directly. Since I own both ends of
this (non-standard) channel, I also explicitely use the System.Compression
classes to transmit this as a GZIPd format to reduce bandwidth.

You could also look at the WebClient - this has an UploadFile method which
(I assume - never used) does a multi-part upload which you could obtain in
an aspx or ashx.

Any help?

Marc
Jan 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Sunny | last post by:
Hi all, I have to prepare a webservice (framework 1.1, C#) and winapp client (fw 1.1, C#). The service will prepare a file and soul send it to the client. Any help in that direction, how to...
0
by: Sanjay | last post by:
I have a question whose answer will help me save a lot of time in investigation and implementation. Becuase we have a mix of platforms (Windows/Unix etc) in our environment I would like to...
0
by: Daniel | last post by:
hi ng, i have a webservice method that provides a object array that i would like to bind with a datalist on client side. the problem is that a datalist needs property fields to bind to, but...
16
by: Lacka | last post by:
Hi, How can I transfer files via FTP under asp.net? Don't found any info... thanks, Lacka
4
by: Weston Weems | last post by:
I've got the simple problem where I'd like to transfer somewhat large files to my webserver via http/webservice/something like that. My question is what kinda limits have people been able to...
10
by: ad | last post by:
I want to use WebServer to receive a DataSet from Client with internet. The DataSet is some bigger, there are 50 fields and about 50000 rows in it. Is it OK to do so? Will DotFrameWork or IIS...
5
by: BobAchgill | last post by:
Can you point me to a simple example of how to transfer a file (send or receive) using a webservice. Thanks! Bob PS. Pardon my double posting. I also posted to the webservices forum.
5
by: David++ | last post by:
Hi List, I would like to transfer files from my local machine to a remote server via a web service which runs on the remote server. Is this possible to do with a ..net web service? Ideally I...
0
by: JJ | last post by:
I have a requirement where I need to transfer a web.config from one webservice to another webservice. The environment for this will be intranet only. I will use a xaml win app client to initiate...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.