I thought I would delete the folder named 'test' and try again but I am unable to do anything at all in this folder, not even delete the jpg's in it.
257 "/htdocs/test/test" is current directory.
550 test_1.jpg: Permission denied.
! Delete of test_1.jpg failed.
550 zzzsqIMG_2275_cr.jpg: Permission denied.
! Delete of zzzsqIMG_2275_cr.jpg failed.
550 test.jpg: Permission denied.
! Delete of test.jpg failed.