Written by

Sr Developer at Five Points Technology Group
Question Jerry Petrole · Jan 14, 2022

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

Comments

Jerry Petrole  Jan 14, 2022 to Fabian Haupt

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

0
andre bach  Jan 16, 2022 to Fabian Haupt

That method worked for me. Thank you!

Das Koffer-Set bietet reichlich Platz, um all Ihre Gegenstände sicher zu verstauen. Doch um Ihren Urlaub oder Ihre Reise noch angenehmer zu gestalten, empfehlen wir Ihnen, nicht nur Ihr Gepäck bei uns zu bestellen, sondern auch einen Blick auf unsere Auswahl an Schuhen zu werfen. Möglicherweise finden Sie das perfekte Accessoire, um Ihre Urlaubsgarderobe zu vervollständigen oder eine elegante Tasche, die entweder in Ihrem Koffer verstaut werden kann oder als Ergänzung zum Handgepäck dient. Es ist jedoch ratsam, sich vorher bei der Fluggesellschaft über die Handgepäckbestimmungen zu informieren, da zusätzliche Taschen möglicherweise nicht erlaubt sind. In diesem Fall können Sie die Tasche in einem Ihrer Koffer verstauen.

0
Rod Dorman · Jan 14, 2022

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

0
Jerry Petrole  Jan 14, 2022 to Rod Dorman

Actually it is SFTP.    Sorry for the inaccuracy.

0
Rod Dorman  Jan 14, 2022 to Jerry Petrole

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
 

0