
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
UploadFilename event
Fires when server needs new name for the file currently being uploaded.
Syntax
- Basic
Private Sub object_UploadFilename (ByRef User, ByRef Part)
The UploadFilename(object,User,Part) syntax has these parts:
The UploadFilename(object,User,Part) syntax has these parts:
object | An expression evaluating to an object of type wodWebServer |
User | WebUser object. Reference to the user who sent the request. |
Part | WebRequestUploadPart object. Reference to the part that will be uploaded. |
Remarks
This event if fired during file upload if AutoParse property was set to True. It allows you to specify final destination filename of the upload. This way file is streamed directly to specified file, instead of being dumped to Request.Body, and then extracted later on.This event may be fired more than once per request, if client uploads more than one file. File will be fully uploaded when new UploadFilename is fired (for the new file that is about to be uploaded), or when RequestDone is fired.