Today's Smalltalk Daily looks at the FTP client in Cincom Smalltalk. The code I used in the screencast is below; to skip to the video, click here.
file := 'buildWin.st'.
file asFilename exists. false
ftp := FTPClient
loginToHost: 'ftp.cincomsmalltalk.com'
asUser: username
withPassword: password.
ftp setServerPassive.
" ftp beCurrentDirectory: 'html' "
ftp retrieveFileNamed: file as: file.
ftp close.
file asFilename exists. true
file asFilename edit.
To watch now, use the viewer below:
If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.
You can also watch it on YouTube:
Technorati Tags:
smalltalk, ftp