Jump to content

Problem with AutoItSetOption


Recommended Posts

Hi, I'm another newbie.

I tried to set the FtpBinaryMode and so I wrote this little Script (only for a Test):

$var = Opt("FtpBinaryMode", 0)

MsgBox(16, "Test", $var)

The AutoIt_Help says the Return of the Function ist the Value the Option ist set to.

The MessageBox says always "1", independend from the Value for the Mode (0,1,2 or ...)

Is there a mistake in the Program or a mistake between the ears?

AutoIt 3.1.1.0

SciTE 1.67

Windows XP

(I try to get some files from a UnixServer - Solaris or Linux - and therefore the Mode should be ASCII)

Thanks for your help, greetings from Germany

Peter

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...