activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Mar 13, 2026

DownloadFile

Downloads the specified file.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Syntax

public Stream DownloadFile(
	IFile file,
	DownloadOptions downloadOptions = null
)
public Stream DownloadFile(
	IFile file,
	DownloadOptions downloadOptions = null
)

Parameters

file IFile : The file to download.

options DownloadOptions (Optional) : The conversion formats when downloading Google Workspace file types.

Return value

Stream - The file stream.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated