Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
scenario : moving the files to destination folder (s3 within the bucket) then removing the source files
job flow
ts3 connection
ts3 list
bucket name :- "bucket_src"
Key prefix :- "Main/Source/"
ts3 copy
source configuration bucket :- "bucket_src"
Key :- ((String)globalMap.get("tS3List_1_CURRENT_KEY"))
Destination configuration bucket :- "bucket_src"
Key :- "Main/Dest/" + ((String)globalMap.get("tS3List_1_CURRENT_KEY")).substring( ((String)globalMap.get("tS3List_1_CURRENT_KEY")).lastIndexOf("/") + 1 )
ts3 Delete
Bucket :- "bucket_src"
Key :- ((String)globalMap.get("tS3List_1_CURRENT_KEY"))
(Deleting entire source folder )
my requirement I want to delete files after loading to destination folder
Please suggest to deleting only files.
Thanks
MRA
The Name "(Boolean)globalMap.get("isContinue")" is not valid or already exists.
Run if condition error
The Name "(Boolean)globalMap.get("isContinue")" is not valid or already exists.
Hi Shong,
even without double quotation also getting same error
Thanks,
MRA
Hi Shong,
thank a lot for quick replay
Thanks,
MRA
This is the job flow. I achived
EX:-job flow
ts3 connection---ts3 list----ts3 copy
|----on subjob ok
|
ts3 list----ts3 Delete
ts3 connection
ts3 list
bucket name :- "bucket_src"
Key prefix :- "Main/Source/"
ts3 copy
source configuration bucket :- "bucket_src"
Key :- ((String)globalMap.get("tS3List_1_CURRENT_KEY"))
Destination configuration bucket :- "bucket_src"
Key :- "Main/Dest/" + ((String)globalMap.get("tS3List_1_CURRENT_KEY")).substring( ((String)globalMap.get("tS3List_1_CURRENT_KEY")).lastIndexOf("/") + 1 )
ts3 list
bucket name :- "bucket_src"
Key prefix(multiple key prefix) :- "Main/Source/output" ('output' is the file name which we are getting in source directory)
"Main/Source/temp" ('temp' is the file name which we are getting in source directory)
ts3 Delete
Bucket :- "bucket_src"
Key :- ((String)globalMap.get("tS3List_1_CURRENT_KEY"))