Skip to main content


This Script is part of the D2 (Deprecated) Pack.#

Drops a file to a target system by providing its path on the server. In most cases use CopyFileD2 instead. This is a utility agent script to be used inside server scripts. See CopyFileD2 for an example.

Script Data#

Script Typejavascript
Tagsagent, util


Argument NameDescription
destpathThe full filesystem path and filename under which to save the file.
filesThe source file name.
forceThe overwrite file.


There are no outputs for this script.