Home Page
        Orders     Downloads     Support     Contact     Deutsch
ZOC Terminal is a professional SSH Client and Terminal Emulator for Windows and macOS.
PyroBatchFTP Online Help Topic:

Script Commands → LocalCopyFile

LocalCopyFile <file>, <dest>

 

Copy a file on the local file system from the current directory or full path to a destination file or folder.

Source must be a specific file name without wildcards, but you can use the ForEach command to copy multiple files.

Destination can be a file name or a path that designates a folder that already exists.

 

See also: LocalMoveFile, ForEach

 

Examples:

LocalCopyFile "sales.dat", "Z:\backups"

LocalCopyFile "sales.dat", "Z:\backups\sales.bak"

ForEach local "*.txt" do "LocalCopyFile '$file', 'Z:\backups\$file'")

 
← Back to Script Commands

 

Downloads
Orders
Contact
Support
Terms of Use
Privacy Policy
pixel