Skip to main content
Question

Overwrite option in Google Drive Connector “in download option”

  • October 15, 2019
  • 4 replies
  • 54 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

sigtill
Supporter
Forum|alt.badge.img+25
  • 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

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+25
  • Supporter
  • November 13, 2019

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

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

@sigtill I'm using 2019