Find Jobs
Hire Freelancers

Script to create database entries of files received via FTP

$30-250 USD

已关闭
已发布将近 7 年前

$30-250 USD

货到付款
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
项目 ID: 14723175

关于此项目

活跃7 年前
位置: Eluru, India

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

INDIA的国旗
India
0.0
0
会员自7月 21, 2017起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。