![]() ![]() Private Declare Function InternetCloseHandle Lib "wininet" ( _ Private Declare Function FtpGetFileA Lib "wininet.dll" ( _ ![]() Private Declare Function InternetConnectA Lib "wininet.dll" ( _ Private Declare Function InternetOpenA Lib "wininet.dll" ( _ Private Const INTERNET_FLAG_RELOAD As Long = &H80000000 Private Const FTP_TRANSFER_TYPE_UNKNOWN As Long = 0 I have to alter the passwords, username and the link as this from work and due to data protection rules. My code is below, btw if there is any other way to do the same thing pls let me know. I have a url that works which is used by my colleague. So I am trying to automate a manual process here where my colleague have to manually download files from this ftp server. Everywhere I search on the internet says the code below should work. I have been going around in circles with this for a few days now and I cant figure what is wrong with my code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |