Windows, Java 11, Lucee 5.3.8 via commandbox 5.4.2
I’m trying to upload a file using the S3 filesystem to a sub-folder in a bucket for the first time and getting an error. The same code directly to the bucket root (ie: removing the subfolder path) works perfectly. Is it not possible to write to a subfolder?
fileMove( "#getTempDirectory()#\#uploadedFile.serverFile#", "s3://my-web-assets/img/
avatars/#filename#" )
Yields
can't write file [s3:///my-web-assets/img/
avatars/1.jpg] as a file, missing parent directory [s3:///my-web-assets/img/
avatars]