cancel
Showing results for 
Search instead for 
Did you mean: 

FTP server not stable

ncmuthu2002
Champ in-the-making
Champ in-the-making
Hi,

     I am useing Alfresco 1.4 Candidate release. I enabled FTP. FTP is working in Internet Explorer, Opera and KBear. But it is not working  all the browsers.

1. Firefox:
          If I type the url as ftp://user@localhost, it works. But If I try ftp://localhost, It asks for the username and password, But after that it is not listing any directory or file.

2. Konqueror:
            After the username and password authentication, It gives error "could not enter folder".

3. Command Line ftp in linux:
             In linux ftp command line, the username and password is getting authenticated, to list the directory, I need to type "ls -al" two to three times. The error output is listed below.
hostname:~ # ftp 127.0.0.1
Connected to 127.0.0.1.
220 FTP server ready
Name (127.0.0.1:root): admin
331 User name okay, need password for admin
Password:
230 User logged in, proceed
Remote system type is UNIX.
ftp> cd
(remote-directory)
usage: cd remote-directory
ftp> dir
211 End
parse error!
ftp> ls
257 "/"
parse error!
ftp> ls -al
502 Command not implemented
502 Command not implemented
502 Command not implemented
ftp: bind: Address already in use
ftp> ls -al
502 Command not implemented
ftp> ls -al
200 Port OK
200 Port OK
ftp> ls -al
150 File status okay, about to open data connection
ftp> ls -al
426 Connection closed; transfer aborted
ftp> ls -al
200 Port OK
200 Port OK
ftp> ls -al
200 Port OK
150 File status okay, about to open data connection
drw-rw-rw-   1 user group 0 Jan  1 1970 Alfresco

Atleaset can you give me any idea to make this work in Konqueror browser.

Thanks,
Muthu.
5 REPLIES 5

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

I've just run some FTP tests using the latest 1.4 code and it worked ok here. I used Konqueror and command line FTP under Suse 10.1, and Firefox 2.0 under Mac OS X.

Cheers

Gary

ddupmul
Champ in-the-making
Champ in-the-making
Hi,

I am currently testing Alfresco, and have Community 1.4 installed from the Windows binary on a Windows XP SP2 system.

Muthu, I get similar results as you do when I FTP using Firefox. When I connect using Firefox 2.0: it works fine when using ftp://admin@localhost
I can go into subdirectories see contents of directories.  However, when I use ftp://localhost, it asks for username and password, but it doesn't go past that.

When I use ftp from a DOS prompt, I can change directories and see files, no problem.

When I ftp from the shell prompt on a Solaris 8 server, it also works fine.

David

rguinot
Confirmed Champ
Confirmed Champ
Have you tried with the actual IP address ? ( for ex: ftp://username@192.168.0.4/ ) .

I am using FC6 (both server and laptop ) , Alfresco CE 1.4 , Firefox 2 . 

It works with Firefox 2  , but not with Konqueror ( says unable to enter the folder or something like that ) .

ddupmul
Champ in-the-making
Champ in-the-making
Hi rguinot,

The problem doesn't appear to be name resolution.  The same behavior is observed for both using localhost and IP address.

If you try to login with a URI that does not include a password ( ftp://192.168.0.4 or ftp://localhost ), what is your result?
For me, after entering the username and password in a dialog box, it just hangs using Firefox 2 on Win XP SP2.

When I try to login using the same hostname (localhost or IP), but instead add the username to the URI, then after asking me for the password, the browser shows me the directory.  ( ftp://admin@192.168.0.4 or ftp://admin@localhost ).

David

steve
Champ in-the-making
Champ in-the-making
Hi,

I have reproduced this problem and have raised a Jira issue for it.
http://issues.alfresco.com/browse/AR-1085

Steve