Hello, I have a question.
I am creating some real content pages from a .csv file. Locally, I have a jpg image for each page that the .csv file creates.
Is there a way to upload these images automatically when the .csv creates the page folders? Each row can have the path to the local image.
Well, you don’t really need to “upload” anything in this case. If the files exist somewhere locally, you can use F::move() to move a file from and old root path to a new root path.
F::move()
Thanks, I’ll give it a try.
Am I able to define the template the file will be assigned? Or will it be the default template?