Tags:
view all tags
---+ .FILE COPY _This subroutine will copy a file from one location to another, creating any required directories._ <br />%TOC% ---++ Usage: <pre> PASS <error_message> FIELD SHARE? Y PASS <source_file> FIELD SHARE? N PASS <dest_file> FIELD SHARE? N GOSUB --- .FILE COPY * check for errors IF --- .FILE COPY NE </pre> ---++ Description: This subroutine will copy a file from one location to another, creating any required directories. All parameters are required, if any are missing the subroutine will CANCEL. <error_message> identifies the field that will contain additional error information if the copy fails (Required). <source_file> identifies the file to be copied (Required). <dest_file> identifies the location where the file should be copied to (Required). This must include the destination file name, ie, you cannot just specifiy a target directory. If --- .FILE COPY contains 'File Copy Failed', you can check the <error_message> field for more information on why the copy failed. This command is run by the appx engine, not by 'shelling out' to the O/S level, therefore the destination file will have the permissions of the engine. On Linux/Unix systems, if the 'setuid' bit is set, then those will be the permissions of user 'appx'. If you do not have the 'setuid' bit set, then the those will be the permissions of whatever user you have the engine configured to impersonate. On Windows the permissions will be that of the current user. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2012-01-24
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2012-01-24
-
JeanNeron
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback