file_get.Rd
Retrieve a file from Filebin
file_get(filename, bin, file = NA, overwrite = FALSE)
File name or URL.
Bin name. If NA
the generate random bin name.
File name to use to save results. If FALSE
then don't save
to file.
Whether to overwrite existing file.
Contents of file.
if (FALSE) {
posted <- file_post(LOREM_IPSUM, bin = "latin-text")
# Discard path and just retain filename.
filename <- basename(LOREM_IPSUM)
file_get(filename, "latin-text")
# Delete downloaded file.
file.remove(filename)
}