Try out HTTP and FTP
Last updated at 12:43 pm UTC on 10 July 2003
Messing around with the Internet in Squeak.
You can simply and easily manipulate web pages and FTP files from Squeak.
Open a Transcript.
HTTPSocket httpShowGif: 'http://www.altavista.com/av/gifs/new/front_hdr.gif'.
HTTPSocket httpShowGif: 'www.webPage.com/~kaehler2/ainslie.gif'.
(HTTPSocket httpGif: 'http://www.altavista.com/av/gifs/new/front_hdr.gif') inspect.
HTTPSocket httpShowJpeg: 'http://www.webPage.com/~kaehler2/WasteSmall1.jpg'.
(HTTPSocket httpJpeg: 'http://www.webPage.com/~kaehler2/WasteSmall1.jpg') inspect.
HTTPSocket httpShowPage: 'http://www.altavista.digital.com/index.html'.
(HTTPSocket httpGet: 'http://www.altavista.digital.com/index.html') inspect.
The FileList browser can show FTP directories and files on the net.
[open...] [file list]
Also see Swiki
Fix Documentation