I'm trying to make a script that downloads all jpg files from my FTP server.
Want to use ncftp command for this.

Anyone knows of the command for doing this?

When I have downloaded the .jpg files, I want to try and make a movie of the files.
The .jpg files have names like: 0625jpgwebcam.jpg, 0626jpgwebcam.jpg and so on.
This is my command:
ffmpeg -f image2 -i %jpgwebcam.jpg video.mpg
I get this error:
could not find codec parameters
Where do I go wrong?