You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apparently the upload function can't handle long-ish file names.
Steps to reproduce
try uploading a file with a long name: eyJidWNrZXQiOiJhcmVuYV9pbWFnZXMiLCJrZXkiOiIxMDg2MTk3Ny9vcmlnaW5hbF85MjE5ZmZmMmIxNDM1OTFiZmE2NzZmYjk1NWJjOWEyYy5qcGciLCJlZGl0cyI6eyJyZXNpemUiOnsid2lkdGgiOjYzMCwiaGVpZ2h0Ijo2MzAsImZpdCI6Imluc2lkZSIsIndpdGhvdXRFbmxhcmdlbWVudCI6dHJ1ZX0sIndlYnA.jpeg
Expected behavior
should upload fine.
does in fact work, when I rename the file to test.jpg
Actual behavior
Craft CMS version
4.4.1
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered:
Hi, thanks for reaching out. This isn’t so much Craft not being able to handle long filenames as it is a limitation dependent on the OS. If the filename exceeds what the OS can work with, PHP won’t move (or copy) the file.
That being said, we will discuss possible options internally.
What happened?
Description
apparently the upload function can't handle long-ish file names.
Steps to reproduce
eyJidWNrZXQiOiJhcmVuYV9pbWFnZXMiLCJrZXkiOiIxMDg2MTk3Ny9vcmlnaW5hbF85MjE5ZmZmMmIxNDM1OTFiZmE2NzZmYjk1NWJjOWEyYy5qcGciLCJlZGl0cyI6eyJyZXNpemUiOnsid2lkdGgiOjYzMCwiaGVpZ2h0Ijo2MzAsImZpdCI6Imluc2lkZSIsIndpdGhvdXRFbmxhcmdlbWVudCI6dHJ1ZX0sIndlYnA.jpeg
Expected behavior
should upload fine.
does in fact work, when I rename the file to
test.jpg
Actual behavior
Craft CMS version
4.4.1
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
The text was updated successfully, but these errors were encountered: