WebFileServer.CreateWebFileDrop Method

Create a web file drop
Public Shared Function CreateWebFileDrop( _ 
ByVal folder_id As EntityID, _ 
ByVal display_name As String, _ 
ByVal mode As WebFileDropCreateMode, _ 
ByVal desc As String, _ 
ByVal max_size As Integer, _ 
ByVal extensions As List(Of String), _ 
ByVal password As String, _ 
ByVal close_after_drop As Boolean, _ 
ByVal utc_expiry As Nullable(Of Date), _ 
ByVal created_by_id As EntityID, _ 
ByVal main_page_id As Nullable(Of Long), _ 
ByVal describe_page_id As Nullable(Of Long), _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID CreateWebFileDrop( 
EntityID folder_id
string display_name
WebFileDropCreateMode mode
string desc
int max_size
List<string> extensions
string password
bool close_after_drop
Nullable<DateTime> utc_expiry
EntityID created_by_id
Nullable<long> main_page_id
Nullable<long> describe_page_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ CreateWebFileDrop( 
EntityID^ folder_id
String^ display_name
WebFileDropCreateMode mode
String^ desc
int max_size
List<String^>^ extensions
String^ password
bool close_after_drop
Nullable<DateTime> utc_expiry
EntityID^ created_by_id
Nullable<long> main_page_id
Nullable<long> describe_page_id
IDatabase^ db 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

folder_id
EntityID

the folder where this should be created

display_name
string

the display name

mode
WebFileDropCreateMode

desc
string

a description

max_size
int

optional max size, -1 if not used

extensions
List<string>

optonal list of extensions

password
string

an optional password - null if not needed

close_after_drop
bool

whether or not to close after a drop occurrs

utc_expiry
Nullable<DateTime>

an optional expiry date

created_by_id
EntityID

the contact that created id

main_page_id
Nullable<long>

describe_page_id
Nullable<long>

db
IDatabase

<default>

Return Value

EntityID

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition