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

Posted on 2007-07-24
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.
Question by:tscooter13
    LVL 3

    Assisted Solution

    LVL 15

    Accepted Solution


    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:

    Best regards,

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Suggested Solutions

    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    A short article about problems I had with the new location API and permissions in Marshmallow
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now