Difference between revisions of "Copy File"
(→Copy From) |
|||
Line 7: | Line 7: | ||
==== Copy From ==== | ==== Copy From ==== | ||
− | This is the path or URL of the original file or directory. If "Use Local File" was selected, just enter the file path here. Otherwise, click on the blue text to launch the | + | This is the path or URL of the original file or directory. If "Use Local File" was selected, just enter the file path here. Otherwise, click on the blue text to launch the File Chooser dialog. |
If a directory is chosen, the entire contents of the directory and any subdirectories will also be copied. | If a directory is chosen, the entire contents of the directory and any subdirectories will also be copied. |
Latest revision as of 16:09, 13 July 2010
This Node causes a file to be copied to the local (or network) file system. The original file can be on your local network or on an internet location.
Contents
Use Local File / Remote File
Select "Use Local File" if the original file is located on your network or local disk. If the file is located on an internet server select "Remote File".
Copy From
This is the path or URL of the original file or directory. If "Use Local File" was selected, just enter the file path here. Otherwise, click on the blue text to launch the File Chooser dialog.
If a directory is chosen, the entire contents of the directory and any subdirectories will also be copied.
Copy To
This is the destination location and must be a UNC (network) directory or a directory on your local disk.
Note that if you are copying an entire directory, the destination directory must be specified in order to be created. For example, if your original file is a directory called "family_pictures" and your destination location is set to "C:\", all of the contents of "family_pictures" will be written directly to the C: drive - which probably isn't what you want. A better way would be to specify the target directory as "C:\family_pictures" - the new directory will automatically be created and populated with the contents of the original directory.
Overwrite Existing Files
Select this option if you would like destination files that already exist to be overwritten.
Confirm file copy
This will cause Presence to double check that the file copy action took place, and if not will cause the Task to throw an Exception and exit.
See Also
Task Elements : Action Task Elements : Copy File
Send Email | Send SMS | Send Fax | Broadcast Messages |
Read Text File | Read Binary File | Write Text File | Write Binary File | Parse File Action |
Rename File | Copy File | Delete File | Parse File Action |
Generate Bar Code | Read Bar Code |
Dynamic Task Call | Call Native Program | FTP Upload | Scorecard Collector | Create Graph | AS400 Action |
Socket Client Action | Socket Server Action |
JMS Producer | JMS Consumer |