Hello, I'm revisiting some old code that I started to sort my favorites on my tv settop box. I noticed that ServerDirectory is gone. I naively replaced ServerDirectory by FTPClient, but I get an error that the iv stream is nil. So I looked at the comment of FTPClient - which recommends me to look at ServerDirectory. What is the proper way to log in to a ftp server, get a file and disconnect? getHD1File: aFilename | ftpClient byteString | ftpClient := FTPClient new. ftpClient host: 'coolstream'. ftpClient loginUser: 'neutrino' password: 'holycow'. byteString := ftpClient getFileNamed: aFilename . ftpClient quit. ^ byteString => MessageNotUnderstood: receiver of "sendCommand:" is nil Kind regards, Markus
participants (1)
-
Markus Fritsche