Re: wodftpdlx.net timeout occurred due to inactivi - WeOnlyDo Discussion board

Re: wodftpdlx.net timeout occurred due to inactivi (General questions)

by Ryan Garaygay, Tuesday, May 20, 2008, 17:39 (6030 days ago) @ Ryan Garaygay

My sample code:

protected void Page_Load(object sender, EventArgs e)
{
FtpDLX ftp = new FtpDLX();
ftp.Authentication = Authentications.Password;
ftp.Blocking = true;
ftp.Encryption = EncryptionMethods.Auto;
ftp.Hostname = 127.0.0.1
ftp.Login = myUserName ;
ftp.Passive = true;
ftp.Password = myPassword ;
ftp.Protocol = Protocols.FTPS;
ftp.Timeout = 10;
ftp.TransferMode = TransferModes.Binary;
ftp.StateChangedEvent += new FtpDLX.StateChangedDelegate(ftp_StateChangedEvent);
ftp.Connect();
Response.Write( success );
}

void ftp_StateChangedEvent( object Sender, FtpStateChangedArgs Args)
{
}


Complete thread: