Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
new java.io.File(context.directorypath).mkdirs();
new java.io.File(context.directorypath).mkdirs();
Define a context variable called directorypth and set its value which is the directory path you want to create. In the begin of job, using a tJava and write this code to create a directory.
new java.io.File(context.directorypath).mkdirs();
on tFTPGet or tFTPPut, you can set the Local Directory filed with context variable.
In the end of job, you can use tFileDelete to delete the directory if needed.
Best regards
Shong