ftpsetcurrentdirectory (wininet)
Last changed: Jeff Bader-216.220.192.132

.
Summary
Changes to a different working directory on the FTP server.

C# Signature:

[DllImport("wininet.dll", CharSet=CharSet.Auto, SetLastError=true)]
static extern bool FtpSetCurrentDirectory(IntPtr hFtpConnection, string lpszDirectory);

VB Signature:

Declare Function FtpSetCurrentDirectory Lib "wininet.dll" Alias "FtpSetCurrentDirectoryA" (ByVal hConnect As IntPtr, ByVal lpszDirectory As String) As Boolean

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Dim changed As Boolean = FtpSetCurrentDirectory(hINetConn, changePath)

Alternative Managed API:

Do you know one? Please contribute it!

Documentation