[plt-scheme] ftp

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon May 24 11:56:56 EDT 2010

Fixed in git, with test cases now.

Jay

On Mon, May 24, 2010 at 9:28 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> 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
>



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


Posted on the users mailing list.