create PHP script that creates test files and uploads them into hotfolders and calculates current import time

In Progress Posted Nov 26, 2013 Paid on delivery
In Progress Paid on delivery

Background information:

We run a digital asset management system (called Elvis DAM). To import new files we use hotfolders.

New files are uploaded into a hotfolder via FTP and are then automatically imported into the system whilst having metadata added to them in the process.

Problem is: These hotfolders get clogged sometimes. If too many files are imported at a given time by too many users it may take many hours to import them.

Normally it takes about 10minutes for a file to get through from start to finish. If there is a large backlog this time increases sharply.

Currently we have no way of knowing in advance how long it may take to import the files as there is no reporting available.

For a drawing of the process pls refer to "current Hotfolder [login to view URL]"

YOUR JOB

Find a way to calculate and display the current time it takes to import files via the hotfolders.

suggested solution (however we are open to other ways of solving the problem):

You to create a PHP script that tracks test files whilst they are imported:

1. start with a small, uniquely named text file, for instance „[login to view URL]“ (the number at the beginning is required in order to be accepted by the hotfolder)

2. encode current date and time into the file name (or find other ways to take note of the current time and link that to a file), for example: 9783551580733_hftest_2013-11-22T14:14:[login to view URL]

3. upload the file about every 30min into the hotfolder (via FTP)

4. check in Elvis DAM via Rest API which files have arrived and compare their imported-into-Elvis timestamp against date and time as noted in the filename

5. Display the time difference for the latest file on screen (=current hotfolder processing time) - pls refer to "skribble Elvis hotfolder processing [login to view URL]"

6. send out an email to a specified address if average importing time exceeds 4h.

7. optional: write the current hotfolder processing time into a MYSQL table for statistical purpose

repeat this continously

We provide:

Webserver with PHP and mysql (if required)

Hotfolder FTP login

Elvis DAM Rest API login

Elvis DAM API documentation: [login to view URL]

GitHub repository

Also part of the job

The source code will be open sourced

You to upload the source code into a GitHub repository

keep login credentials in a separate file (don’t upload into the GitHub repository)

MySQL PHP

Project ID: #5167794

About the project

13 proposals Remote project Active Nov 27, 2013

13 freelancers are bidding on average €276 for this job

graphicaa

Greetings from STALLIONi , > This price /time line bid was just place holder only. If you shortlisted me for this project award, please inform me complete details, upon on your confirmation, i can do detailed analysi More

€206 EUR in 5 days
(606 Reviews)
9.1
rajeshsonisl

Hello, With 99% completion rate, 650+ successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 !!)... you can never go wrong choosing me :) I look forward to your reply. More

€500 EUR in 2 days
(979 Reviews)
8.7
gopalvora

Hi ready to start i had more than 5 year experience in the php ,mysql , jquery etc.. so let me know your view Thanks

€206 EUR in 12 days
(518 Reviews)
8.3
techwise

Professional Development Company will serve you with excellent services . 100% quality work , error free, testing of all features looking forward your reply

€255 EUR in 10 days
(242 Reviews)
7.7
Azavedo

Hello there, We could help out with this job, the only thing though is that if accepted we would be able to start on Friday (.i.e. November 29th). Best wishes, Judith

€250 EUR in 10 days
(306 Reviews)
7.4
wildlily980

一个有效的提议尚未被提供

€255 EUR in 3 days
(60 Reviews)
6.9
phpsunil

hi there, we are team of 20 developers from india. we are experts of php mysql ajax j qeury with few frameworks like codeignitor n zend. we have done many prjoects like erp crm real estate portals e commerce, mlm / ref More

€257 EUR in 3 days
(18 Reviews)
5.1
ripmarad

Hello Sir I am an PHP Certified Developer have a 5 years of experience in Development Platform I Read your Project Details and Understand 120%what you want Ready to start right now and it will be take 3 days t More

€206 EUR in 3 days
(10 Reviews)
4.3