$ 0 0 there is an error in the upload example. it should be sftp.UploadFile(file,Remotefilename); at least in the version i downloaded.