MasterX Posted May 7, 2009 Posted May 7, 2009 (edited) #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 May 7, 2009 by MasterX
Yashied Posted May 7, 2009 Posted May 7, 2009 Do you use a proxy server? My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
MasterX Posted May 7, 2009 Author Posted May 7, 2009 No as argument i use only the name of the connection ...
Yashied Posted May 7, 2009 Posted May 7, 2009 This is strange. Try to run the compiled script. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
MasterX Posted May 7, 2009 Author Posted May 7, 2009 (edited) 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 May 7, 2009 by MasterX
Yashied Posted May 7, 2009 Posted May 7, 2009 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 % correctThis is wrong. Do so. Local $Dll = DllOpen('wininet.dll') ... DllCall($Dll, ...) ... DllClose($Dll) Or use my UDF. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
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