Checking file upload with sftp?
===

How can ı check upload a file to remote server with sftp?

this is my sftp upload code it works fine but how can ı check file uploaded?

                   const string dir = "/";
                    Sftp sftp = new Sftp(ftpPath, ftpUsername, ftpPassword);
                    sftp.Connect(22);
                    sftp.Put(localPath + localFilename, dir + ftpFileName);
                    sftp.Close();