file_post: Upload a file to Filebin

View source: R/file-post.R

file_postR Documentation

Upload a file to Filebin

Description

Upload a file to Filebin

Usage

file_post(path, bin = NA)

Arguments

path

Path to a file. If a vector then upload multiple files.

bin

Bin name. If NA the generate random bin name.

Value

A tibble.

Examples

## Not run: 
# Upload a single file.
file_post(LOREM_IPSUM)
# Upload multiple files.
file_post(c(LOREM_IPSUM, MORE_LOREM_IPSUM))

# Upload to a specific bin.
bin <- bin_name_random(length = 24)
file_post(LOREM_IPSUM, bin)

## End(Not run)

filebin documentation built on Sept. 2, 2023, 9:07 a.m.