bug with a developping server

Hi

I am working on a ftp daemon project, and I have a big incompatibility with smartFTP, I don't exactly know if the bug is from your software or mine (I've tested smartftp with servu and IIS and I've tested my daemon with IE and FlashFXP and the bug doesn't occurs).

When I do a listing of the directory, smartftp shows nothing but I can see the listing when i use the "show raw directory" command.
Moreover instead of having something like this (with servu) :
150 Opening ASCII mode data connection for /bin/ls.



    1333 bytes received successfully. (1.30 KB/s) (00:00:01).



226 Transfer complete.

I get this :



150 Opening ASCII mode data connection for /bin/ls.



226 Transfer complete.




Another bug (but I think it is the same problem) when I try to upload a file smartftp send a PASV command just after the STOR command without waiting for the 226 message.




    TYPE I



200 TYPE Command okay.



    PASV



227 Entering Passive Mode (127,0,0,1,5,32).



    Opening data connection IP: 127.0.0.1 PORT: 1312.



200 PASV Command okay.



    STOR intro.avi



    TYPE A



150 Opening binary mode data connection for "/intro.avi".



200 TYPE Command okay.



    PASV



425 Can't open data connection. Transfert in progress.




Maybe you can help me ?

Try to disable the listing options, to fix the 1st trouble, and disabling pasv for the 2nd, to be sure of that, add your ftp to the favorites and check the settings.

Everything seems to work in non-passive mode.

BUt I still don't understaind because it should work in passive mode too (and there is no address problem because i'm testing in loopback mode 127,0,0,1,..,..)