Jump to content

[Solved]Upload more than one file


RoniPG

Recommended Posts

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 by RoniPG (see edit history)
Link to comment
Share on other sites

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

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

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

  • RoniPG changed the title to [Solved]Upload more than one file

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...