Xceed FTP Library Documentation
CurrentState property
XceedFtp control reference > Properties > CurrentState property

Description

This read-only property indicates what the current instance of the XceedFtp control is doing at any time.

For example, when you are creating a folder, the value returned when reading this property is fstCreatingFolder.

Data type

EXFState

Possible values
 

Enum Value Meaning
fstNotConnected 0 Not connected, and no method is currently executing.
fstConnecting 1 Executing the Connect method.
fstConnected     2 Connected, but no method is currently executing.
fstChangingFolder   3 Executing the ChangeCurrentFolder method.
fstChangingToParentFolder 4 Executing the ChangeToParentFolder method.
fstChangingUser 5 Executing the ChangeUser method.
fstCreatingFolder 6 Executing the CreateFolder method.
fstDeletingFile 7 Executing the DeleteFile method.
fstDisconnecting 8 Executing the Disconnect method.
fstGettingFolderContents 9 Executing the GetFolderContents method.
fstListingFolderContents 10 Executing the ListFolderContents method.
fstReceivingFile 11 Executing the ReceiveFile method.
fstReceivingMemoryFile 12 xecuting the ReceiveMemoryFile method.
fstReceivingMultipleFiles 13 Executing the ReceiveMultipleFiles method.
fstRemovingFolder 14 Executing the RemoveFolder method.
fstRenamingFile 15 Executing the RenameFile method.
fstSendingCommand 16 Executing the SendCommand method.
fstSendingFile 17 Executing the SendFile method.
fstSendingMemoryFile 18 Executing the SendMemoryFile method.
fstSendingMemoryFileData 19 Executing the SendMemoryFileData method.
fstSendingMultipleFiles 20 Executing the SendMultipleFiles method.

 

Declaration  

HRESULT CurrentState( [out, retval] EXFState* peVal );