I'm not sure what O/S you are on, but in Windows you can do a search at the top-level directory for *.jpg, then select all (Ctrl-A) of the results, and then paste them as shortcuts (Alt-E, S) into a new temporary folder. This new folder will then contain shortcuts (or pointers) to the original files. You can then use this temporary folder to upload in FileZilla.