| WinInet.sll
WinInet.Prj WinInet.Pol WinInet.st |
Windows Internet framework library and file-in source. |
| WinInet Workbench.txt | Demo workspace expressions with description |
Additional files are included with the distribution in order to simplify creation of a working directory with VSE 3.1.2 to test the library.
| ARAddIns.sll | SelfDefinedStructures support |
| ARMisc.sll | Misc. OS Support |
| ARPatchs.sll | Patches and bug fixes |
| WinInet.sll | Windows Internet framework library |
| vreg31w.sll | Registration Database Support |
| vslb31.sll | Smalltalk Library Builder |
Alternately, if you wish to install the library to an image of your choice ensure the SLL and DLL libraries above are copyed to the VS/VSE library directory or a directory that appears in the Windows PATH statement. Evaluate the following to load all the required libraries in your image:
#('ARBase' 'ARAddIns' 'ARMisc' 'ARPatchs' 'VREG31W' 'WinInet')
do:[:lib|SmalltalkLibraryBinder bindTo:lib]
"Evaluate with 'show it' to display the HTTP header info at the
given address"
url := InternetFile new.
url
address: 'http://www.parcplace.com/'; "http
server address"
" addFlagExistingConnect; "
yourself.
string := url next: url queryDataAvailable.
url release.
string.
"Open a connection to an FTP server and login as anonymous"
connection :=FTPConnection server: 'ftp.parcplace.com'.
connection open.
connection directoryNames. "browse directories..."
connection release. "close the connection"
"Download a file from a Web server"
url := InternetFile new.
url address: 'http://www.sugarWeb.com/Miniatures/Files/HtmlKit.zip'.
"Read entire contents of file HtmlKit.zip off site"
fileStream := File newFile: 'HtmlKit.zip'.
[[url queryDataAvailable > 0]
whileTrue: [fileStream nextPutAll:
(url next: url queryDataAvailable)]]
ensure:
[url
release.
fileStream close].
"Run Winzip or similar in Windows to open on the file"
(Smalltalk includesKey: #ProgramManager)
ifTrue:
[ProgramManager
run: 'HtmlKit.zip'].
Links to:
The
ObjectShare web site
VisualSmalltalk
Product Support
ObjectShare's
Online Documentation Site