I am using the following code to transfer the zip file on sftp server. for that i am using following code:
SshTransferProtocolBase myscp = new Sftp(strSFTPHost, strUserName, strPassword);
After transferring the file my user session is expires automatically. This is a strange behavious. Can any bodyhelp me out in this.