TinyPortal

Development => Support => Topic started by: projectgz on November 11, 2007, 12:35:20 AM

Title: Download Manager
Post by: projectgz on November 11, 2007, 12:35:20 AM
Is there any way where i could manually upload a file and include it in the download manager? cuz i uploaded it using my ftp and it didnt work.
Title: Re: Download Manager
Post by: IchBin on November 11, 2007, 01:05:17 AM
Please be specific about your problem. "Doesn't work" does not give us any clue about "what" is not working. What errors do you get? What is happening? Does it load a blank page or what?

You may want to check and make sure that the files are chmod and owned the same as the other files in your downloads.
Title: Re: Download Manager
Post by: projectgz on November 11, 2007, 09:27:25 AM
Sorry about that. This what happens. I got the dl manager to work and unfortunately having the same problem as many of these members having with the timeout limit and so on. I see that when i upload through the browser it changes the file name to an unknown. this is what i wanna know... Could I upload using a ftp and include that file in the tp dl manager? cuz browser uploading sux and the ftp option that comes with the dl manager says i do not have permission and gives me a 404 page.

so to make things even easier, how could i upload a file to the Downloads folder using filezila ftp and post it on the Tinyportal DL manager?
Title: Re: Download Manager
Post by: Nokonium on November 11, 2007, 11:25:28 AM
If you ftp the file to the /tp-downloads folder, then go to Manage Downloads>FTP you will see something like the attached, where you can assign the ftp'd file(s)
Title: Re: Download Manager
Post by: projectgz on November 11, 2007, 05:54:47 PM
yes but It says I do not have permission whenever I click on that FTP option.

"Forbidden
You don't have permission to access /forum/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.39 Server at xxxxx.com Port 80"

thats the messasge i get.

and the file is set to 777
Title: Re: Download Manager
Post by: IchBin on November 12, 2007, 12:36:25 AM
What are the permissions on your downloads folder? What is it and the files in it chmod to, and who is the owner?
Title: Re: Download Manager
Post by: projectgz on November 12, 2007, 08:13:13 AM
I am the owner. permissions on my download folder is 777. and i put one file to check and gave it permission 777 as well. it was a zip file i put there.
Title: Re: Download Manager
Post by: IchBin on November 12, 2007, 02:56:06 PM
Are you the owner of all the files? The reason I ask, is that I know on some servers, depending on the configuration it needs to be apache owned. When you upload a file, does it say that you are the owner? If so, it may be a problem with phpSuExec. I can only suggest you try a couple of things. chown the files to the apache user. Chmod them to 755, if that doesn't work try 777.
Title: Re: Download Manager
Post by: projectgz on November 12, 2007, 10:38:04 PM
okay couple of questions.. as far as i am concerned i am the only one whos uploading and i am the only one whos managing the whole account. so therefore i guess i am the owner. and second of all how do I chown the files to the apache user? and the other option you supplied i tried and does not work. But then again will this fix the problem if i reinstall the forum itself? But last time i reinstalled it, it was acting weired. my boards were back but not the posts.

and whenever i post, within that post there come another post accordingly. It is weired.
Title: Re: Download Manager
Post by: IchBin on November 13, 2007, 12:42:10 AM
If you have CPanel you can view the ownership and permissions of the files. Not sure you can change the files to the apache user, as usually that is done automatically by apache when you upload the file. Unless you upload it via FTP, then its owned by you. You'll need to ask your host for assistance in changing the owner ship to test it out.