Trying my hands on libgphoto2 library examples and while going through simple-capture.c
file. Can i download foo.jpg
captured image to a specified folder on my computer?
As far as i understood, in capture_to_file()
camera_file_path.folder
is the folder in which the file can be found on the camera. So open()
should specify the host(computer) location. But nothing worked, i get following error:
You need to specify a folder starting with /store_xxxxxxxxx/
Am i missing something here? Any help would be appreciated, thanks!
I got this working. Written small application for multiple cameras. Including main() for about question.