I can tell you what it means, but I don't know why it would do it... 2011/2/7 Eduardo Bellani <[email protected]>: > Hello list > > I am getting an error out of this snippet that I think I should not be > getting: > > (require net/ftp) > > > (define conn (ftp-establish-connection "ftp.datasus.gov.br" 21 > "anonymous" "")) > > (ftp-cd conn "siasus/Documentos") > > (ftp-download-file conn "./" "APAC.xls")
This establishes a connection on the side to receive the data. There is normally just one per transfer. Maybe the server is sending the message multiple times? And so it is trying to open two? Can you use WireShark to get a transcript of the session? Jay > > (ftp-close-connection conn) > > > the error is > ftp: exected result code 150, got 125 Data connection already open; > Transfer starting. > > My version is 5.0.2/linux > > Could anyone tell me what could be wrong? > > -- > Eduardo Bellani > > omnia mutantur, nihil interit. > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users > -- Jay McCarthy <[email protected]> Assistant Professor / Brigham Young University http://faculty.cs.byu.edu/~jay "The glory of God is Intelligence" - D&C 93 _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

