troubleshooting Question

How to fip file with php and not to send same file multiple times

Avatar of hi4ppl
hi4ppl asked on
Shell ScriptingPHPPython
20 Comments1 Solution158 ViewsLast Modified:
Hello,

I have destination like:

/daily/files/ffff/

under that there is folder name for each day

2014-12-16
2014-12-15

and inside that there is files like

Main_20141216_100100_01.tar
Main_20141216_100456_01.tar
etc

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.

regards
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 20 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 20 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros