I was able to upload to FTP from my local but not from Windows server. Can you please suggest what could be wrong...Below is the log created...
Error while creating csv file for notification type - 1 and error details are - WinSCP.SessionRemoteException: Connection failed.
Connection failed.
at WinSCP.SessionLogReader.Read(LogReadFlags flags)
at WinSCP.ElementLogReader.Read(LogReadFlags flags)
at WinSCP.SessionElementLogReader.Read(LogReadFlags flags)
at WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags)
at WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags)
at WinSCP.Session.WaitForGroup()
at WinSCP.Session.Open(SessionOptions sessionOptions)
at Hitachi.CDC.PushNotifications.PushNotifications.fileuploadwinscp(String fileName, String localpath)
at Hitachi.CDC.PushNotifications.PushNotifications.createCSV(DataTable dt, Boolean SMS, Boolean Mobile, Int32 eventType, Int32 notificationTypeFile)--InnerException-----Message---Connection failed.
Connection failed.--StackTrace--- at WinSCP.SessionLogReader.Read(LogReadFlags flags)
at WinSCP.ElementLogReader.Read(LogReadFlags flags)
at WinSCP.SessionElementLogReader.Read(LogReadFlags flags)
at WinSCP.CustomLogReader.TryWaitForNonEmptyElement(String localName, LogReadFlags flags)
at WinSCP.CustomLogReader.WaitForNonEmptyElement(String localName, LogReadFlags flags)
at WinSCP.Session.WaitForGroup()
at WinSCP.Session.Open(SessionOptions sessionOptions)
at Hitachi.CDC.PushNotifications.PushNotifications.fileuploadwinscp(String fileName, String localpath)
at Hitachi.CDC.PushNotifications.PushNotifications.createCSV(DataTable dt, Boolean SMS, Boolean Mobile, Int32 eventType, Int32 notificationTypeFile)