Methods (Dundas Upload Control 2.0)

Dundas

Methods (Dundas Upload Control 2.0)

Overview | Properties | Methods


DirectoryCreate

Creates a directory.

DirectoryDelete

Deletes a directory.

DirectoryExists

Checks to see if the specified directory exists.

FileCopy

Copy a file from one location to another.

FileDelete

Deletes a specified file.

FileExists

Checks to see if the specified file actaully exists.

FileMove

Moves a file from one location to another.

GetFileDirName

Call this method to extract the directory name from a fully specified pathname.

GetFileExt

Call this method to extract the file extension from a fully specified pathname.

GetFileName

Call this method to extract the filename from a fully specified pathname.

GetNextFile

Used to retrieve form data incrementally, this method returns NextFile objects.

GetUniqueName

This method returns a GUID (useful for saving files with unique names).

ImpersonateUser

Call this method to temporarily utilize a Windows account other than the default (usually the IUSR account).

ImpersonationTerminate

Call this method to revert back to the default user account after having called the ImpersonateUser method.

RegisterServer

Call this method to register a COM component.

Save

Saves uploaded files to disk and populates the Upload control's Form and Files collections.

SaveToMemory

Saves all uploaded form data (uploaded files as well as form element values) to memory. This method also populates the Files and Form collections.

SendBinary

Call this method to download files from the server.