-
- 44 Posts
I tried to upload a ’.htc’ file with the file-manager but don’t allow it. I can select the file but when click the ’Upload’ button the page are reloaded as usual but the file is not uploaded.
I’am using the MODx 0.9.6 version and the directory in question is writable, I can upload any ’css’, ’txt’,...
Is this a bug?
Finally I uploaded the file by FTP and it’s displayed but the ’Edit’ and the ’View’ icons are grayed.
Check the File Manager configuration for allowed upload types (extensions). Not a bug.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Also, keep in mind that for the Resource Browser, individual users have their own settings for this.
The File Manager is just a PHP script. If PHP can create symlinks, I’m not aware of it.
Heh... learn something new every day:
http://il2.php.net/symlink
Looks like it might be useful, although apparently it doesn’t work on Windows servers.
-
- 44 Posts
Susan seems interesting, but like you say it does not work in Windows. (not a problem for me, I use Linux at office and in web servers, but not good for windows servers users)
Although, I had in mind a small table in the database to store the paths to the directories, and show these paths as links at the top of file-manager, like links to the ’home directory’ or ’up a level’ directory.
The user comments on that PHP page had some interesting workarounds for Windows users. I didn’t pay all that much attention since I’m not, and do sincerely hope I never will be, on a Windows server, but they might be of use to those who are.