JFolder: :files: Path is not a folder. Path:

claven123
Phoca Member
Phoca Member
Posts: 22
Joined: 31 Oct 2013, 19:11

JFolder: :files: Path is not a folder. Path:

Post by claven123 » 05 Jul 2017, 19:58

I'm trying to save the files outside the public_html folder.

I've followed the directions on the doc page. My absolute path is: /usr/home/palpal10/

Then when I go to do a multple add I get this warning error....

Warning

JFolder: :files: Path is not a folder. Path: /usr/home/palpal10/
JFolder: :folder: Path is not a folder. Path: /usr/home/palpal10/


Do I need create a folder named.... xyzfolder and make a new direct path: /usr/home/palpal10/xyzfolder

D


User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 38405
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: JFolder: :files: Path is not a folder. Path:

Post by Jan » 07 Jul 2017, 12:51

Hi, you can test to create subfolder, but this also can mean, the Joomla! methods do not have rights or ownership to see the structure behind public_html (e.g. to access it :idea:)

Try to see:
viewtopic.php?f=31&t=28390

Did you check to enable/disable ftp layer?
https://phoca.cz/documents/17-phoca-dow ... tml-folder

Jan
If you find Phoca extensions useful, please support the project

claven123
Phoca Member
Phoca Member
Posts: 22
Joined: 31 Oct 2013, 19:11

Re: JFolder: :files: Path is not a folder. Path:

Post by claven123 » 08 Jul 2017, 21:28

The directions in the documentation area are a bit on the minimal outline style and not detailed.

I did look into enabling the ftp layer and what I could find via google was that it went out after joomla 1.7 or something and not needed anymore. Can you elaborate a bit more on this?

Also, I'm looking into doing direct link in article and I heard this won't work for that.

Is it true you can't do file searches on files outside the public_html, right?

Thanks,

D

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 38405
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: JFolder: :files: Path is not a folder. Path:

Post by Jan » 11 Jul 2017, 19:42

I did look into enabling the ftp layer and what I could find via google was that it went out after joomla 1.7 or something and not needed anymore. Can you elaborate a bit more on this?
It depends on the server and its permissions and ownership settings. I know many servers where ftp layer needs to be enabled as there is no other way how to safely work with the files and folders. So this is more much a question on server administrator.
Phoca Download does not access files or folders, it just uses the Joomla! JFile and JFolder methods and their access the files and folders per php script rights or FTP layer rights (depends on settings of server and Joomla! Global configuration). So this is in fact the question of server settings and Joomla! Global configuration settings :idea:

Code: Select all

Also, I'm looking into doing direct link in article and I heard this won't work for that. 

Yes, you cannot access files outside public_html directly from internet.

Code: Select all

Is it true you can't do file searches on files outside the public_html, right?
Hard to answer this question, as it depends which methods are used for the search, etc. Normally, they cannot be searched e.g. per html/php feature.


Jan
If you find Phoca extensions useful, please support the project

claven123
Phoca Member
Phoca Member
Posts: 22
Joined: 31 Oct 2013, 19:11

Re: JFolder: :files: Path is not a folder. Path:

Post by claven123 » 17 Jul 2017, 01:11

Thanks for the helpful info, I think I'll just scrap this and do it the usual way. I just need to figure out how to direct link in an article.

Thanks,

D

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 38405
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: JFolder: :files: Path is not a folder. Path:

Post by Jan » 19 Jul 2017, 17:33

Ok
If you find Phoca extensions useful, please support the project

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest