cancel
Showing results for 
Search instead for 
Did you mean: 

FTP Configuration on Alf Com 4

jcuk
Champ on-the-rise
Champ on-the-rise
Hi,

I'm attempting to configure FTP for my Alfresco community 4 installation, however I have run into an issue. My dir.root is set correctly and I can upload files without an issue. However, when I connect to FTP, the alfresco folder appears to contain demo data and folders, I would like this to show my actual data store and allow me to upload and download files via FTP for that datastore.

Can someone confirm how this is done? I don't appear to have a file-servers.xml to configure additional repositories, also from the wiki I see that configuration of this is different in 4.0 as opposed to 3.2.

Many Thanks,
Jamie
8 REPLIES 8

mrogers
Star Contributor
Star Contributor
You probably need to change your "mount point".

I suggest you start by changing alfresco-global.properties to have the following setting.

protocols.rootPath=/${spaces.company_home.childname}

If not then please post more details.

jcuk
Champ on-the-rise
Champ on-the-rise
Hi,

I currently have the following line already in the alfresco-global.properties file:

### File Protocol Root ###
protocols.rootPath=/${spaces.company_home.childname}/${spaces.sites.childname}

Many Thanks,
Jamie

mrogers
Star Contributor
Star Contributor
You need to clarify what you are trying to do.   What are you seeing?  What do you expect?

jcuk
Champ on-the-rise
Champ on-the-rise
So when I connect to the alfresco FTP server, i expect to have a directory listing from root. Alfresco and AVM.

Within the Alfresco directory I want to have access to files within a space I have created, in this instance, lets call the space 'exspace'. However, there are no folders within the alfresco directory, on the FTP server, which signify the 'exspace' space, thus, I'm unable to upload and download files to that space via FTP.

Hope this clarifies?

Thanks,
Jamie

jcuk
Champ on-the-rise
Champ on-the-rise
Any updates on this at all? Any ideas on how I can get this resolved?

mrogers
Star Contributor
Star Contributor
What is the path of "exspace"?

If its company-home/exspace then you need to change your mount point.

jcuk
Champ on-the-rise
Champ on-the-rise
So my dir.root is set to /opt/alfresco/alf_data, I have a space created as 'jcukspace' which I created within alfresco admin.

I would like to be able to upload and download files to this space using FTP. However, when I connect to the FTP server, i'm unable to find the space's location.

Oh and yes, the space is created in company-home/jcukspace.

Thanks,
Jamie

mrogers
Star Contributor
Star Contributor
forget about dir.root and set the protocol root as I have told you on 21 May above.

protocols.rootPath=/${spaces.company_home.childname}