ARemoteFile
resource allows using a File on a remote file server in the pipeline.
Syntax
resources: - name:type: RemoteFile configuration: source: fileLocation: # optional fileName: # optional
name
-- should be an easy to remember text string类型
-- set toRemoteFile
configuration
source
- name of theFile Server Integrationthe file is accessible throughfileLocation
– Folder path (optional)文件名
– name of the file (optional)
Default Environment Variables
WheneverRemoteFile
is used in a step, a set of environment variables is automatically made available that you can use in your step.
Environment Variable | Description |
---|---|
res_ |
Name of the resource |
res_ |
Name of the integration the file is associated with |
res_ |
The directory containing files for the resource |
res_ |
文件的日期时间 |