ComponentSpace FTP Class Library Reference

RemoteFile Members

RemoteFile overview

Public Instance Properties

TransferMode Gets or sets the file transfer mode (ASCII or binary).
UseRemoteFileTime Gets or sets the flag indicating whether, on a download, the local file's date/time properties are set to that of the remote file. If not set then the local file's date/time properties will be the current local time.

Public Instance Methods

AppendOverloaded. Append the local file's contents to the remote file.
BeginAppendOverloaded. Initiates an asynchronous append remote file.
BeginDeleteOverloaded. Initiates an asynchronous delete remote file.
BeginDownloadOverloaded. Initiates an asynchronous download remote file.
BeginGetModificationTimeOverloaded. Initiates an asynchronous get file modification time operation.
BeginListOverloaded. Initiates an asynchronous list remote file.
BeginRenameOverloaded. Initiates an asynchronous rename remote file.
BeginRestartDownloadOverloaded. Initiates an asynchronous restart download remote file. The restartMarker specifies the write position in the remote file.
BeginRestartUploadOverloaded. Initiates an asynchronous restart upload remote file. The restartMarker specifies the write position in the remote file.
BeginUploadOverloaded. Initiates an asynchronous upload remote file.
Delete Delete the remote file.
DownloadOverloaded. Download the remote file's contents to the local file.
EndAppend Completes the specified asynchronous append remote file operation.
EndDelete Completes the specified asynchronous delete remote file operation.
EndDownload Completes the specified asynchronous download remote file operation.
EndGetModificationTime Completes the specified asynchronous get file modification time operation.
EndList Completes the specified asynchronous list remote file operation.
EndRename Completes the specified asynchronous rename remote file operation.
EndRestartDownload Completes the specified asynchronous restart download remote file operation.
EndRestartUpload Completes the specified asynchronous restart upload remote file operation.
EndUpload Completes the specified asynchronous upload remote file operation.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Exists Indicate whether the remote file exists.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetModificationTime Get the modification time of the remote file.
GetType (inherited from Object) Gets the Type of the current instance.
List Get remote file information.
Rename Rename the remote file.
RestartDownloadOverloaded. Restart the download of the remote file's contents to the local file. The restartMarker specifies the read position in the remote file.
RestartUploadOverloaded. Restart the upload of the local file's contents to the remote file. The restartMarker specifies the write position in the remote file.
ToString (inherited from Object) Returns a String that represents the current Object.
UploadOverloaded. Upload the local file's contents to the remote file. If destinationPathName is null then a unique name is generated on the remote server.

Public Instance Events

AppendCompleted Occurs when the append file has completed.
DataTransferred Occurs at intervals to indicate how many bytes in total have been transferred during the current data transfer. This event may be used provide feedback during data transfers.
DeleteCompleted Occurs when the delete file has completed.
DownloadCompleted Occurs when the download file has completed.
GetModificationTimeCompleted Occurs when the get file modification time operation has completed.
ListCompleted Occurs when the list file has completed.
RenameCompleted Occurs when the rename file has completed.
RestartDownloadCompleted Occurs when the restart download file has completed.
RestartUploadCompleted Occurs when the restart upload file has completed.
UploadCompleted Occurs when the upload file has completed.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RemoteFile Class | ComponentSpace.Ftp Namespace | MultiFile | FailSafeTransfer | RemoteDirectory