ftp_stash: Object for representing a ftp file or directory

Description Usage Arguments Details Value

Description

For extension and compression, default to 'auto'. Check if available compression is applied and extract it. If you do not want any compression to be identified then set to NULL If the compression extension is named differently then was rstash would create, pass a named vector, the name being the rstash designation and the value being the compression extension of the existing file. For example compression = c(gz = 'gzip') or c(gz = NA) if the compression is gzip but there is no extension on the file.

Usage

1
2
3
ftp_stash(server, path = "", time.stamp = "auto", uuid = "auto",
  extension = "auto", compression = "auto", base.file = NULL,
  is.file = FALSE, user = NULL, password = NULL, ..., simplify = TRUE)

Arguments

path

A file path to a local directory or file.

compression

Default to auto, if the file ends it '.gz' it will identify gzip.

Details

If this is not a file then nothing is processed, for 'auto', the

Value

A ftp_stash object.


jason-huling/rstash documentation built on May 18, 2019, 4:53 p.m.