Dart.Ftp Namespace > Ftp Class : Rename Method |
Public Function Rename( _ ByVal oldPath As String, _ ByVal newPath As String _ ) As List(Of Response)
Dim instance As Ftp Dim oldPath As String Dim newPath As String Dim value As List(Of Response) value = instance.Rename(oldPath, newPath)
public List<Response> Rename( string oldPath, string newPath )
public: List<Response^>^ Rename( String^ oldPath, String^ newPath )
Exception | Description |
---|---|
FtpProtocolException | The command did not succeed. |
Characters specified in the remote path are sent to the server unmodified. If the path contains characters that are invalid for the server host filesystem, it may cause the operation to fail with an FtpProtocolException.