Hi,
No. Client & server on the same LAN, Windows Firewall Deactivated both ends. The first goal of using another port was to see what was the behavior of the DS VI when not using the right port. The server was still set to port 21 and transfer was successful, still using port 21.
I finally went with the FTP VIs because I need the directory listing function. I still get Error 66 most of the time, but I just filter out this error... I know this might not be the best way to go, but until I find something better, this will have to do...
When I get error 66, there's nothing unusual in the FTP server transaction Log (everything is exaclty as when no error occurs). I captured the packets of the transmission and the only difference between no error and error 66 is that 2 bytes are missing on port 21 (control port) when error 66 occurs. On port 20 (Data port) , the amount of data is the same in both cases. But if I look at the captured data on port 21, I can't see any difference between the two cases. The two missing bytes must be invisible caracters (something like LF or CR).
With the FTP VIs I also had problems with error 0, but I solve this by using the passive transfer mode.
Any Ideas about error 66?