ReadBlobMBS(data as blob, path as string) as blob
Returns the blob if it is not null.
Or reads the file from the given path and returns the content as blob.
Path must be native path and should only contain ASCII characters.
Be careful with this function. If used wrong, the user can read every file on the computer. Especially if the server runs with admin privileges.
select ReadBlobMBS(null,name) as rdata from test select ReadBlobMBS(null,name) from test where LeftMBS(name,1)="/"
Back to function list.
MBS Xojo Plugins