AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

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.

Examples

Related Functions

No VB.NET Example Found

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/