A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



FtpRenameFile

Renames a file stored on the FTP server.

VB4-32,5,6
Declare Function FtpRenameFile Lib "wininet.dll" Alias "FtpRenameFileA" (ByVal hFtpSession As Long, ByVal lpszExisting As String, ByVal lpszNew As String) As Boolean

VB.NET
Not implemented

Operating Systems Supported
Requires Windows NT 4.0 or later; Requires Windows 95 or later

Library
Wininet

Parameter Information
- hConnect
[in] Valid HINTERNET handle to an FTP session.

- lpszExisting
[in] Address of a null-terminated string that contains the name of the file that will have its name changed on the remote FTP server.

- lpszNew
[in] Address of a null-terminated string that contains the new name for the remote file.

Return Values
Returns TRUE if successful, or FALSE otherwise. To get a specific error code, call GetLastError.

Last update: 07 April 2006