Python FTP: Difference between revisions
Jump to navigation
Jump to search
Adamcolton (talk | contribs) No edit summary |
Adamcolton (talk | contribs) No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
This program will sync my files over FTP. It will run as a cron job every few minutes (and most of the time, no changes should be necessary). | This program will sync my files over FTP. It will run as a cron job every few minutes (and most of the time, no changes should be necessary). | ||
# | #Sync folder structure | ||
#Create a config so that it can do multiple directories, and do them optionally (I won't want to sync everything, everywhere) | #Create a config so that it can do multiple directories, and do them optionally (I won't want to sync everything, everywhere) | ||
#Create a log file | #Create a log file | ||
#Figure out how to issue a delete command | #Figure out how to issue a delete command | ||
#Currently, I do not set the modified date when uploading causing the file to be uploaded then downloaded again. Fix that. | |||
#Log (and avoid) merge conflicts | #Log (and avoid) merge conflicts | ||
#Create my own date parser (the current one is great, but I want something more lightweight) | #Create my own date parser (the current one is great, but I want something more lightweight) | ||
Latest revision as of 17:44, 16 December 2011
This program will sync my files over FTP. It will run as a cron job every few minutes (and most of the time, no changes should be necessary).
- Sync folder structure
- Create a config so that it can do multiple directories, and do them optionally (I won't want to sync everything, everywhere)
- Create a log file
- Figure out how to issue a delete command
- Currently, I do not set the modified date when uploading causing the file to be uploaded then downloaded again. Fix that.
- Log (and avoid) merge conflicts
- Create my own date parser (the current one is great, but I want something more lightweight)