Overriding the file-servers.xml file

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 12:04 PM
Alf,
I'm trying to override my file-servers.xml file. I copied the file-servers.xml file to my extension directory on Tomcat (<alfresco>/tomcat/shared/classes/alfresco/extension) and changed the FTP port to 1021. Rebooted Alfresco but the new setting is ignored.
I copied the whole file, striped down the file to the essential parts, renamed the file,…
I tried this on several Alfresco (1.3 and 1.2.0) versions but doesn't seem to accept it. I also noticed a file-servers-custom.xml.sample file, should I use this one to extens the file-servers.xml file? I tried this but without any success…
How should I fix this?
I'm trying to override my file-servers.xml file. I copied the file-servers.xml file to my extension directory on Tomcat (<alfresco>/tomcat/shared/classes/alfresco/extension) and changed the FTP port to 1021. Rebooted Alfresco but the new setting is ignored.
I copied the whole file, striped down the file to the essential parts, renamed the file,…
I tried this on several Alfresco (1.3 and 1.2.0) versions but doesn't seem to accept it. I also noticed a file-servers-custom.xml.sample file, should I use this one to extens the file-servers.xml file? I tried this but without any success…
How should I fix this?
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 02:26 PM
Hi,
You have to also copy the file network-protocol-context.xml.sample to your extension folder and rename it to network-protocol-context.xml.
If you want to use that file as is then make sure your overrides are in a file called file-servers-custom.xml.
If all you want to do is override the FTP server port then the contents of file-servers-custom.xml should be:
–Aladdin
You have to also copy the file network-protocol-context.xml.sample to your extension folder and rename it to network-protocol-context.xml.
If you want to use that file as is then make sure your overrides are in a file called file-servers-custom.xml.
If all you want to do is override the FTP server port then the contents of file-servers-custom.xml should be:
<alfresco-config area="file-servers"> <config evaluator="string-compare" condition="FTP Server"> <port>1021</port> </config></alfresco-config>
Cheers,–Aladdin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 08:48 AM
Thanks RivetLogic, this seems to work!
The URL for the link in the CIFS interface does not seem to override with this construction but appart from that it works!
The URL for the link in the CIFS interface does not seem to override with this construction but appart from that it works!
