Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norbertkiszka/sync-new-files-from-ftp
Synchronize new files from FTP server into local directory
https://github.com/norbertkiszka/sync-new-files-from-ftp
Last synced: about 2 months ago
JSON representation
Synchronize new files from FTP server into local directory
- Host: GitHub
- URL: https://github.com/norbertkiszka/sync-new-files-from-ftp
- Owner: norbertkiszka
- License: gpl-2.0
- Created: 2024-08-07T23:12:23.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-07T23:19:36.000Z (5 months ago)
- Last Synced: 2024-08-08T02:08:48.523Z (5 months ago)
- Language: PHP
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
/**
* PHP simple script (CLI) to sync (download new files) from FTP server into local directory.
* This works in a loop. In every loop run it will try to connect to FTP server and download files with names that are not present in LOCAL_DIRECTORY. Changed files are not synced.
* This will not work with directories on a FTP server (it will generate syslog warning and continue).
* Version: I don't care with versioning here.
*/Made for and tested with tcpsvd+ftpd on a embedded machine (oscilloscope Rigol DHO924S).