Jump to content
Sign in to follow this  

using DLLopen

Recommended Posts

Hello All, it's been a while...

I am redoing some scripts that were built under an earlier beta version that did not require a specific call to DLLopen. More specifically, using ftp.au3 library using DLLCall to wininet.dll.

There is a function to open the ftp server as such:


Func _OpenFtp()

GUICtrlSetData($Edit1, "Logging in to FTP Server" & @crlf, 1)

$ftpSes = _FTPOpen("Connection")

$intCon = _FTPConnect($ftpSes, $ftpServer, $ftpUser, $ftpPass, $INTERNET_DEFAULT_FTP_PORT, $ConnectType)



Along with one to close it, transfer files, etc. The program performs image manipulations and then uploads them to the ftp server, so there are other functions that are called before the ftp open or transfer functions.

My question is this-- am I better off calling DLLOpen to wininet.dll once at the beginning of the script and then DLLClose on exit, or should I call it before the openFtp function each time and close it in the CloseFtp function?

Appreciate any guidance,


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...