RoniPG Posted July 2, 2024 Share Posted July 2, 2024 (edited) Hello, Anyone have any idea how to upload more than one file in the section: Catalog > Files. I need to upload 300 PDF files, the problem is that it only lets me add them one by one. I have tried to upload them via FTP to the folder: /web/myweb.com/public_html/download, but it does not work. Any ideas? Edited July 4, 2024 by RoniPG (see edit history) Link to comment Share on other sites More sharing options...
juanrojas Posted July 3, 2024 Share Posted July 3, 2024 Hello, what is the error that it shows you when you do it via ftp? Did you try uploading a .zip and then decompressing? Link to comment Share on other sites More sharing options...
RoniPG Posted July 3, 2024 Author Share Posted July 3, 2024 Hi, @juanrojas When I upload the files via FTP, they upload successfully, but I can't see them in the back office under Catalog > Files. It doesn't show me any error. On the other hand, I can't push a ZIP file because of this: "Error uploading the file. Please check the file upload size limit set on your server." Thanks for your response anyway. And if you think of something, let me know. Cheers Link to comment Share on other sites More sharing options...
juanrojas Posted July 3, 2024 Share Posted July 3, 2024 It occurs to me that you load them via CSV with the corresponding product, with that route that you have created to see if it is displayed, I have not tried it, it is an idea Link to comment Share on other sites More sharing options...
endriu107 Posted July 3, 2024 Share Posted July 3, 2024 It will not work that you only upload file to this folder on ftp. When file is uploaded prestashop hashes it name so file documentation.pdf will be renamed to something like that: 8f69dfc2c558dfcbadc1b09b270ed045d681ae67 in database this name, file mime and other thing are stored in tables PREFIX_attachment and PREFIX_attachment_lang only then you can see files in backoffice when file data are filled in DB. Link to comment Share on other sites More sharing options...
RoniPG Posted July 4, 2024 Author Share Posted July 4, 2024 Hi again, Just wanted to let you know that the best way for me to get this done is by pushing all the files via FTP and then creating a script to sync everything in the database. Thanks again to everyone for the help! Have a nice day! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now