diff --git a/collects/net/ftp-unit.rkt b/collects/net/ftp-unit.rkt index c821d95..009d470 100644 --- a/collects/net/ftp-unit.rkt +++ b/collects/net/ftp-unit.rkt @@ -197,7 +197,7 @@ (path->string (build-path folder "ftptmp")) "~~") "~a"))] - [new-file (open-output-file tmpfile 'replace)] + [new-file (open-output-file tmpfile #:exists 'replace)] [tcpstring (bytes-append #"RETR " (string->bytes/locale filename) #"\n")]