|
FASTCopy and dynamic target names
Question:
How can I use dynamic information from a file transfer to generate target file names?
Answer:
Use the -parse_spec qualifier to instruct FASTCopy to replace the following parameters with their respective values:
%n - issuer node name (i.e. The machine name of the machine issuing the command)
%u - issuer user name (i.e. The user logged on to the machine issuing the command)
%a - issuer IP address
%x - Unique ID comprising of machine+user+unique_ID
Example:
fcopy "E:\\temp 1 2 3\\a.a" "\\\\localhost\\E:\\temp 1 2 3\\%n-%u-%a.txt" -parse_spec -user="administrator" -password=PASSWORD -report
FCOPY-S-FILE_COPIED, file E:\temp 1 2 3\a.a' FASTCopied to file '\\localhost\E:\temp 1 2 3\anon-roy-128.100.192.58.txt' ( 364 Bytes )
'
Related Topics:
WINDOWS
UNIX
FASTCopy
Back to FAQ Index
|