Change FTP RootDirectory from /Alfresco

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 06:17 AM
Hi,
I want to change the FTP RootDirectory from /Alfresco(default configuration) to some directory i mention under <rootDirectory>…</rootDirectory> tag.Can anybody suggest me how this configuration can be done.
I want to change the FTP RootDirectory from /Alfresco(default configuration) to some directory i mention under <rootDirectory>…</rootDirectory> tag.Can anybody suggest me how this configuration can be done.
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 06:42 AM
Hi,
Create a file called file-servers-custom.xml under tomcat/shared/classes/alfresco/extension and use something like the following
Note here I have moved the FTP server onto port 2121 as well as setting the default root directory. Note that the root directory supplies the starting point for an FTP session, it doesn't prevent navigation into the parent folders (depending on user permissions, of course).
http://wiki.alfresco.com/wiki/File_Server_Configuration
Thanks,
Mike
Create a file called file-servers-custom.xml under tomcat/shared/classes/alfresco/extension and use something like the following
<alfresco-config area="file-servers"> <config evaluator="string-compare" condition="FTP Server"> <port>2121</port> <rootDirectory>/Alfresco/User Homes/MikeH</rootDirectory> </config></alfresco-config>
Note here I have moved the FTP server onto port 2121 as well as setting the default root directory. Note that the root directory supplies the starting point for an FTP session, it doesn't prevent navigation into the parent folders (depending on user permissions, of course).
http://wiki.alfresco.com/wiki/File_Server_Configuration
Thanks,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2007 10:42 AM
Hello ,
Is it possible to have the username part in following to be dynamically resolved based on the username of the logging in user.
<rootDirectory>/Alfresco/User Homes/MikeH</rootDirectory>
i.e. for user Tom
<rootDirectory>/Alfresco/User Homes/Tom</rootDirectory>
and for Dick
<rootDirectory>/Alfresco/User Homes/Dick</rootDirectory>
i.e. something like
<rootDirectory>/Alfresco/User Homes/{username}</rootDirectory>
Thanks a lot
Is it possible to have the username part in following to be dynamically resolved based on the username of the logging in user.
<rootDirectory>/Alfresco/User Homes/MikeH</rootDirectory>
i.e. for user Tom
<rootDirectory>/Alfresco/User Homes/Tom</rootDirectory>
and for Dick
<rootDirectory>/Alfresco/User Homes/Dick</rootDirectory>
i.e. something like
<rootDirectory>/Alfresco/User Homes/{username}</rootDirectory>
Thanks a lot

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2008 12:48 PM
Have you find the right sintax to point to userhome dir?
thanks
Andrea
thanks
Andrea
