Author Topic: Uploadign of files error  (Read 28592 times)

j_strackbein

  • Freshman
  • *
  • Posts: 10
    • View Profile
    • WISER: Water bodies in Europe, Intergrative System to access Ecological status and Recovery
    • Email
Re: Uploadign of files error
« Reply #45 on: November 28, 2008, 06:19:56 am »
great, even better! thanks a lot

GHC

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Uploadign of files error
« Reply #46 on: December 02, 2008, 09:44:26 am »
Hi,

Try changing the contents of function force_mkdir, on line 225 of environment/functions/files.php so that you end up with this:

Code: [Select]
function force_mkdir($path, $chmod = null) {
return mkdir($path, $chmod, true);
} // force_mkdir

This patch was submitted by Gennady Telegin, who had the same problem, and this fixed it. Thanks Gennady!

Ok, this solved the same problem for me as well.

But question: why are the files saved with such cryptic directory and filenames? This makes it virtually impossible to recognize files using ftp.

In my opinion a simple file structure like:

/uploads/workspacename/filename

would be much clearer.

Or at the very least a normal filename. That way I would have access to the file through ftp if OG would be inaccessible at some point.

Regards,

Walrick

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: Uploadign of files error
« Reply #47 on: December 02, 2008, 11:07:56 am »
Hi, this has been discussed here: http://forums.opengoo.org/index.php?topic=429.msg1698#msg1698

The filesystem repository isn't meant to be accessed outside of OpenGoo. The main reason for this is that there's no permission checking when this is done (you see everyone's files), and there's no revision tracking, etc.

juerg

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Uploadign of files error
« Reply #48 on: December 03, 2008, 08:41:11 pm »
worked! thanks!  ;D