download_sheet_attachment: Download a file of an existing attachment on a Smartsheet...

View source: R/Smartsheet-R-sdk.R

download_sheet_attachmentR Documentation

Download a file of an existing attachment on a Smartsheet with a specific sheet name

Description

Download a file of an existing attachment on a Smartsheet with a specific sheet name

Usage

download_sheet_attachment(sheet_name, file_path, attachments_name = "")

Arguments

sheet_name

the target Smartsheet's exact sheet name

file_path

the download path

attachments_name

if the downlad path file name is not the name of the target attached file

Value

returns nothing but downloads file to location

Examples

## Not run: 
download_sheet_attachment("sheet_name","a_folder/maybe_another_folder/sheet_name.csv")
download_sheet_attachment("sheet_name","a_folder/maybe_another_folder/sheet_name.csv", file_name="different_sheet_name")

## End(Not run)

elias-jhsph/rsmartsheet documentation built on Sept. 30, 2023, 3:45 a.m.