RemoteInputFiles

RemoteInputFiles

is an option for RemoteBatchSubmit and RemoteBatchMapSubmit that specifies local files to be uploaded and made available within remote jobs.

Details

  • The value of the RemoteInputFiles option should be an association where keys are string filenames and values are string paths to local files, File objects or ByteArray objects. The file content specified by each value will be uploaded to the provider and made available in the remote session's working directory under the filename specified by the corresponding key.

Examples

open allclose all

Basic Examples  (1)

Submit a batch job using a local file and a byte array as input files:

The two input files were automatically downloaded into the remote session's working directory (along with the system-generated file containing the job code):

Scope  (1)

Submit an array batch job that imports an input file and assigns it to a variable within the job's initialization expression, which is more efficient than importing the file once in each iteration of the job function:

Properties & Relations  (1)

The names of a job's input files can be accessed from the "JobInputFilenames" property of a RemoteBatchJobObject:

Wolfram Research (2020), RemoteInputFiles, Wolfram Language function, https://reference.wolfram.com/language/ref/RemoteInputFiles.html.

Text

Wolfram Research (2020), RemoteInputFiles, Wolfram Language function, https://reference.wolfram.com/language/ref/RemoteInputFiles.html.

CMS

Wolfram Language. 2020. "RemoteInputFiles." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/RemoteInputFiles.html.

APA

Wolfram Language. (2020). RemoteInputFiles. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RemoteInputFiles.html

BibTeX

@misc{reference.wolfram_2024_remoteinputfiles, author="Wolfram Research", title="{RemoteInputFiles}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/RemoteInputFiles.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_remoteinputfiles, organization={Wolfram Research}, title={RemoteInputFiles}, year={2020}, url={https://reference.wolfram.com/language/ref/RemoteInputFiles.html}, note=[Accessed: 18-November-2024 ]}