Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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

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.
 
Share this answer
 
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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900