grasshopper3 Posted July 27, 2010 Share Posted July 27, 2010 I am trying to get a connection to an FTP site using _FTP_Connection(). I am getting an error (@error = -1). Can anyone help? I can connect with FileZilla fine. $server = '192.168.1.10' $i_Passive = '0' $port = '990' $username = 'username' $pass = 'password' $Open = _FTP_Open('sftp.tetradata.com') MsgBox(0,'',$Open) $Conn = _FTP_Connect($Open, $server, $username, $pass,$i_Passive,$port) MsgBox(0,'',$Conn & " " & @error) Link to comment Share on other sites More sharing options...
Developers Jos Posted July 27, 2010 Developers Share Posted July 27, 2010 what server are you connecting to and what protocol do you use in FileZilla? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
grasshopper3 Posted July 27, 2010 Author Share Posted July 27, 2010 what server are you connecting to and what protocol do you use in FileZilla?I am using "FTPS - FTP over implicit TLS/SSL". How do I set the protocol? Link to comment Share on other sites More sharing options...
Developers Jos Posted July 27, 2010 Developers Share Posted July 27, 2010 (edited) That will not work with this udf as it can only do standard ftp. by the way: You only answered the second question. In your posted snippet you were trying to connect to a server on the LAN, not sftp.tetradata.com... was that the intention? Edited July 27, 2010 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
grasshopper3 Posted July 27, 2010 Author Share Posted July 27, 2010 (edited) That will not work with this udf as it can only do standard ftp.by the way: You only answered the second question. In your posted snippet you were trying to connect to a server on the LAN, not sftp.tetradata.com... was that the intention?I did that to hide the actual IP. It is not a LAN server.Also is it possible to make FTPS connection in Autoit? If so how? Edited July 27, 2010 by grasshopper3 Link to comment Share on other sites More sharing options...
Developers Jos Posted July 28, 2010 Developers Share Posted July 28, 2010 I did that to hide the actual IP. It is not a LAN server.No sure how you think this could ever work.... hide an IP address?Also is it possible to make FTPS connection in Autoit? If so how?Not without some COM object or other external program that does. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now