View source: R/fastGeoSubmission.R
fastGeoSubmission | R Documentation |
The detailed submission process can be found in GEO File Transfer Protocol: https://www.ncbi.nlm.nih.gov/geo/info/submissionftp.html.
fastGeoSubmission(
fileNames,
destDir,
geoFTP = "ftp-private.ncbi.nlm.nih.gov",
geoPassword = "33%9uyj_fCh?M16H",
nPerBatch = 10,
sleepSecond = 100
)
fileNames |
a vector of filenames with full path name to submit |
destDir |
the directory in GEO FTP server. This directory must be created in advance
(in shell):
sftp geo@sftp-private.ncbi.nlm.nih.gov |
geoFTP |
GEO FTP server address. Default is "ftp-private.ncbi.nlm.nih.gov". This password can be found in GEO File Transfer Protocol. |
geoPassword |
GEO FTP server password. Default is "33 This password can be found in GEO File Transfer Protocol. |
nPerBatch |
the number of uploading process in each batch. Default is 10. |
sleepSecond |
the time (in second) to wait after each batch. Default is 100 (seconds). |
{
## Not run:
# Upload files in "./tmp" folder to "ftpDir"
files = dir("./tmp", full.names = T)
fastGeoSubmission(files, "ftpDir")
## End(Not run)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.