473,405 Members | 2,310 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,405 software developers and data experts.

Upload/Download Files Via WS

Hello,

I'm involved in developing an application which has the need to transfer
files automtically once a laptop is connected back to the network. The
application i'm developing will automatically realize the network is
available and thus pass a file to a web service that will know what to do
with the file.

My question is what is the best way to transfer a file via a web service
that my application will consume to invoke transfer's either way (upload or
download)?

And what sort of security is best? Security is a concern - would not want
sneaky people intercepting the information.

Thanks for any opinions or input on approaching a solution to this.
--
-Demetri
Nov 21 '05 #1
3 3542
You can go ahead and use the WS2.0 , DIME attachments to transfer files, You
can go ahead and compress files using GZIP before uploading them and
decompressing them when you download, if you want to preserve some
bandwidth.

"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
Hello,

I'm involved in developing an application which has the need to transfer
files automtically once a laptop is connected back to the network. The
application i'm developing will automatically realize the network is
available and thus pass a file to a web service that will know what to do
with the file.

My question is what is the best way to transfer a file via a web service
that my application will consume to invoke transfer's either way (upload or download)?

And what sort of security is best? Security is a concern - would not want
sneaky people intercepting the information.

Thanks for any opinions or input on approaching a solution to this.
--
-Demetri

Nov 21 '05 #2
WS-Attachments (nee DIME) work very well in this scenario -better than
simple byte arrays on web methods. You can get DIME support if you install
the WSE2 SDK. Just remember to keep your upload sizes below 4MB at a time.
The whole thing breaks down once you go past 3.8MB or so.

--

Klaus H. Probst, MVP
http://www.vbbox.com/
"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
Hello,

I'm involved in developing an application which has the need to transfer
files automtically once a laptop is connected back to the network. The
application i'm developing will automatically realize the network is
available and thus pass a file to a web service that will know what to do
with the file.

My question is what is the best way to transfer a file via a web service
that my application will consume to invoke transfer's either way (upload or download)?

And what sort of security is best? Security is a concern - would not want
sneaky people intercepting the information.

Thanks for any opinions or input on approaching a solution to this.
--
-Demetri

Nov 21 '05 #3
want to create a webservice which will be used for uploading the file to the
server hosting the Web service.
I have seen some sample but of no use.
Note :

1. I want to upload file upto 50 MB ? This is possible with DIME/WSE. but
this will be achieved
using Chunking ? how can I achieve Chunking in my application is it inbuilt
feature or I have to write the complete code for this ?
2. I am using WSE 1.0 with .net 1.1
what is the best approach to achieve this ?
If any body have implemented ? plz do send some sample code .
Thanks in advance
Abhay
"Klaus H. Probst" wrote:
WS-Attachments (nee DIME) work very well in this scenario -better than
simple byte arrays on web methods. You can get DIME support if you install
the WSE2 SDK. Just remember to keep your upload sizes below 4MB at a time.
The whole thing breaks down once you go past 3.8MB or so.

--

Klaus H. Probst, MVP
http://www.vbbox.com/
"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
Hello,

I'm involved in developing an application which has the need to transfer
files automtically once a laptop is connected back to the network. The
application i'm developing will automatically realize the network is
available and thus pass a file to a web service that will know what to do
with the file.

My question is what is the best way to transfer a file via a web service
that my application will consume to invoke transfer's either way (upload

or
download)?

And what sort of security is best? Security is a concern - would not want
sneaky people intercepting the information.

Thanks for any opinions or input on approaching a solution to this.
--
-Demetri


Nov 21 '05 #4

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

Similar topics

2
by: Ivo Tcholakov | last post by:
Hello, I created an application where the users need to download files. I have the list of the files stored in a database and I present the list to download in a Datagrid. Here comes my question....
5
by: Shawn H. Mesiatowsky | last post by:
I am creating an intranet App that is a document management system, and now I have been told they wan't the ebilty to version control directories, not just files. So I have the file upload and...
0
by: Jim Heavey | last post by:
Hello, I am following along with an example of how to do uploads and download from your application. The download seems to wok just fine, but the upload does not. Each time I attempt to upload,...
18
by: Jen | last post by:
I'm using Microsoft's own VB.NET FTP Example: http://support.microsoft.com/default.aspx?scid=kb;en-us;832679 I can get the program to create directories, change directories, etc., but I can't...
0
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
7
by: Rozzy | last post by:
Hi, I need some recommendations for uploading files to the server. Right now I have a php script that uses ftp to upload, download, and delete files, and everything works fine for small files. ...
2
by: =?Utf-8?B?SHVzYW0=?= | last post by:
Hi EveryBody: I'm working with project in my company by using ASP.Net 2.0 that allow the users to upload and download files to web site in the internet as backup. The user will first upload his...
0
by: =?Utf-8?B?SHVzYW0=?= | last post by:
Hi EveryBody: I'm working with project in my company by using ASP.Net 2.0 that allow the users to upload and download files to web site in the internet as backup. The user will first upload his...
3
by: mp33487 | last post by:
I'm trying to upload/download files programmaticly to a records management system. I have it working fine on my dev machine using vb.net code-behind pages but when I place it on the server when it...
7
by: dragiton | last post by:
SA Upload SQL Database variable types (image upload and storage) I am having trouble with the SA Upload utility. The following code used to work correctly. However, I lost my database and had to...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.