FtpRenameFile (wininet)
Last changed: toniolol@gmail.com-217.128.127.11

.
Summary
Renames a file stored on the FTP server.

C# Signature:

[DllImport("wininet.dll", CharSet = CharSet.Auto)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool FtpRenameFile(IntPtr ulSession, string oldFileName, string newFileName);

VB Signature:

  Private Declare Function FtpRenameFile Lib "wininet.dll" Alias "FtpRenameFileA" _
                (ByVal hConnect As Integer, ByVal lpszExisting As String, _
                ByVal lpszNew As String) As Boolean

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

Call InternetOpen() and InternetConnect() to get a valid hConnect handle.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation

Direct Link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/ftpputfile.asp