Hi
I am using Rebex tool in C#.NET application to FTP file from Windows system to Unix box.
My C# application executable in PROD environment is a daily scheduled job from windows task scheduler.
It picks up file from one window system and "Put" to another Unix box using put command using Rebex tool.
Same set up is there in Development environment as well. DEV is replica of PROD environment.
Till yesterday everything was working fine, but from today this daily exe job is throwing below .NET / Rebex exception-
Error -
Authentication prompt 'Enter your PASSWORD:' (pass 1) cannot be answered programatically. Use Authentication request event instead.
Rebex libraries abruptly stopped accepting programmatic password from yesterday.
Below is the code snippet
{
Rebex.Net.Sftp client = new Rebex.Net.Sftp();
client.Connect("myserver.domain.com");
client.Login(user, password);// Error is thrown at this line
MessageBox.Show(user + " is able to connect");
client.ChangeDirectory("DestinationpathofFTPserver");
client.PutFile(SourePath, "Filename.text");
client.Disconnect();
}
I am using below libraries -
Rebex.Common.dll 2.0.4444.0
Rebex.Ftp.dll 4.0.4444.0
Rebex.Networking.dll 3.0.4444.0
Rebex.Sftp.dll 3.0.4444.0
If anybody is aware , could you please let me know what could be the cause ? Same thing working fine in DEV Box. Not able to understand why suddenly PROD box started giving this error and denying programmatic password supplied.
Its very urgent, its a production issue I need to fix.
Quick help will be appreciated.
Regards
Sarang