Does the Google COLAB folder in Google Drive not support subfolders? - google-drive-api

This may be the dumbest question ever, but here goes. I cannot get COLAB to open a folder within the COLAB folder of Google Drive. Is no folder organization allowed in the colab folder? How do I organize colab notebooks so that every notebook is not in the same google drive directory?
Most similar questions are concerned with importing data or other files into a particular notebook. That is not my concern. I want to organize separate colab notebooks. But, trying to open in colab anything other than an actual notebook file throws an error instead of, say, opening a subfolder with notebooks stored in it.
What am I missing?!?

Related

Cannot create/upload or open notebooks using Google Colab

I have the following issues:
I cannot create a new Notebook using Google Colab
I cannot open/upload a Notebook using Google Colab
I can see Notebooks such as Welcome To Google Colaboratory
Until yesterday everything worked perfectly
I assume that I can open everything that is not linked to my Google Drive
I get the following error:
Notebook loading error
There was an error loading this notebook. Ensure that the file is accessible and try again.
Could not fetch resource at https://clients6.google.com/drive/v2beta/files/1RePbtAcs2yXW5iEl2qAS-xsGNbP_6T7u?alt=media&key=AIzaSyCN_sSPJMpYrAzC5AtTrltNC8oRmLtoqBk&%24unique=1591516436185: 403 Forbidden
https://drive.google.com/drive/?action=locate&id=1RePbtAcs2yXW5iEl2qAS-xsGNbP_6T7u&authuser=0
The response of "Forbidden" indicates that you have a permissions issue. You say you tried to open the notebook in incognito mode and failed, like that was unexpected, so the problem is not your authentication.
Either your drive permissions, folder permissions, or file permissions are not set correctly to allow public access.
Old Pro has said it right, I believe, you might need to allow Google Colab access to your Google Drive all over again, I would delete the extension, and reinstall the extension. Accept the permissions it's asking for to your Google Drive. Then try to create a Google Colab Notebook.
Reference: These are just my thoughts after working with Google Colab myself.

Google drive synch from "Drive to PC"

I have created a new file and google drive through the browser.
But I am unable to see the new file on the connected google drive physic PC drive.
Is this not achievable with google drive?
Only one side of synch only work(PC to Google Drive)? Two way syncing is not possible (PC to Google Drive and Google drive to PC)?
AFAIK, this is a one way sync (PC to Drive not the other way around). When installing the Google Drive app and do a backup and sync, Google Drive acts as a Cloud backup for any changes to the selected folders you've wanted to backup.
As stated in this guide:
The Backup and Sync tool is split up into two main sections:
Google Drive: This performs the same function as the original Google Drive app. You choose what folders to sync from your Google Drive cloud storage, and they’ll appear in a Google Drive folder on your PC. Anything you put into that folder will also sync to Google Drive.
My Computer: This part is new, and allows you to sync files between your computer and Drive without putting them in the dedicated Google Drive folder. Just pick the folders from your computer you want to sync, and they’ll sync to your cloud storage (though they’ll appear in a separate section of the Google Drive interface, rather than with all your other Drive files.)
Hope this helps.

how copy files from google drive to an ftp server using google app scripts?

I have a project on Google App Scripts connected to my drive.
I was able to save and organize my files (from mail) and directories in the drive using the script.
now, I want to save the files to an FTP server and cannot find the References to do so.
how do I access an ftp server, create folders and upload files to them ?
thanks
It seems this is not possible. If you check this Class UrlFetchApp, app script only supports HTTP and HTTPS communication over the internet. A supporthing SO thread seems to confirm this.
The workaround to go from GAS -> FTP is as follows. I've been using this method for a number of years in production.
From apps script, save the file to google drive
Using Zapier, trigger to copy new filesfrom the google drive folder to a DropBox folder
Using Microsoft Flow, trigger to copy new files from the Dropbox folder to an FTP or SFTP location.
You can probably do step 3 in Zapier as well. I use Microsoft Flow because I already had a significant number of automated tasks setup there. For Step, 2, I use Zapier because MS flow does not yet have a built-in trigger available based on a new file being saved to google drive. You would have to make your own custom trigger using the google drive API's.

How to upload files to shared folder in google drive as shared folder owner's quota?

I have to move a set of backup files of a web application day by day to google drive. For this my friend created a folder in the google drive and shared with me with edit permission so he can also the see the backup files.
So I created a application(with python) using the google drive api and started to upload files to google drive. After some 7+ uploads(7*2gb size for each file =14gb) the api started to raise an error shown below
An error occured: https://www.googleapis.com/upload/drive/v2/files?uploadType=resumable&alt=json returned "The user has exceeded their Drive storage quota">
Then I checked my storage and it shows "14gb used out 15gb".
Why this is happening? Actually I uploaded the files to the shared folder created by my friend and now it shows those are uploaded in my quota. Also tried with the drag and drop option, but it is also uploaded in my quota
I have the following questions
1) How can I upload the files to the shared folder in my friend's quota?
2) Is it possible to upload only 15gb data through my account? or How can I increase my quota?

BizTalk integration with google drive

I am looking to integrate BizTalk 2010 with google drive to do the basic operations such as Create folders, upload files, share and change the permissions. Anyone has any idea about it?
BizTalk is primarily a messaging platform, not a folder / file management platform. You can send messages to file location, but any file or folder creation that goes further than writing the file will to custom. Perhaps BizTalk is not the best solution for that problem.
However; If you can mount your Google drive as a local file system, than you can let BizTalk work against the mounted filesystem.
This way you won't have to deal with all the specifics of the Google drive API, and you can focus on your BizTalk solution.
Alternatively, if you cannot mount the drive as a filesystem, just let BizTalk write to a local folder, and synch that folder with your Google drive.