Lucee Function Reference

fileuploadall()

Uploads file to a directory on the server.

Example

fileuploadall(string destination,[string accept,[string nameConflict,[string strict,[string attributes,[object acl]]]]]):array

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
destination string  Yes Absolute pathname of directory or file on web server.  
accept string  No Limits the MIME types to accept. Comma-delimited list. For example, to permit JPG and Microsoft Word file uploads:
accept = "image/jpg, application/msword"
The browser uses file extension to determine file type.  
nameConflict string  No Action to take if filename is the same as that of a file in the directory.  
strict string  No Applies only to Solaris and HP-UX. Permissions. Octal values of UNIX chmod command. Assigned to owner, group, and other, respectively.  
attributes string  No One attribute (Windows) or a comma-delimited list of attributes (other platforms) to set on the file.
If omitted, the file's attributes are maintained.  
acl object  No only used for S3 Resources