AndFTP renaming images on upload
Posted: Thu Nov 04, 2010 7:04 am
I'm not 100% sure this is AndFTP behavior or Android and I didn't see this asked yet so here goes...
I take photos with my phone (Samsung Galaxy S) and then upload them to my webserver where a PHP script runs when I visit and makes thumbnails about of my .jpg files I put there. I have thus far only coded the script to recognize .jpg files. The problem I've just noticed is my files are being renamed on upload from .jpg to .jpeg.
Method: Take a photo with "Camera". Review the photo, "Share", then select "AndFTP". It then successfully uploads the file but the extension is changed.
It also does this if I access AndFTP via Share using the stock file browser and Gallery. If I go into AndFTP directly and browse my file system and select the file and upload, then the extension remains the same.
I looked in the settings and didn't see anything that stood out. Any ideas?
I take photos with my phone (Samsung Galaxy S) and then upload them to my webserver where a PHP script runs when I visit and makes thumbnails about of my .jpg files I put there. I have thus far only coded the script to recognize .jpg files. The problem I've just noticed is my files are being renamed on upload from .jpg to .jpeg.
Method: Take a photo with "Camera". Review the photo, "Share", then select "AndFTP". It then successfully uploads the file but the extension is changed.
It also does this if I access AndFTP via Share using the stock file browser and Gallery. If I go into AndFTP directly and browse my file system and select the file and upload, then the extension remains the same.
I looked in the settings and didn't see anything that stood out. Any ideas?