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