I have multiple CC5MPX's and I am trying to retrieve images taken when motion was detected. (I am not able to use email, FTP, or PakBus). I am able to download images using wget when I know the image URL, but I need to download all images when I don't know the URL.
The CC5MPX's don't give me permission to browse the /sdcard/MotionDetectStill/ directory, and I can't seem to get wget to follow links to other directories and images on a given page (e.g., http://192.168.1.76/sdcard1.htm?FLAG=DIR&DIR=/mnt/mmc&FILE=MotionDetectStill). Any suggestions? Thanks.
You can use wget to access the ftp server on the CC5MPX, and by using a command like this you can list all the files/directories available:
wget --no-remove-listing ftp://192.168.1.90:85/MotionDetectStill/
This will require some parsing of the resulting .listing file on your end, but it will give you a complete list of all the images saved on the SD card.
Once you have the filenames of the images on the card you can use another wget request to download the actual files from the camera.
Thanks Paul!
I did not know I could grab the files via ftp. Instead of wget, I think I'll now just use the simpler solution of having an ftp backup program like SyncBackPro schedule and perform the file gets, now that I can just specify an ftp directory to pull from.