Jitesh Malipeddi
Jitesh Malipeddi

Reputation: 2385

Will downloading files locally from Google Colab's workspace use my internet or Colab's?

I have a large file in my Google Colab Workspace. I want to download it to my local machine using the command files.download(name of the file). Will this use my internet or Colab's?

Upvotes: 0

Views: 341

Answers (1)

Bob Smith
Bob Smith

Reputation: 38639

Both. Files downloaded from Colab will use the Internet connection of the client machine to receive the data, which will have been sent using the Internet connection of the Colab backend.

To inspect the file size, hover over the file in the file browser. In the image below, for example, the file is 294 kilobytes. enter image description here

FYI, you can download by right clicking on the file and selecting download, which is a bit simpler than executing the code snippet in your question.

Upvotes: 1

Related Questions