How to fip file with php and not to send same file multiple times
Posted on 2014-12-21
I have destination like:
under that there is folder name for each day
and inside that there is files like
so what my goal is:
- to grab files form this in SFTP and FTP to different server
- not to send same file 2 times
- navigate the directory automatically as that directory will be created for everyday new directory.
- destination path is the same as location of the files only it should create that directory for everyday and push the files with above controls.
i'm open with with any script like that work for me PHP, shell or python.