This file is indexed.

/usr/share/doc/r-cran-rcurl/examples/upload.R is in r-cran-rcurl 1.95-4.7-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
library(RCurl)
upFile = system.file("DESCRIPTION", package = "RCurl")
postForm("http://eeyore.ucdavis.edu/cgi-bin/testForm1.pl",
         "fileData" = fileUpload(upFile), .opts = list(verbose = TRUE))


# Give the contents from R
postForm("http://eeyore.ucdavis.edu/cgi-bin/testForm1.pl",
         "fileData" = fileUpload("", paste(readLines(upFile), collapse = "\n")),
         .opts = list(verbose = TRUE, header = TRUE))


postForm("http://eeyore.ucdavis.edu/cgi-bin/testForm1.pl",
         "fileData" = fileUpload("", paste(readLines(upFile), collapse = "\n"), "text/plain"),
         .opts = list(verbose = TRUE, header = TRUE))