Find Jobs
Hire Freelancers

Script to create database entries of files received via FTP

$30-250 USD

Closed
Posted over 6 years ago

$30-250 USD

Paid on delivery
We would like to provide videos coming from cameras via FTP on a website. Website and database already exist, so that the job is very simple: whenever a new FTP-Transfer has finished the script shall make a database entry containing filename, date, time, cam-id and transfer that .avi file to a target directory using a new filename which is determined from the db-entry. db-structure table security: CREATE TABLE "security" ( camera integer, filename character(80) NOT NULL, frame integer, file_type integer, time_stamp timestamp(6) without time zone, text_event character(40), event_time_stamp character varying(14) ) Example of db entries camera | filename | frame | file_type | time_stamp | text_event | event_time_stamp --------+----------------------------------------------------------------------------------+-------+-----------+---------------------+------------+------------------ 3 | /home/sosobserve/htdocs/gallery/img/3/2017/06/23/[login to view URL] | 3 | 1 | 2017-06-23 14:00:32 | | 20170623135948 3 | /home/sosobserve/htdocs/gallery/vid/3/2017/06/23/[login to view URL] | 2 | 8 | 2017-06-23 14:02:24 | | 20170623140224 3 | /home/sosobserve/htdocs/gallery/img/3/2017/06/23/[login to view URL] | 0 | 1 | 2017-06-23 14:03:22 | | 20170623140224 3 | /home/sosobserve/htdocs/gallery/vid/3/2017/06/23/[login to view URL] | 2 | 8 | 2017-06-23 14:05:22 | | 20170623140522 3 | /home/sosobserve/htdocs/gallery/img/3/2017/06/23/[login to view URL] | 2 | 1 | 2017-06-23 14:07:27 | | 20170623140522 3 | /home/sosobserve/htdocs/gallery/vid/3/2017/06/23/[login to view URL] | 3 | 8 | 2017-06-23 14:15:58 | | 20170623141558 origin of data camera ---> values 1,2,3,4.... determined from the directory name where the respective ftp-files arrive filename ---> full path of file in target directory - path comes from a config file frame ---> value 2 should do it for the moment file_type ---> value 1 for .avi file time_stamp ----> time when ftp files arrival has completed text_event ---> empty event_time_stamp --> same value as time_stamp - different format
Project ID: 14723175

About the project

Active 7 yrs ago
Location: Eluru, India

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of INDIA
India
0.0
0
Member since Jul 21, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.