Difference: 0LASubrFileMakeDir (1 vs. 2)

Revision 22012-01-25 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.FILE MAKE DIR

Line: 14 to 14
 

Description:

Changed:
<
<
This subroutine must be passed two fields. One to return an error message and one defining the cirectory name to create.
>
>
This subroutine is called to create a directory in the filesystem. Both parameters are required, the subroutine will CANCEL if they are not received.
 
Changed:
<
<
<error_message> identifies the field to return an error message if the create fails. Passing this parameter is required.
>
>
<error_message> contains additional error information if the command fails (Required). Must be PASSed with Share "Y".
 
Changed:
<
<
<directory_name> identifies the field that identifies the directory name to create. Passing this parameter is required.
>
>
<directory_name> is the directory name to create (Required).
 
Changed:
<
<
This subroutine sets a result value in the corresponding results Token field.
>
>
If .FILE MAKE DIR is not blank, you can check <error_message> for more information on why the command failed.

This command is run by the appx engine, not by 'shelling out' to the O/S level, therefore the directory 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.

Revision 12011-08-12 - PeteBrower

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.FILE MAKE DIR

This subroutine is called to create a directory in the filesystem.


Usage:

    PASS        <error_message>           FIELD           SHARE? Y
    PASS        <directory_name>          FIELD           SHARE? N
    GOSUB   --- .FILE MAKE DIR
     *       check for errors
    IF      --- .FILE MAKE DIR            NE

Description:

This subroutine must be passed two fields. One to return an error message and one defining the cirectory name to create.

<error_message> identifies the field to return an error message if the create fails. Passing this parameter is required.

<directory_name> identifies the field that identifies the directory name to create. Passing this parameter is required.

This subroutine sets a result value in the corresponding results Token field.

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- PeteBrower - 2011-08-12

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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