[plt-scheme] ftp
There's a bug in ftp-download file. I will look into it and fix it.
Jay
On Mon, May 24, 2010 at 9:01 AM, geb a <geb_a at yahoo.com> wrote:
> Can anyone point out what I'm doing wrong with this code? I'm having trouble figuring out what the problem is. Thanks for your help!
>
> Sincerely,
>
> Dan
>
>
> #lang scheme
> (require net/ftp)
> (define myftp (ftp-establish-connection "10.1.4.157" 21 "anonymous" ""))
> (ftp-cd myftp "pub")
> (ftp-directory-list myftp)
>
> (ftp-download-file myftp "/home/dvisher" "mypic.png" )
> (ftp-close-connection myftp)
>
> ;procedure open-output-file: expects 1 argument plus optional arguments with keywords #:exists and #:mode, given 2: "/home/dvisher/ftptmp1274590128-1015158141" replace
>
>
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay
"The glory of God is Intelligence" - D&C 93