473,396 Members | 2,030 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.

FTP, HTTP file transfers

Hi all,

I am writing a windows forms app that I want to connect to our equipment
over an ADSL connection, this equipment contains data that I wish to
download. Which, in your opinions, is the best route to go to transfer
this file:

FTP, I have read that this can be unreliable, and needs a lot of coding
to make robust. a third party component is not an option.

HTTP, haven't been able to find a great deal of info on this when I have
searched google

Our own protocol using sockets, ie a request packet followed by the data
in pieces, this would then be saved to a file once transfer is complete.

If FTP or HTP is best could some one direct me to a place where I can
find more info.

As ever your help is greatly appreciated.

Joe
Nov 16 '05 #1
2 1600
Downloads and uploads over http can be accomplished using the WebClient
class.

There are examples in MSDN showing how to do both.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Joe_Black" <Jo******@newsgroups.nospam> wrote in message
news:O1**************@TK2MSFTNGP12.phx.gbl...
Hi all,

I am writing a windows forms app that I want to connect to our equipment
over an ADSL connection, this equipment contains data that I wish to
download. Which, in your opinions, is the best route to go to transfer
this file:

FTP, I have read that this can be unreliable, and needs a lot of coding to
make robust. a third party component is not an option.

HTTP, haven't been able to find a great deal of info on this when I have
searched google

Our own protocol using sockets, ie a request packet followed by the data
in pieces, this would then be saved to a file once transfer is complete.

If FTP or HTP is best could some one direct me to a place where I can find
more info.

As ever your help is greatly appreciated.

Joe

Nov 16 '05 #2
>>a third party component is not an option.

Why is being able to get your task accomplished today, and working
perfectly and reliably, not an option?

Alex

On Mon, 14 Mar 2005 11:30:54 +0000, Joe_Black
<Jo******@newsgroups.nospam> wrote:
Hi all,

I am writing a windows forms app that I want to connect to our equipment
over an ADSL connection, this equipment contains data that I wish to
download. Which, in your opinions, is the best route to go to transfer
this file:

FTP, I have read that this can be unreliable, and needs a lot of coding
to make robust. a third party component is not an option.

HTTP, haven't been able to find a great deal of info on this when I have
searched google

Our own protocol using sockets, ie a request packet followed by the data
in pieces, this would then be saved to a file once transfer is complete.

If FTP or HTP is best could some one direct me to a place where I can
find more info.

As ever your help is greatly appreciated.

Joe


--
Alex Leblanc
Xceed Software Inc.
http://www.xceedsoft.com

Check out our advanced .NET grid and SmartUI controls

Email: xL*******@xceedsoft.com (remove the first 'x')
Nov 16 '05 #3

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

Similar topics

5
by: | last post by:
I am having a major problem with file transfers - they are ending early when the bandwidth tops-out. Smaller files transfer just fine, but large files (12Mb+) can 'abort' the transfer after maybe...
7
by: Limey Drink | last post by:
Hi all, Firstly :-) , is there any where I can search through archived newsgroup posts so I am not cluttering up the newsgroup with repeated queries ? And secondly :-), I know this has...
3
by: Mark Smithers | last post by:
Hi All, I'm having a frustrating time trying to debug an ASP (not ASP.NET) app on my W2003 dev server running II6. I continually get a HTTP 500 error message despite configuring IIS 6 to...
0
by: andrea azzini | last post by:
I'm having a trouble with HTTP file transfer. I use an ASP file to provide controlled access to some files and stream them back to the client by adding the "content-disposition: attachment" header....
8
by: Imran | last post by:
hello all, I have to parse a text file and get some value in that. text file content is as follows. ####TEXT FILE CONTENT STARTS HERE ##### /start first 0x1234 AC /end
7
by: RayAll | last post by:
I am using HTTP to upload files to a database ,I'm just curious if I can do it through FTP too and what would be the advantages and disadvantages of these two method? Thanks
0
by: Slike | last post by:
Hello, First of all a very happy 2007 :) I'm a student with some programming experience, but not too much. Last year, I wrote a client/server checkers application, that allows multiple...
10
by: David | last post by:
I have googled to no avail on getting specifically what I'm looking for. I have found plenty of full blown apps that implement some type of file transfer but what I'm specifcally looking for is an...
1
by: chainsinthewall | last post by:
Me and a friend of mine are trying to make a file sharing program using python. I have a book that recommends using urllib2 for file transfers. But which ever we end up using, i cant find any...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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...
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.