I'm on a GoDaddy shared hosting Linux server ("unlimited" hosting).
I have a folder with product images for an e-commerce store that contains over 7000 images.
GoDaddy told me I'm not allowed to have over 1024 files in a single directory and that I need to reformat the folder structure, which isn't possible as this software is maintained and run by a Point-of-Sale system at my client's brick and mortar store.
I've SSH'd in and changed permissions on the folder I'm moving the image to and the image itself to 777 and issued the following command:
mv img.gif product_images/img.gif
and I get the following error:
mv: cannot move 'img.gif' to 'product_images/img.gif': File too large
The file is not "too large"; it is only 49 bytes (its a 1x1 gif)!
If I try drag+drop upload from Windows into the directory via FTP I get the following errors:
An error occurred copying a file to the FTP Server. Make sure you have permission to put files on the server. Details: 200 TYPE is now 8-bit binary 227 Entering Passive Mode (184,168,167,92,197,60) 553-Can't open that file: File too large 553 Rename/move failure: no such file or directory
I DO have permission to put files on the server...its how I put the img.gif file there in the first place. The directory does exist. I can
ls its contents just fine.
The previous support guy (who is not longer available) could do it - I just don't know how.
How can I go about moving files into this very stubborn directory? Any ideas?