ftpList: List FTP files and directories

Description Usage Arguments Value Author(s) Examples

Description

List FTP files and directories from NCBI and other hosts

Usage

1
ftpList(ftp, fileonly = FALSE)

Arguments

ftp

ftp directory

fileonly

only list files

Value

a data.frame

Author(s)

Chris Stubben

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
 # all Y. pestis files
 ftp<- "ftp.ncbi.nih.gov/genomes/Bacteria/Yersinia_pestis_CO92_uid57621"
 x<-ftpList(ftp)
 x
#all genome directories
 ftp<-"ftp.ncbi.nih.gov/genomes/Bacteria"
 x <- ftpList(ftp)

## End(Not run)

cstubben/genomes2 documentation built on May 14, 2019, 12:25 p.m.