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")

(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

Reply via email to