file_post {filebin}R 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)

[Package filebin version 0.0.6 Index]