?
Solved

Need a tutorial to to build an automated FTP service while learning C#

Posted on 2007-07-24
2
Medium Priority
?
512 Views
Last Modified: 2013-12-09
I need to write or modify an FTP app or service for Windows, preferably in C# since I need to learn it (VB ok too), with the features listed below.  Ideally, a tutorial with this type of app would be perfect to walk me through C# to learn as I go while building what I need:

1.  Automatically log into an FTP server at some interval of time, (settings from a config or xml file?).
2.  Download any files that match a particular naming convention.
3.  For each file that downloaded successfully, move the original file on the FTP site to an archive folder, also on the FTP site.

Any suggestions are welcome.
0
Comment
Question by:tscooter13
2 Comments
 
LVL 3

Assisted Solution

by:Nico
Nico earned 240 total points
ID: 19559251
0
 
LVL 15

Accepted Solution

by:
Ralf Klatt earned 260 total points
ID: 19559406
Hi,

My preference on learning how to build an automated (asynchronous!) ftp client class in c# is an article at TechRepublic:

=======================================================
Overview: While it's a relatively old technology, the File Transfer Protocol (FTP) is still a viable and useful communication method for moving data across a network. This in-depth article explains how an FTP server works and how it can be implemented using the Systems.Net.Sockets namespace included in the Microsoft .NET Framework and the C# programming language. The download includes the complete source code and a sample executable that you can use as a model when creating your own FTP solution.

(Is this item miscategorized? Does it need more tags? Let us know.)

Format: Other Download | Size: 145KB | Date: Mar 2005 | Version: 1 | System Requirements: Unzipping softwareAdobe Acrobat Reader 5.0+ | License: copyright | Downloads: 9558
=======================================================

If you did not yet you'll have to sign in at Tech Republic ... but membership is free and they won't spam you!
There's a very detailed pdf file with the project files ... and here's the link: http://downloads.techrepublic.com.com/download.aspx?docid=172627


Best regards,
Raisor
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question