Jump to content

FTP error :(


Recommended Posts

#include<ftp.au3>
$open = _FTPOpen("AutoIT")
MsgBox(0,"","opened")
If @error Then MsgBox(0, "Error", "Error open")
_FTPConnect($open, "ftp.*****.**.funpic.de", "*****", "*****")
If @error Then MsgBox(0, "Error", "Error connect")

The message box "opened" never appears and there is no exit error ^_^

>"C:\Programme\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Dokumente und Einstellungen\Master\Desktop\AutoIT\ftp connect.au3" /autoit3dir "C:\Programme\AutoIt3" /UserParams   
+>15:07:25 Starting AutoIt3Wrapper v.1.10.1.14  Environment(Language:0407  Keyboard:00000407  OS:WIN_XP/Service Pack 3  CPU:X86  ANSI)
>Running AU3Check (1.54.13.0)  from:C:\Programme\AutoIt3
+>15:07:26 AU3Check ended.rc:0
>Running:(3.2.12.1):C:\Programme\AutoIt3\autoit3.exe "C:\Dokumente und Einstellungen\Master\Desktop\AutoIT\ftp connect.au3" 
!>15:07:26 AutoIT3.exe ended.rc:-1073741819
+>15:07:27 AutoIt3Wrapper Finished
>Exit code: -1073741819 Time: 1.642

Edit : Attached the ftp file i use.

FTP.au3

Edited by MasterX
Link to comment
Share on other sites

Omg changed this in the ftp file DllCall(@ScriptDir&'\wininet.dll',.... to DllCall('wininet.dll'...

and now the opening works but the connection is wrong..

_FTPConnect($open, "ftp.*****.**.funpic.de", "*****", "*****")

The ftp server and the name and password are 100 % correct

Edited by MasterX
Link to comment
Share on other sites

Omg changed this in the ftp file DllCall(@ScriptDir&'\wininet.dll',.... to DllCall('wininet.dll'...

and now the opening works but the connection is wrong..

_FTPConnect($open, "ftp.*****.**.funpic.de", "*****", "*****")

The ftp server and the name and password are 100 % correct

This is wrong.

Do so.

Local $Dll = DllOpen('wininet.dll')
...
DllCall($Dll, ...)
...
DllClose($Dll)

Or use my UDF.

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...