C# winforms app to copy files from one directory to another.
Budget: €30 – €250 EUR
Requirement No 1
I have a folder on a windows machine that contains excel files and need a desktop app to automate the daily copy of files from the source folder to the target folder.
More specifically :
In the app.settings config file of the app will be 2 settings that will hold :
Source folder path
Target folder path
These 2 settings will hold the source path of the network folder path (eg SourceFolderPath =”\\FolderTemplates”) and the target folder where the files will be copied to (eg TargetFolderPath=”\\TargetFolderPath” )
The user interface will be a winforms app with a text box where the user will enter a date and a button the user clicks that will copy the files from the source folder to the target folder. It will look like this
The folder structure of source folder has subfolders and the subfolders contain the excel files that are used as templates. The app will recursively loop through the folders and subfolders and when it finds the excel file it will copy it , change the files name based on the date variable supplied from the form and paste into the target directory.
This is how the source folder looks like . Below the root folder (Source Folder) there will be subfolders for division and Teams and within each team folder an excel file per team that serves as a template. The template file name will have the format TeamName_00_00_0000.xlsx as shown below
The target folder looks like this
For each team folder there is a subfolder per month/year and within the month/year folder is the excel file that is assigned per day and has the date it applies to appended in place of the 00_00_0000 placeholder.
So this app will do the following .
When the user clicks the copy files button it will store the date value from the text field and store it in a variable.
It will recursively loop through the folders in source folder.
For each excel file it will copy the file and replace the placeholder in the filename (00_00_0000) with the date stored in the variable.
It will paste the file in the target folder under the relevant team and under the relevant Month/Year folder.
If the Month year folder doesn't exist it will create it and paste the file in this new folder.
Requirement No 2
In addition to the user clicking the button and creating the files I would also like to automatically have this app on a windows machine running as background task (and shown in the windows task bar as an icon) that will run every day at a specific time and perform this task automatically based on the current date on the windows machine.
The time interval could be stored in the app settings config file of the app like so:
TimeSchedule =”6:00am”
So every day at 6 am it will automatically run and copy the files from the source folder to the target folder using the current system date as the date variable to apply to the copied files name. It will not run on saturdays and sundays , only on workdays (monday to friday).
Please see attached doc for details and screenshots
I have a folder on a windows machine that contains excel files and need a desktop app to automate the daily copy of files from the source folder to the target folder.
More specifically :
In the app.settings config file of the app will be 2 settings that will hold :
Source folder path
Target folder path
These 2 settings will hold the source path of the network folder path (eg SourceFolderPath =”\\FolderTemplates”) and the target folder where the files will be copied to (eg TargetFolderPath=”\\TargetFolderPath” )
The user interface will be a winforms app with a text box where the user will enter a date and a button the user clicks that will copy the files from the source folder to the target folder. It will look like this
The folder structure of source folder has subfolders and the subfolders contain the excel files that are used as templates. The app will recursively loop through the folders and subfolders and when it finds the excel file it will copy it , change the files name based on the date variable supplied from the form and paste into the target directory.
This is how the source folder looks like . Below the root folder (Source Folder) there will be subfolders for division and Teams and within each team folder an excel file per team that serves as a template. The template file name will have the format TeamName_00_00_0000.xlsx as shown below
The target folder looks like this
For each team folder there is a subfolder per month/year and within the month/year folder is the excel file that is assigned per day and has the date it applies to appended in place of the 00_00_0000 placeholder.
So this app will do the following .
When the user clicks the copy files button it will store the date value from the text field and store it in a variable.
It will recursively loop through the folders in source folder.
For each excel file it will copy the file and replace the placeholder in the filename (00_00_0000) with the date stored in the variable.
It will paste the file in the target folder under the relevant team and under the relevant Month/Year folder.
If the Month year folder doesn't exist it will create it and paste the file in this new folder.
Requirement No 2
In addition to the user clicking the button and creating the files I would also like to automatically have this app on a windows machine running as background task (and shown in the windows task bar as an icon) that will run every day at a specific time and perform this task automatically based on the current date on the windows machine.
The time interval could be stored in the app settings config file of the app like so:
TimeSchedule =”6:00am”
So every day at 6 am it will automatically run and copy the files from the source folder to the target folder using the current system date as the date variable to apply to the copied files name. It will not run on saturdays and sundays , only on workdays (monday to friday).
Please see attached doc for details and screenshots