Welcome to the Kapow forum. Here you can get help, use your skills to help others and enjoy hanging out in the company of other Kapow Robot Developers.

Files Management



Posts : 1
Points : 222
Join date : 2017-08-16

Files Management

Post by ChrisTallee on Thu Aug 17, 2017 12:04 am

Can anybody out there help me?
I want to find a file (.pdf etc.) within a file path, pick it up and insert it as a variable into a database.
From the database I will then choose to place the file into another file location or even email the document somewhere.

Thank you affraid
Shyam Kumar

Posts : 94
Points : 1891
Join date : 2013-07-05
Location : Kerala, India

Re. Files Management

Post by Shyam Kumar on Thu Aug 17, 2017 12:42 pm


we can do various files operations using kapow.

you can use "For Each File" for selecting each files with file name pattern(based on your needs you can write pattern) and store the file name in a variable.

then just move needed files to another location using "Copy File" action step. Here you need to give the source path and designation path. (you can use expressions based on your needs)

Then use "Load File" Action step, and load the file from the designation part and store the output in a variable.

Now the file is stored in a variable, you can store it in database and do any operations. If you need to sent through mail you can use "Send Email" step.

Thank you


Shyam kumar

    Current date/time is Fri Mar 23, 2018 8:07 am