SciDrive.publicUrl {SciServer}R Documentation

Get public URL of file.

Description

Gets the public URL of a file (or directory) in SciDrive.

Usage

SciDrive.publicUrl(path)

Arguments

path

path of the file (or directory) in SciDrive.

Value

URL of a file in SciDrive (string). Throws an exception if the user is not logged into SciServer (use Authentication.login for that purpose). Throws an exception if the HTTP request to the SciDrive API returns an error.

Author(s)

Gerard Lemson, Manuchehr Taghizadeh-Popp
Maintainer: Manuchehr Taghizadeh-Popp <mtaghiza@jhu.edu>

References

http://www.sciserver.org
http://www.scidrive.org/scidrive
http://www.github.com/sciserver/SciScript-R

See Also

SciDrive.upload.

Examples


## Not run: 
url = SciDrive.publicUrl("path/to/SciDrive/file.csv")

## End(Not run)

[Package SciServer version 2.0.0 Index]