Skip to main content
Question

Overwrite option in Google Drive Connector “in download option”


Forum|alt.badge.img

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

4 replies

sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • October 15, 2019

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

 


Forum|alt.badge.img
  • Author
  • November 12, 2019
sigtill wrote:

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"


sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • November 13, 2019
rawansaleh wrote:

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 ?


Forum|alt.badge.img
  • Author
  • November 13, 2019
sigtill wrote:

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

@sigtill I'm using 2019


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings