Assistance Needed with PDF Upload Issue on Remote Server

http://chemfile.wuaze.com/

I would like to request your assistance with a problem I have been experiencing with an application designed to upload PDF templates to a remote server. While the functionality works correctly in the local environment, I am unable to successfully upload files to the remote server.

I would appreciate any information regarding whether the free version of the service I am using has limitations on the size or type of files that can be uploaded.

I believe that PDF files are prohibited by the system. Try using an external file sharing service like Box or Google Drive

5 Likes

CHMOD 777 uploads folder and then upload it. Hosting support upload pdf, jpg, jpeg, gif… etc…
Good luck ! (script sample: Tải lên PDF)

I already have a folder called files.
Do I necessarily need to change the folder name from files to uploads?

no, it’s not necessarily , you should only chmod that folder (files) to 777 and done.

Uhh, no. InfinityFree does not support uploading PDF files. In fact, if you take a look at the knowledge base, they’re specifically listed as one of the file types that are automatically deleted after uploading.

No! There is no reason you should have to use CHMOD on InfinityFree. Files already have the correct permission to be used, edited, and executed.
@Rufoelgrande if you’re uploading those PDF templates to your InfinityFree site, you’re not going to be able to do that, despite the false advice you’ve been given. Instead, upload them to a third-party file hosting service like @Greenreader9 suggested, and publish download links to them on your website.

3 Likes

try it, you can upload pdf but not exe or other filetype —> Tải lên PDF
URL to download after upload: https://ai.matilda.vn/weather/uploads/your_file_name.pdf
https://ai.matilda.vn <---- Current hosting in InfinityFree

2 Likes

https://ai.matilda.vn/weather/uploads/CVVPUBND.pdf <— A pdf file just uploaded.
your_file_name.pdf <----> your file name is your file name please read my code before test : This is my code Tải lên PDF

I see you just upload pdf file here https://ai.matilda.vn/weather/uploads/Scratch%20to%20swf_%20_%20r_scratch.pdf (deleted due to edward’s request)

Interesting. It used to be they were always deleted after upload. Can the admin confirm whether or not this is intentional?

1 Like

Only for test and I’ve just deleted it all.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.