rem: ftpclient.storeFile(remoteFile, stream); 
add: var result = ftpclient.storeFile(remoteFile, stream); 
context:    this.putFile = function(localFile, remoteFile) {      try {         if (localFile instanceof File) {            var f = localFile;         } else if (typeof localFile == "string") {            if (localDir == null)               var f = new File(localFile);            else               var f = new File(localDir, localFile);         }         var stream = new BufferedInputStream(            new FileInputStream(f.getPath())         );         if (!remoteFile) {            remoteFile = f.getName();         }         ftpclient.storeFile(remoteFile, stream);         stream.close();         debug("putFile", remoteFile);         return true;      } catch(x) {         error("putFile", x);         setStatus(PUT);      }      return false;   };
meta: 2504	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2504/bd8b266fa9ec3eafbdc4e3ef41b823f79aaa406d/Ftp.js/clean/helma/Ftp.js