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

Productivity activities

Last updated Feb 19, 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?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.