cancel
Showing results for 
Search instead for 
Did you mean: 

FTP problem

quale
Champ in-the-making
Champ in-the-making
I've installed alfresco (version 1.1.2 and 1.2.0RC2) and it works very fine.
But there is a problem using ftp connection.

When I connect using ftp, it is impossible to create a directory or uploading a file. I always get the same error: Invalid path

C:\>ftp localhost
Connesso a pgranato
220 FTP server ready
Utente (pgranatoSmiley Sadnone)): admin
331 User name okay, need password for admin
Password:
230 User logged in, proceed
ftp> dir
200 Port OK
150 File status okay, about to open data connection
226 Closing data connection
ftp> mkdir pippo
550 Invalid path pippo
ftp> put testo.txt
200 Port OK
500 Invalid path
ftp>

I'm using Windows XP and the original alfresco configuration.
I'm sure I'm making some error but I cannot find out where.
Can someone help me?

Pasquale
27 REPLIES 27

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

The FTP root directory defaults to listing the available filesystems, you should see an 'Alfresco' folder. If you 'cd Alfresco' then you should be able to create folders and uplaod content (assuming you have the correct permissions).

You can set a default root path in the file-servers.xml configuration file, eg :-

   <config evaluator="string-compare" condition="FTP Server">
     <rootDirectory>/Alfresco</rootDirectory>
   </config>

You can also use a path to a sub-folder.

Cheers

Gary

quale
Champ in-the-making
Champ in-the-making
Thank you Gary for your help, but it still doesn't work.
I've alse tried with the 1.2 version, using the following configuration:


   <config evaluator="string-compare" condition="FTP Server">
       <debug flags="File,Search,Error,Directory,Info,DataPort"/>
        <rootDirectory>/Alfresco</rootDirectory>
   </config>
  
   <config evaluator="string-compare" condition="Filesystems">
      <filesystem name="Alfresco">
         <store>workspace://SpacesStore</store>
         <rootPath>/app:company_home</rootPath>
        <urlFile>
            <filename>__AlfrescoClient.url</filename>
            <webpath>http://localhost:8080/alfresco/</webpath>
         </urlFile>
      </filesystem>
   </config>

But the result is the same: I cannot create directory and I cannot upload files.
There is something else I can try to get FTP server working?

Pasquale

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

What user did you login as with FTP ?. To be able to create files/folders in the root of the /Alfresco filesystem you will need the correct permissions. Try logging in using the admin account.

If you login as a normal user then you will need to cd to the users home space folder, you should then have the permission to create files/folders within that area.

Cheers

Gary

quale
Champ in-the-making
Champ in-the-making
Hi Gary,
I used admin, guest (anonymous) and other user, but the result is always the same. Please note that the dir command returns nothing, so I cannot cd into Alfresco folder nor into any else.

After several days of work on Alfresco, my problem is still the same: to get FTP service working there are some setting to do on the out-of-the-box Alfresco installation? I ask this because Alfresco web interface (1.1.2, 1.2.0RC2 and 1.2) worked immediately without changes at the configuration files.

Thank you very much for your time.

Pasquale

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Could you email me a copy of the alfresco.log file and file-servers.xml file.

Thanks

Gary

tristancho
Champ in-the-making
Champ in-the-making
Hello everybody,

I'm experiencing the same problem Pasquale described. Did you find the solution?

Cheers

irblue
Champ in-the-making
Champ in-the-making
Hi,

I had been using the FTP feature (ver. 1.2) for some time now, except the problem of rule processing via FTP must have Coordinator role, everything seems fine.

One thing I do noted is that you must type "Alfresco" in the path, small case "alfresco" won't work, i.e. :

ftp://www.domain.com/Alfresco

not ftp://www.domain.com/alfresco

Blue.

tristancho
Champ in-the-making
Champ in-the-making
Hi,

I tried both ftp://www.domain.com/Alfresco and ftp://www.domain.com/alfresco but non of them worked.

I tried to connect with a specific ftp client (filezilla) and didn't work either. In fact it connects but the list of folders is empty and when you try to create a new folder the server returns 550 error code (Invalid path). The same error is returned when trying to access /Alfresco /alfresco or /anything

I'm testing the same alfresco version than you, 1.2

rdanner
Champ in-the-making
Champ in-the-making
Hello everybody,

I'm experiencing the same problem Pasquale described. Did you find the solution?

Cheers

I dont see an answer to you question here.  I did a install for a friend, and out of the box I am experiencing the same issue.  If I get to the bottom of it I'll let you know.  Its low priority for me.