links to this page:    
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Try out HTTP and FTP
Last updated at 10:15 pm UTC on 1 January 2016
Accessing the HTTP and FTP services in Squeak.

See WebClient


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