Skip to main content

Hi all,

 

I’m using Google Drive Connector to download a folder contains images to process them later and convert them to points feature class. When I rerun my workbench I got an error from google drive connector said that the destination exists and when I delete this folder my workbench works fine.

Is there anyway that I could setup my Google Drive connector to overwrite the existing folder or anyway to delete that folder through the workbench it self before the google drive start download it again?

 

Thanks,

Rawan

Hi @rawansaleh - I have updated this question to be able to use the FileCopy-writer to delete a file on windows: https://knowledge.safe.com/questions/2948/file-copy-delete.html?&childToView=100347#answer-100347

 


Hi @rawansaleh - I have updated this question to be able to use the FileCopy-writer to delete a file on windows: https://knowledge.safe.com/questions/2948/file-copy-delete.html?&childToView=100347#answer-100347

 

I'm not sure why this method is not working for me, but I found another way to do this which will delete the existing folder

you can use "System Caller" transformer and put the following in Command Line @RD /s/ Q "Your Folder Path"


I'm not sure why this method is not working for me, but I found another way to do this which will delete the existing folder

you can use "System Caller" transformer and put the following in Command Line @RD /s/ Q "Your Folder Path"

Strange, which version of FME do you have @rawansaleh ?


Strange, which version of FME do you have @rawansaleh ?

@sigtill I'm using 2019


Reply