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

ftp from a c sharp application

Hello all,
I'm new to C sharp and am starting a project where I have to bring in
historic weather data into a mysql database. The weather data can be
retrieved via anonymous ftp spanning multiple files. What I would like
to be able to do is create a C# application that will ftp into the
server and download the necessary files automatically. Does anyone
have any suggestions on how to do this and point me in the right
direction.

Thanks
Oct 14 '08 #1
3 1381
On Tue, 14 Oct 2008 16:12:50 -0700, Laoballer <la*******@gmail.comwrote:
Hello all,
I'm new to C sharp and am starting a project where I have to bring in
historic weather data into a mysql database. The weather data can be
retrieved via anonymous ftp spanning multiple files. What I would like
to be able to do is create a C# application that will ftp into the
server and download the necessary files automatically. Does anyone
have any suggestions on how to do this and point me in the right
direction.
You might start here:
http://msdn.microsoft.com/en-us/libr...ebrequest.aspx
Oct 14 '08 #2
Laoballer wrote:
I'm new to C sharp and am starting a project where I have to bring in
historic weather data into a mysql database. The weather data can be
retrieved via anonymous ftp spanning multiple files. What I would like
to be able to do is create a C# application that will ftp into the
server and download the necessary files automatically. Does anyone
have any suggestions on how to do this and point me in the right
direction.
WebClient or (Ftp)WebRequest should be able to do what
you want.

(Ftp)WebRequest will provide you with a stream you can read from.

WebClient has DownloadData and DownloadString methods for
convenience.

Arne
Oct 16 '08 #3
Laoballer wrote:
Hello all,
I'm new to C sharp and am starting a project where I have to bring in
historic weather data into a mysql database. The weather data can be
retrieved via anonymous ftp spanning multiple files. What I would like
to be able to do is create a C# application that will ftp into the
server and download the necessary files automatically. Does anyone
have any suggestions on how to do this and point me in the right
direction.
In my opinion the standard .NET classes tend to be a bit too web
application oriented. If I were you I'd consider looking for a specific
library/component, either commercial or open source. My own one is
available from here: http://dotnx.sourceforge.net/index.html , but I
suggest you do a little shopping around before choosing.

Cheers,
Nicola Musatti
Oct 18 '08 #4

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

Similar topics

4
by: Hai Nguyen | last post by:
I'm learning C sharp and do not like vb much. I'm creatiing a wepage using panel to test myself. I tried to use these code below, which is written in VB, and to transform them to c sharp but I got...
2
by: HishHish | last post by:
I have a Java code that I want to convert it to C-sharp in order to put it in my ASP.NET web application. I used the JLCA (Java Language Conversion Assistant) for conversion, but it gave me many...
4
by: jack | last post by:
hi all im a beginer and im searching on web a good example of how to create an ini file in c sharp is this file has to be created with some functions as it was there in vb6 like get profiler...
4
by: Bruce | last post by:
Currently our desktop application is a large VC++ 7.1, Unmanaged, MFC application. We are going to be re-architecting our application and we are considering rewriting it using C-Sharp. So...
2
by: hilz | last post by:
Hi group, I am starting with C Sharp, and want to build a desktop application. I come from the Java world, where there are Rich Client Platforms that make life easier by providing most of the...
3
by: Gandalf | last post by:
Sharp effect is one of the photoshop effect on letters. some one a javascript script that create the same effect? thanks
6
by: Joe | last post by:
Every thing I have fount was for C Sharp 2005, and I can't get any thing to work. Can some some show me a code for a telnet server in C Sharp 2008 that will a allow more then one connection.
3
by: Bernard.Mangay | last post by:
At the bottom of a windows screen are those rectangular boxes for each application. Sometimes they flash to alert the user that somethign has happened. How can I make my own C Sharp applications...
4
by: hussain3047 | last post by:
Hi i am a beginner in C sharp and trying to develop a wince 5.0 device application using C sharp. i am using a thread in the Form1 Load method which is continously running a method named...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.