Skip to main content

When using the FeatureWriter, it wants me to provide a subfolder. I cannot leave it blank. I need to be able to write the file to the root of the file share. I am doing a move and not a copy.

 

any thoughts?

Try the File Copy Writer. Seems like that would be more applicable here.


Thank you for your response. I switched it to FileCopyWriter, however it created a folder called PATH . You cannot leave the value blank as far as I can see (see attached). Is there a User Parameter I should be selecting?


I am going to try the following settings:


I need to set Feature Type Names as Subfolders to Yes, otherwise the files are NOT removed from the source. Yes, it is set as move and not a copy. Still copies the files to a subfolder in the root instead of just dropping the files in the root of the share.


I know this is an older post but I was successfully able to accomplish a top level copy/move of a file.

I added an AttributeManger just before my Writer and added the two following attributes.
 

 
Set Writer parameters as follows: 
       ** I want to Copy but the File Operation can be set to Move for a Move use case.

 
...and connected the attributes as shown here.
 



Result - No sub folder
 


Hope this helps others.

 


Try the File Copy Writer. Seems like that would be more applicable here.

Great ​@dustin 


Good find ​@keitho ! Thanks for sharing. I’ve always been a little confused by this.