Directories are uploaded recursively.
If the source is a file and the target a directory, then the file is uploaded
into the directory.
If the target is omitted, then the file or directory name
(basename) will be used.
Usage
wd_upload(req, source, target = "")
Value
vector of uploaded files (invisibly)
Arguments
req
request handle obtained from wd_connect
source
path to local file or directory
target
path to remote file or directory, if omitted the file or
directory name will be used, if source is a file and target a directory
then the file will be put into the target directory