How can I download a file from Mainframe via FTP download activity?

ftp
studio
terminal
download
mainframe

#1

Hello,

I am trying to download a file from a mainframe server with ftp download activity.
I am providing ftp and other details in configuration. and using “D:\test\filename.txt” and “W3322.FILENAME” where W3322 in root directory followed by filename.

I am getting below error:
Iserializable type ‘System.Net.Ftpclient.FtpCommandException’ does not have a valid consuructor

Attaching the screenshot for more details.

Thanks,
Sunil


Unable to download/upload files from/to FTP server
#2

The error itself hides the true error.

What you’re basically seeing, is that for some reason during the execution the exception info was serialized with json and that exception type does not have a constructor that could be used to deserialize it.

This is linked to an issue in the Json.Net package itself:
https://github.com/JamesNK/Newtonsoft.Json/issues/780

Without access to what is happening inside the activity you’re using I can’t help any further unfortunately :frowning: