File
File declarations are primarily used for file import in method code when using the built-in method importFile. For more information on the method importFile and other methods for file handling, see File Methods. However, an entry under the File declaration node can also be used by a File Import object. The figure below shows the Settings window of a file declaration.
The file chosen by the user can be referenced in a form object or method using the syntax upload:///file1, upload:///file2, and so on. The filename handle (file1, file2, and so on) can then be used to reference an actual filename picked by the user at run time.
For more information on file declarations and file handling, see Appendix C — File Scheme Syntax.