cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading files to Google drive.

former_member187310
Participant
0 Kudos

Hi,

I know Python can be used for creating UDT. But is there a way to FTP files directly to Google drive by making use of Python in DS?

Thx,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Yes you can do it. You can call python and upload in google drive calling by script in DS

Just follow the steps below

1. Create script in DS

2. In the script call the  function EXEC ('shell command or window command prompt', "your python",8);

Note : make sure that  FTP port already open or use some simulator for testing purpose   

Let me know how it goes

Regards,

Manoj.

Former Member
0 Kudos

https://developers.google.com/drive/v2/reference/

May be you can leverage this API. But i am not sure why you need to do this in data services ?

former_member187310
Participant
0 Kudos

Thanks Krishna,

Am working on this API. We need this to upload files generated by DS to G-drive. Right now we are manually uploading.

Former Member
0 Kudos

Just another idea - If you can install google drive on your server which creates a folder location locally on the machine and will be synced at regular intervals. So if you're allowed it install that on server you can just do a simple move to that folder and it will be automatically synced. this is the simplest way of doing it in my opinion.

former_member187310
Participant
0 Kudos

Thanks @krishna vangara.

But I believe there is no official google drive client available for Linux.