Copy file from remote to local using ssh
Don't ssh in to your server first. Just execute that scp command from your local machine.
EDIT:
Also, the -p
should be capitalized (according to the manpage on my machine), so:
scp -P 8888 [email protected]:/var/www/html/00000001.jpg /Users/myusername/Documents/