FtpSetCurrentDirectory

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

Microsoft documentation: Link

Last updated