createVirtualDirectoryFile(filename: String; contents: Binary; retain: Boolean): Integer;
The createVirtualDirectoryFile method of the JadeWebServiceProvider class enables you to pass files created by a JADE application to the jadehttp library. The jadehttp library creates the specified file in the directory specified by the
The createVirtualDirectoryFile method parameters are listed in the following table.
Parameter | Description |
---|---|
fileName | Name of the file to be created in the virtual directory |
contents | Binary holding the file contents |
retain | Creates read-only files when set to true or standard files when set to false |
The jadehttp library creates the specified file in the directory (the virtual directory visible to Web browsers) in which the library is running. This method returns zero (0) if the method successfully formats a request to the jadehttp library or it returns the non-zero operating system error code indicating the failure to create the file.
You can specify whether files created in the virtual directory are deleted automatically and how this happens, by setting the
This method must be called during the processing cycle of the message.