How to Copy, Move, or Delete Files with Remote Execution
You can copy and move files on target computers.
- On the
page, select Create new job.Can't find the page in the left menu? That's probably because the Devices menu is collapsed. Click the arrow to expand it.
- On the Create job page, choose the platform where you want to run automation steps.
- Depending on what you want to do with files, add the File copy, File move, or File delete step to the list on the left.
- Type the path of a source file that you want to copy, move, or delete.
- Type the Destination folder on the remote computer.
This field is only available when you copy or move a file.
- Under Overwrite existing files, choose whether to overwrite files that already exist on remote computers.
- Click Next.
- From the list of Devices define the devices or a group of devices that will receive the script.
You can organize your devices by selecting a grouping option from the top of the list.
- Click Next.
- Name the job in a way that is easy to remember later on.
Optionally, you can schedule jobs up to one year in advance. To do so, toggle Schedule this job and set the time and date for the job to run. In the Date and time field, either type a date or click the calendar icon to choose it from a date picker.Remember: You can select offline devices for scheduled jobs, but when a job runs, devices must be online; otherwise, the job will fail on that device. Scheduled jobs run on each remote device's local time.
- Click Run.
Note: A preset timeout pertains to both the job and the step.
A timeout for every step is set to two hours, meaning that GoTo Resolve waits two hours for the script to finish on the remote computer. When the script finishes, GoTo Resolve starts the next step and waits another two hours for that step to finish. If a step does not finish on a remote computer in two hours, then it times out and the whole job fails.