sFTPRenameFile
FTP Function Reference
This function renames a remote file or directory in the current path
on the remote server.
<DllImport("SapphireFTP.dll")> _
Public Function sFTPRenameFile(ByVal
sOldFile As String, ByVal
sNewFile As String, ByVal
lLicence As Integer) As
Integer
End Function |
Parameters
|
sOldFile |
|
|
A string specifying the remote file or directory to rename. |
|
sNewFile |
|
|
A string specifying the remote file or directory to rename to. |
|
lLicence |
|
|
An integer specifying the licence number of the registered utility.
If using in demo mode, enter 1234567890. |
Return Values
|
Returns a number indicating success or failure. If the operation
was successful then the return value will be FTP_NO_ERROR.
Use sFTPErrorText to get a string
version of the error message. |
|