[squeak-dev] Fwd: ServerDirectory example login is dead

David T. Lewis lewis at mail.msen.com
Sun Jun 24 14:59:51 UTC 2018

After googling for "public anonymous ftp servers", I tried this in the workspace
that pops up from the add server... menu selection in a file list:

	| aa | 
	self flag: #ViolateNonReferenceToOtherClasses.
	aa := ServerDirectory new.
	aa server: 'speedtest.tele2.net'.    "host"
	aa user: 'anonymous'.
	aa password: 'yourEmail at school.edu'.
	aa directory: '/'.
	aa url: ''.    "<- this is optional.  Only used when *writing* update files."
	ServerDirectory addServer: aa named: 'Tele2 speed test'.  "<- known by this name in Squeak"

It works, but it quickly exposes problems in the RemoteServer, so I'm
not sure that fixing the FileList example server before the 5.2 release
would be a good thing to do. Maybe better to leave it pointing to the old
st.cs.uiuc.edu for now, at least that way people will not be expecting
too much from it.

Nowadays, I think people would be more likely to use http for file serving
rather that ftp. But have a look at HTTPServerDirectory, and you can see
that some cleanups are in order. It looks like somebody intended to do this
back in 2001 and did not get too far with it. This would be a good project
for someone to take on in the coming months: refactor the ServerDirectory
hierarchy, keeping the SuperSwikiServer part functional, and making
HTTPServerDirectoy into somthing real.

For the record, bugs that I quickly noticed when adding the speedtest.tele2.net
server to to a FileList:

- The file list does not get updated to show the new server. Open a new
file list and the server will be there, but it will not appear in the
original file list from which it was created.

- Likewise, when the server is removed, the file list is not updated.

- Files in in remote directory can be selected, but many of the selections
result in a protocol error. For example, selecting the 500MB.zip file in
the FileList results in a TelnetProtocolError.

- If I select the 1KB.zip file, and click the 'open zip' button, I
get a FileDoesNotExistException.


On Tue, Jun 19, 2018 at 08:20:35AM -0700, tim Rowledge wrote:
> I  asked about this last year; with a release looming it would be nice to have a working server to point to instead of a non-existent one.
> > Begin forwarded message:
> > 
> > From: tim Rowledge <tim at rowledge.org>
> > Subject: [squeak-dev] ServerDirectory example login is dead
> > Date: December 26, 2017 at 10:59:56 AM PST
> > To: The general-purpose Squeak developers list <squeak-dev at lists.squeakfoundation.org>
> > Reply-To: The general-purpose Squeak developers list <squeak-dev at lists.squeakfoundation.org>
> > 
> > If one tries to add a remote directory to a FileList the example server  details lists the no longer extant st.cs.uiuc.edu, which is a little disappointing.
> > 
> > Do we have a good replacement? Preferably a good place on our own server(s)? I did actually try files.squeak.org but that
> > a) failed
> > b) exposed me to the great joy of a loop of unhandled error handling handling errors in erroneous handling.
> > 
> > I *can* get to my own server, so the basics still function - but I???m not providing access to that for the world in general.
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange OpCodes: ARG: Agree to Run Garbage


More information about the Squeak-dev mailing list