Wauczie Posted September 23, 2010 Share Posted September 23, 2010 I FTP through a FTA client. Prestshop tells me, server only upload to 24mg files.Server tell me to upload through FTP client. I get era message that can not find file,cause not uploaded through PS.I have file attachment to add.This is a Digital Download. How to I work around this to get files seen. Is it a plugin needed or a work around?Can anyone help me out on this please. Show me were I can go to get answers to this.Thank you Link to comment Share on other sites More sharing options...
rocky Posted September 23, 2010 Share Posted September 23, 2010 You should upload a small file to the product, which will be renamed to a hash code. You should then rename your big file to that hash code and upload it to the download directory to replace the small file. Link to comment Share on other sites More sharing options...
Wauczie Posted September 23, 2010 Author Share Posted September 23, 2010 K :thank you One more ? Do I rename all attachments for the product the same file name? Or make a folder to containall attachments and then rename folder with the id # so it will download all files. All files loaded on server now.This product have over 20+ attachments. Maybe to much to be able to be done.Thank you Link to comment Share on other sites More sharing options...
rocky Posted September 23, 2010 Share Posted September 23, 2010 Yes, you can follow the same instructions above for both attachments and downloadable products. Every file must have its own unique hash code. The only faster way would be to have a look at the ps_product_download table of your database and manually create a new row and create a unique hash code for each row. Actually, I don't think the physically_filename has to be hash code, though it should be hard to guess. It can just be a different filename than the display_filename. It is essential for them to be different so that one person who downloads the file can't find the direct link to the file and give it to another customer. Link to comment Share on other sites More sharing options...
Wauczie Posted September 23, 2010 Author Share Posted September 23, 2010 K: I follow ya on this and I like to Thank you for all the help.Hope you have a good day.Michael 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