ftp server does not work with compact flash

  • When I set Comm/ftpd/DefaultDir to \Storage Card (i.e compact flash in pcmcia slot) connections to the ftp server are not possible ("Connection failed - connection refused").


    - I can access \Storage Card from the command line
    - ftp works when default dir is set to \ffsdisk


    Any ideas ?

  • Hello,
    i installed ftp server on my NetDCU8 using ftpd.cab set
    value "DefaultDir" to "\storage card\" and it works!
    I did any other changes. You are sure that there is no syntax error in your writing?
    I connect using "htp://<ipaddress>" and be forwarded to the "DefaultDir".

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • I am sorry but it does not work and it is not a matter of spelling.


    I use NetDCU6 with kernel NK6IE1-050808.bin, the file length of ftpd.dll is 62464 Bytes.


    As I noticed, changing of defaultDir takes effect only after reset. Maybe the problem is caused by a wrong sequence: ftpd is started before pcmcia card is detected ???

  • I used same kernel (NetDCU6) and same ftpd.dll as you and start with default registry. My additional registy settings are as following:



    This configuration works without any problems! (also if i delete the value "Order" then the drivers default is used)

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • 1. I tried exactly your settings and it did not work again. The connection was refused (as if ftp server hadn't started).


    2. I tried "\hard disk" (usb memory stick) and it did work (I did not expect this !!)


    3. I tried a different board (but NetDCU6 as the other) and it did work witout problems. The kernel on this board however is NK6C1-050117.bin. ftpd.dll is the same.

  • Now it works !!!!


    My settings are now:


    reg open \Services
    reg create key FTPD
    reg set value Prefix string FTP
    reg set value Dll string FTPD.DLL
    reg set value FriendlyName string FTP
    reg set value Index dword 0
    reg set value Order dword 9
    reg set value Keep dword 1
    reg save
    reg open \Comm
    reg create key FTPD
    reg set value IsEnabled DWORD 1
    reg set value UseAuthentication DWORD 0
    reg set value AllowAnonymous DWORD 1
    reg set value AllowAnonymousUpload DWORD 1
    reg set value DefaultDir string "\storage card"
    reg set value DLL string FTPD.DLL
    reg set value LogEnabled DWORD 1
    reg set value Keep DWORD 1
    reg save


    This means that ftpd is started as service. This has an additional advantage: ftpd can now be stopped by the command
    services stop ftp0:
    You can then modify the registry and start the ftpd again with
    services start ftp0:
    and the modified registry settings are used !