|
Summary
New file or directory name.
Description
The NewName property is used to specify the new name of a file or a subdirectory during a rename operation. Files are renamed by setting the FileAction property to FILE_ACTION_RENAME and
subdirectories are renamed by setting the DirAction property to DIR_ACTION_RENAME.
The file or subdirectory to be renamed must be identified by the Target property.
This property can be changed at any time. There is no default value for this property.
Example
FTPClient.Target = "results" FTPClient.NewName = "results.txt" FTPClient.FileAction = FILE_ACTION_RENAME
Note:
This property is only used when using the FileAction and DirAction properties. For new applications set the NewName parameter in the RemoteFile or RenameDir methods.
|