Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

SFTP implementation from aem to external location

Avatar

Level 3

we are adding Custom workflow step that should have the sftp code which will copy the files to secure external location from aem cloud.

client.uploadFile(sourcePath, destinationPath)

we have tried the above method from the Jsch Api , but the sourcePath from the above is taking the file from the system location and not from inside aem.

Our use case is to send the aem html, assets to the outside location

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

If you use "put" you can use an input stream to read from. With JCR API you can read the content of a node as stream.

Jörg

View solution in original post

0 Replies

Avatar

Correct answer by
Employee Advisor

If you use "put" you can use an input stream to read from. With JCR API you can read the content of a node as stream.

Jörg