Question
Jerry Petrole · Jan 14

Sending files with %Net.FtpSession

Hello,

Does anyone have experience sending files using %Net.FtpSession?   I am not seeing any methods in the class for sending files and setting up an Ensemble production is not an option.   Any advice would be appreciated.  Thank you.

 

 

Product version: IRIS 2019.1
00
1 0 6 71
Log in or sign up to continue

Thanks will do.   Do these work for SFTP as well?

Is there some reason why you want to use FTP instead of SFTP?

Actually it is SFTP.    Sorry for the inaccuracy.

In that case you'll want to use %Net.SSH.Session to connect to the site and once signed in use the OpenSFTP method to open a SFTP session to be able to make %Net.SSH.SFTP calls, in particular the Put or PutStream method