moveFileToExperimentFolder: File Saving (deprecated)

View source: R/fileRead.R

moveFileToExperimentFolderR Documentation

File Saving (deprecated)

Description

Moves a file to the location for files and saves a reference to that location in the experiment

Usage

moveFileToExperimentFolder(fileStartLocation, experiment, recordedBy,
  lsTransaction,
  fileServiceType = racas::applicationSettings$server.service.external.file.type,
  fileService = racas::applicationSettings$server.service.external.file.service.url,
  deleteOldFile = TRUE)

Arguments

fileStartLocation

Path to location to find the source file, relative from working directory

experiment

experiment object to save file to

recordedBy

username of person saving

lsTransaction

integer of transaction

fileServiceType

"blueimp" or "custom"

fileService

url path to custom file service (will be passed to customSourceFileMove, which should be defined in customFunctions)

Details

Mostly deprecated in favor of saveAcasFileToExperiment, where the fileStartLocation is relative from privateUploads. In fileRead.R.

Value

New file location (or code)


mcneilco/racas documentation built on April 19, 2024, 1:12 p.m.