Re: wodftpdlx.net timeout occurred due to inactivi (General questions)
Hi Ryan,
Can you please try the following:
[code]public partial class _Default : System.Web.UI.Page
{
private WeOnlyDo.Client.FtpDLX ftp;
protected void Page_Load(object sender, EventArgs e)
{
ftp = new WeOnlyDo.Client.FtpDLX();
ftp.Authentication = WeOnlyDo.Client.Authentications.Password;
ftp.Blocking = true;
ftp.Encryption = WeOnlyDo.Client.EncryptionMethods.Auto;
ftp.Hostname = your_host ;
ftp.Login = your_login ;
ftp.Passive = true;
ftp.Password = your_password ;
ftp.Protocol = WeOnlyDo.Client.Protocols.FTPS;
ftp.Timeout = 10;
ftp.TransferMode = WeOnlyDo.Client.TransferModes.Binary;
ftp.StateChangedEvent += new WeOnlyDo.Client.FtpDLX.StateChangedDelegate(ftp_StateChangedEvent);
ftp.Connect();
Response.Write( success );
}
void ftp_StateChangedEvent(object Sender, WeOnlyDo.Client.FtpStateChangedArgs Args)
{
Response.Write( State changed from + ftp.StateText(Args.OldState) + TO + ftp.StateText(Args.NewState) + <br> );
}[/code]
As for the Object not set error, this is usually an issue when you try to access some membet that is not set. However, I can't tell what could cause this without seeing the whole application. Can you send us your full application source to techsupport@weonlydo.com so we can check it out?
Regards,
Damba
Complete thread:
- wodftpdlx.net timeout occurred due to inactivity - Ryan Garaygay, 2008-05-20, 17:35
- Re: wodftpdlx.net timeout occurred due to inactivi - Ryan Garaygay, 2008-05-20, 17:39
- Re: wodftpdlx.net timeout occurred due to inactivi - wodDamir, 2008-05-20, 17:59
- Re: wodftpdlx.net timeout occurred due to inactivi - Ryan Garaygay, 2008-05-20, 18:15
- Re: wodftpdlx.net timeout occurred due to inactivi - wodDamir, 2008-05-20, 17:59
- Re: wodftpdlx.net timeout occurred due to inactivi - Ryan Garaygay, 2008-05-20, 17:39