lunchbox88
Programmer
I can't seem to get this function to work, and I'm not sure what I'm doing wrong...
Here is the function declaration:
Here is my code calling that function:
Every other piece of code is working fine. My connection is fine, etc... I just can't seem to get it to switch directories.
Any help is greatly appreciated
Here is the function declaration:
Code:
Private Declare Function FtpSetCurrentDirectory Lib "wininet.dll" Alias "FtpSetCurrentDirectoryA" (ByVal hFtpSession As Long, ByVal lpszDirectory As String) As Boolean
Here is my code calling that function:
Code:
RC = FtpSetCurrentDirectory(INetConn, "Folder2")
Every other piece of code is working fine. My connection is fine, etc... I just can't seem to get it to switch directories.
Any help is greatly appreciated