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.