Congratulations - C# Corner Q4, 2022 MVPs Announced
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Jack cheng
2.2k
14
717
Copy new added folder in source folder to target folder
Apr 15 2019 12:17 AM
Hello guys,
I have using visual C# in Visual Studio, my interface have 1 button only.
In day 1, I have click a button then automatically the folder "20190401*" in 'Source' folder copied to 'Target' folder. But in day 2, the new downloaded folder "20190402" in 'Source' folder wouldn't copy to 'target' folder after I click a button again because it cannot overwrite the existed "20190401" folder in 'Target folder'.
The result that I expected, 'Target' folder will collects "201904**"folder daily by clicking button once a day. Furthermore, only [3] files in folder "201904**" name start with "text" + "*.*" will be copy to 'Target' folder. Do you guys have any idea to solve this problem?
Attachment:
Code.zip
Reply
Answers (
1
)
How to track GPS location of mobile in asp.net c#?
Copy new added folder in Source folder to Target folder