Xceed .NET Libraries Documentation
DoCreate Method (FtpFile)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpFile Class : DoCreate Method
A reference to a Xceed.FileSystem.FileSystemEventsSession object which is responsible for raising all events that occur during the process.
Creates the physical file.
Syntax
'Declaration
 
Protected Overrides Sub DoCreate( _
   ByVal session As FileSystemEventsSession _
) 
'Usage
 
Dim instance As FtpFile
Dim session As FileSystemEventsSession
 
instance.DoCreate(session)
protected override void DoCreate( 
   FileSystemEventsSession session
)

Parameters

session
A reference to a Xceed.FileSystem.FileSystemEventsSession object which is responsible for raising all events that occur during the process.
Remarks

The file must be created in a folder that exists otherwise an exception will be thrown.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FtpFile Class
FtpFile Members
Base Implementation in DoCreate