From: Sylvain Le G. <sy...@le...> - 2013-10-02 20:08:34
|
Hello, I was trying to use ocamlnet to access the FTP server of a my home NAS. It turns out that it is a very strange hardware and that you get automaticaly logged in when you connect. Here is the transcript (debug on): # client # exec (connect_method ~host:"wndr4500" ());; [Wed Oct 2 21:59:55 2013] [debug] [1052:0] Ftp_client: connecting to wndr4500:21 [Wed Oct 2 21:59:55 2013] [debug] [1052:0] Ftp_client: connected to wndr4500:21 [Wed Oct 2 21:59:55 2013] [debug] [1052:0] Ftp_client: ctrl received: 230 User logged in. Exception: Ftp_client.FTP_protocol_violation "Unexpected control message". I am using ocamlnet 3.5.1 (provided with Debian). Is there any workaround? Is it a bug? Thanks, Sylvain Le Gall -- Website: http://sylvain.le-gall.net/ OCaml forge: http://forge.ocamlcore.org OCaml blogs: http://planet.ocaml.org |