KAPOW

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

Share

ChrisTallee

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

Files Management

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

Hi,
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
avatar
Shyam Kumar
Ranks

Posts : 76
Points : 1682
Join date : 2013-07-05
Location : Kerala, India

Re. Files Management

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

Hi
ChrisTalle,

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

Regards,

Shyam kumar
shyamkumar08@gmail.com

    Current date/time is Fri Sep 22, 2017 2:16 am