Problems installing/starting FTP Server

LabKey Support Forum (Inactive)
Problems installing/starting FTP Server myatthu1986  2008-12-16 09:45
Status: Closed
 
Hello all,

I am using apache ftp sever ftpserver-1.0.0-M3.
I want to access my ftp server from any computers which is same network or not.
eg. ftp://pcname:2121/..

if you have ftpd.xml file,please share me.
I want to know how and where to define server address in ftpd.xml file.

here is my current ftp file...

<?xml version="1.0" encoding="UTF-8"?>

<server xmlns="http://mina.apache.org/ftpserver/spring/v1"
    xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://mina.apache.org/ftpserver/spring/v1 http://mina.apache.org/ftpserver/ftpserver-1.0.xsd "
    id="myServer">
    
    <listeners>
        <nio-listener name="pc69" port="2121" implicit-ssl="false" idle-timeout="60" local-address="***.***.*.***">           
            <data-connection idle-timeout="600">
                <active enabled="true" local-address="***.***.*.***" local-port="2121" ip-check="true" />
                <passive ports="2121" address="pc69" external-address="***.***.*.***" />
            </data-connection>
            <blacklist>1.2.3.0/16, 1.2.4.0/16, 1.2.3.4</blacklist>
        </nio-listener>
    </listeners>
    
    <file-user-manager file="./res/user.gen" />
    
</server>
 
 
Brian Connolly responded:  2008-12-16 11:11
Myat,

Are you using the Apache FTP server as part of your LabKey Server? Or is it a stand-alone FTP server?

If you are using it with your LabKey Server, can you please tell me what version of the PipelineFTP software you are using. You can find the version # in the name of the file that you downloaded. It should be of the format 2.x or 8.x

Thanks,

-Brian
 
myatthu1986 responded:  2008-12-17 03:34
I am using Apache Ftp Server alone , not Labkey server.
What my problem is
when i add this line
"config.listeners.default.address=***.***.*.***" in ftpd.properties file,
i get this message

C:\ftpserver\bin>service install ftpd -prop c:\ftpserver\res\conf\ftpd.propertie
s
Installing the service 'ftpd' ...
Using FTPD_HOME: C:\ftpserver
Using JAVA_HOME: c:\Java\jdk1.6.0
Using JVM: c:\Java\jdk1.6.0\jre\bin\server\jvm.dll
start
start;-prop
start;-prop;c:\ftpserver\res\conf\ftpd.properties
start;-prop;c:\ftpserver\res\conf\ftpd.properties
The service 'ftpd' has been installed.

C:\ftpserver\bin>net start ftpd
The Apache FtpServer ftpd service is starting.
The Apache FtpServer ftpd service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.


C:\ftpserver\bin>


I mean i cannot define address manually.
How can i do it.
Plsease tell me.
 
Matthew Bellew responded:  2008-12-17 09:44
I'm sorry to say that you're posting your question in the wrong place. This is the support site for the LabKey Server, not Apache. You might have better luck asking on the Apache mailing lists.

  http://mina.apache.org/ftpserver/

Good luck,
Matt