cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Error In File Operations Snap

nihil_limbadiya
New Contributor II

HI,

I was reading earlier post ppl are having issue with File Operation Snap.

I am having same issue. I am trying to copy/Move file to one location to another.

I have used File POLLER snap to find the file. and using FIle Operation snap but its giving me an error. enough the folder is empty it says file is already there.

Can some one please help me.?

THanks

1 ACCEPTED SOLUTION

In that case, the input binary data has zero byte. You need to select the boolean property โ€œWrite empty fileโ€ in the File Writer Snap.

View solution in original post

26 REPLIES 26

It appears that you did not select โ€œValidate & Executeโ€ at the bottom of File Writer Snap.

HI,

i have set Valid & execute on file writter snap but still not getting any ouput .

please see image below for file writter snap
image

In that case, the input binary data has zero byte. You need to select the boolean property โ€œWrite empty fileโ€ in the File Writer Snap.

Thanks its working now. thanks for all your help. i didnt notice at all that file which i was writting was an empty file.

Nihil:
Regarding ClassCastException with File Operation Snap, โ€œ$originalโ€ in the Source property is invalid because the value of $original is a map data not string.

It should point at the source file path.