package prBatch_Secure; public class jcdBatchSCP { public com.stc.codegen.logger.Logger logger; public com.stc.codegen.alerter.Alerter alerter; public com.stc.codegen.util.CollaborationContext collabContext; public com.stc.codegen.util.TypeConverter typeConverter; public void receive( com.stc.connector.appconn.file.FileTextMessage input, com.stc.connector.batchadapter.appconn.scp.SCP BatchSCP_1 ) throws Throwable { // recursive get and put BatchSCP_1.getConfiguration().setLocalDirectory( "C:/BatchSecurity/SCP" ); BatchSCP_1.getConfiguration().setLocalFile( "recursive" ); BatchSCP_1.getClient().getRecursive(); BatchSCP_1.getConfiguration().setRemoteDirectory( "BatchSecurity/SCP" ); BatchSCP_1.getConfiguration().setRemoteFile( "recursive" ); BatchSCP_1.getClient().putRecursive(); } } |