Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
8.8k views
in CompleteFTP by
Hi,
I have downloaded the server but I can't connect!! I'm developping an app wich is supposed to get files on the server every 24 hours. When I try to log in, the username and password are accepted but the connection doesn't succed. I lokked at the log file and found these lines:

255.255.255.255 (localhost[127.0.0.1]) - USER admin: Login successful.
255.255.255.255 (localhost[127.0.0.1]) - Preparing to chroot() the environment, path = '/edtFTPD/home/admin'
255.255.255.255 (localhost[127.0.0.1]) - Environment successfully chroot()ed.
255.255.255.255 (localhost[127.0.0.1]) - unable to chdir to / (No such file or directory), defaulting to chroot directory /edtFTPD/home/admin
255.255.255.255 (localhost[127.0.0.1]) - admin chdir("/"): No such file or directory
255.255.255.255 (localhost[127.0.0.1]) - FTP session closed.

I'm working in a windows environnement. what should I do to get ths thing to work?

Thanks a lot!!

2 Answers

0 votes
by
Have a look at this topic. Page 2 of the topic has a solution which has worked for a few people. Here's a quote:
I was having the same chdir("/") error as in original post. I had tried the registry changes and the pre-release 0.9.3b; but, they did not help. What did help was looking back at the passwd file. All of the user accounts listed had the 513 (nobody) group instead of the group they actually belonged to. Because the edtFTPD Manager recreates the passwd file each time, I made sure I wasn't running the manager, edited the c:\edtftpd\etc\passwd file and changed the 513 (nobody group) to 544 (administrator group). Went to control panel, administrative tools, services and started the edt ftp daemon. Bingo! it worked. I'm guessing my problem could be either that my machines I have tested are all xp and not in a domain and/or that they do not have the file & printer sharing for Microsoft Networks installed.


Hope that works for you.

- Hans (EDT Support)
0 votes
by
Thanks! I'll try as soon as I get home!!

Categories

...