Differences

This shows you the differences between the selected revisions of the page.

library_session_movefile 2014-02-25 library_session_movefile 2024-10-25 (current)
Line 8: Line 8:
<code vbnet *> <code vbnet *>
-Public Sub MoveFile(ByVal sourcePath As String, ByVal targetPath As String)+Public Sub MoveFile(sourcePath As String, targetPath As String)
</code> </code>
Line 14: Line 14:
^ Name ^ Description ^ ^ Name ^ Description ^
| string sourcePath | Full path to remote file to move/rename. | | string sourcePath | Full path to remote file to move/rename. |
-| string targetPath | Full path to new location/name to move/rename the file to. |+| string targetPath | Full path to new location and name((The name must be included or the target page has to end with a slash.)) to move/rename the file to. |
===== Exceptions ===== ===== Exceptions =====
Line 22: Line 22:
| [[library_sessionremoteexception|SessionRemoteException]] | Session has failed. \\ Command has failed. \\ See the exception documentation for details. | | [[library_sessionremoteexception|SessionRemoteException]] | Session has failed. \\ Command has failed. \\ See the exception documentation for details. |
| TimeoutException | Timeout waiting for ''winscp.com'' to respond. | | TimeoutException | Timeout waiting for ''winscp.com'' to respond. |
 +
 +===== Example =====
 +
 +==== Real-Life Example ====
 +
 +  * [[script_locking_files_while_uploading|*]];
 +  * [[library_example_advanced_rename|*]].

Last modified: by 94.201.229.7