Learn R Programming

genomes (version 2.16.0)

ftpList: List FTP files and directories

Description

List FTP files and directories from NCBI and other hosts

Usage

ftpList(ftp, fileonly = FALSE)

Arguments

ftp
ftp directory
fileonly
only list files

Value

Examples

Run this code

## 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)

Run the code above in your browser using DataLab