. .

smalltalkDaily

Smalltalk Daily 09/14/10: Using FTP in Smalltalk

September 14, 2010 9:24:36.123

Today's Smalltalk Daily looks at the FTP client in Cincom Smalltalk. The code used 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.

If you can't see the embedded video directly, you can go directly to YouTube for it. To watch now, click on the viewer below:

You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.

You can download the video directly here. If you need the video in a Windows Media format, then download that here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: ,

posted by James Robertson

 Share Tweet This