[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Does this work for you?

From: Markus Fritsche
Subject: [Help-smalltalk] Does this work for you?
Date: Sat, 1 Mar 2003 16:14:15 +0100
User-agent: KMail/1.5

I get a dnu, because TCP.Socket writeBuffer is nil.

   | user password stream client host |
    user := 'anonymous'.
    password := 'address@hidden'.
    host := ''.
    stream := WriteStream on: (String new: 256).
    client := NetClients.FTP.FTPClient connectToHost: host.
    [client username: user password: password; login; getList: '/' into: 
        ensure: [client close].
    stream contents

Btw,. FTPClient>>#exampleHost: should be changed also.

Regards, Markus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]