fi_post_file: Post a file to file.io

Description Usage Arguments Value Note References Examples

Description

Post a file to file.io

Usage

1
2
3
fi_post_file(path, expires = "14d")

fi_post(path, expires = "14d")

Arguments

path

path to a file (it will be path.expand()ed and normalizePath()'d)

expires

defaults to 14 days (14d). Must be a positive integer which, by default, represents the number of days until the file will be deleted. If you follow it with w, it will be the number of weeks; m for months; and, y for years.

Value

a data frame (tibble) with the success status, download key, download link and expiry

Note

There is a 5GB per file limit for the free version.

References

https://www.file.io/

Examples

1
fi_post_file(system.file("extdat", "tst.txt", package = "fileio"))

hrbrmstr/fileio documentation built on May 5, 2019, 12:30 p.m.