Global.helma.Ftp.getFile (remoteFile, localFile)
Sourcecode in /home/hannes/helma/modules/helma/Ftp.js:
288:   this.getFile = function(remoteFile, localFile) {
289:         try {
290:            if (localDir == null)
291:               var f = new File(localFile);
292:            else
293:               var f = new File(localDir, localFile);
294:            var stream = new BufferedOutputStream(
295:               new FileOutputStream(f.getPath())
296:            );
297:           var result = ftpclient.retrieveFile(remoteFile, stream);
298:           stream.close();
299:           debug("getFile", remoteFile);
300:           return result;
301:        } catch(x) {
302:           error("getFile", x);
303:           setStatus(GET);
304:        }
305:        return false;
306:     }