Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# VB.NET WebService
I have been tasked to create an application which will login to a FTP server, Move files to a new FTP server and then copy those files to archive folder with DATE stamp added to file name. The application also needs to be setup with a "listener" method which will check folders and move them automatically when a File is created in primary FTP directory.
 
I would like to write this in C#, because I am new to C# and would be a good "starter" project.
 
Are there any Projects already created? Can someone give me direction where to get started?
 
I have done some research on the File.Move method, but not sure how to put it all together in a listener application.
 
C# Newbie
Posted 29-Dec-10 7:19am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Try Simple FTP demo application using C#.Net 2.0[^] to get you started.
 
Searching the Articles here on The Code Project, when starting in a new area, is always a good idea. Then a general internet search.
 
To find the link above I used c# move files ftp as a search phrase.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Did you read the rules of posting? Here are the first two:
 
1. Have you searched or Googled for a solution?
2. Be specific! Don't ask "I need to write a booking application". Specify exactly what it is you need help with.
 
And, no, as a "newbie" to c#, an application that requires logging into FTP servers, copying files, having a listening mode, etc... is not a good "starter" project.
 
Start with writing a program that outputs "Hello World". Then, move on to writing a tic-tac-toe program. Then move on and start to incorporate the various aspects of what you want to do. Such as write a simple program that can move files from one folder to another.
 
Then, see if you can't figure out how to "listen" to a folder to see if new files are added.
 
Then, figure out how to log into an FTP server.
 
Then, combine them all.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 404
1 Nirav Prabtani 268
2 _Amy 230
3 CHill60 170
4 Sergey Alexandrovich Kryukov 166
0 OriginalGriff 8,004
1 Sergey Alexandrovich Kryukov 7,017
2 Maciej Los 4,039
3 Peter Leow 3,738
4 CHill60 2,912


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 29 Dec 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100