Ask Your Question
0

ftp client on post processing to archive using shell executor [closed]

asked 2018-12-14 13:11:23 -0500

Tutgirl gravatar image

Hi everyone,

Im trying to execute shell script on STOP event of the pipeline to move the processed file to archive folder.

Env variables decalred: file - ${record:attribute('remoteUri')}/${record:attribute('filename')} dest - ftp://**.com/ABC/REPORTS/ARCHIVE/

Script: mv $file $dest exit 0

This is not working. Please help me to configure the shell executor.

Thanks

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by iamontheinet
close date 2018-12-17 15:07:00.530609

Comments

Can you be more specific? What do you mean it's not working?

iamontheinet gravatar imageiamontheinet ( 2018-12-14 13:38:24 -0500 )edit

Im not getting any errors and the files are also not moved to archive path.

Tutgirl gravatar imageTutgirl ( 2018-12-15 06:11:14 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-12-17 15:06:42 -0500

iamontheinet gravatar image

Closing this one because it's a dup and the question has been answered here -- https://ask.streamsets.com/question/4...

Cheers, Dash

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-12-14 13:11:23 -0500

Seen: 283 times

Last updated: Dec 17 '18