Motion - Support Question 2014x 05x 09x 205511

ftp'ing pictures

Question

Hello I wanted to send jpg pictures taken by Motion to my ftp server:

on_picture_save wput -B ftp://userID:password@ftp.site.com %f

This does not work (no pictures appear in the site). What is wrong with this command?

Can I also issue a comand to delete jpg files after they are transmitted to the ftp site? Is there a command to send avi files as well?

Paste in your error messages, config settings, terminal window output etc in this text field.

Environment

Motion version: 3.2.12
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS:  
-- AthenaHattutash - 09 May 2014

Answer

Can you attach motion log here? If the upload command fails you should see there why. Also, it is possible to upload movie files by firing script "on_movie_end".

After picture or movie uploaded you can safely delete the file but executing "rm %f". If you want to perform multiple actions, like upload and delete, you should probably write a script and let motion to fire that script

-- TosiaraT - 28 Sep 2014
Topic revision: r2 - 28 Sep 2014, TosiaraT
Copyright © 1999-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.