WebUploadedFile.Data

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As String )
StringValue = aWebUploadedFile.Data

New in 2010r5

Supported for all project types and targets.

The contents of the file.

Notes

If the file exists on disk, accessing this property loads the file into memory.

If the file does not exist on disk, then this property contains the file data which can be then written out to disk using a BinaryStream.