result: integer
Number of the opened file (handle). This value must be given to other functions: ASfClose, ASfRead, ASfWrite and so on.
Result is -1 in case of error
mode: optional integer
Creation mode of the file.
The default value is: ASfoCreate+ASfoTruncate+ASfoWrite+ASfoModeU_RW+ASfoModeG_RW
connection (optional)
Connection to AS/400.