15.03.2017, 11:06
Does your camera provide a snapshot or are you trying to download the mjpeg stream? I would suggest use luasocket HTTP requests without saving the file to a local filesystem since you are deleting it right after sending.