Old thread, I know, but problem remains.
Ok, I had similar problem and solved it by enabling Passive mode when connecting to server.
$Conn = _FTP_Connect($Open, $server, $username, $pass,1)
SOLVED
You were right Jos, there was issue with CDO.
I followed instruction from http://support.microsoft.com/default.aspx?scid=kb;en-us;327219 >> Reinstall Outlook Express (and Internet Explorer).
Ok, I unistalled Internet Explorer and Outlook via Add/Remove Components in Control Panel - Add/Remove Programs HUGE MISTAKE
I also deleted some other dlls (iertutil.dll I think) and corrupted Windows installation. Somehow I managed to download missing dll using Ubuntu LiveCD. After that I reinstalled IE8 and Outlook Express but that didn't help.
Anyway here is how I solved the problem:
I downgraded cdosys.dll from version 6.2.4.0 (14. april 2008, 13:00:00) to version 6.0.6015.0 (24. januar 2004, 1:29:04):
1. Go to C:WINDOWSsystem32dllcache
2. Find cdosys.dll and rename it to cdosys.dll_Backup
3. Go to C:WINDOWSsystem32
4. Find cdosys.dll and rename it to cdosys.dll_Backup
5. Download cdosys.dll version 6.0.6015.0 from attachment below
6. Copy it to C:WINDOWSsystem32 (replace current one) (maybe it's good idea to copy it also in dllcache folder)
Windows may detect that cdosys.dll was replaced and ask you to revert, but ignore that. Step 1 and 2 are also for preventing Windows to revert changes to cdosys.dll
Thank you Jos for your support. I also included cdosys.dll v6.2.4.0 if someone wants to inspect why didn't work.
cdosys.dll_6.0.6015.0.rar
Extra:
Oh, I forgot to mention that. It's Windows XP SP3. AutoIt v3.3.8.1 Stable.
I think it is. cdosys.dll* is present in C:WindowsSystem32
I tried to download cdo.dll** to system32 folder (and register it via "regsrv32 cdo.dll" command in cmd) - No success, I still get errors.
After that I followed these instruction to (re)install: http://j-integra.intrinsyc.com/support/kb/article.aspx?id=113792 - That didn't help either.
* version: 6.2.4.0
** version: 5.5.2182.0
Errors:
I really like this script and and I haven't had any problems until now.
After running I get this errors:
### COM Error ! Number: 80029C4A ScriptLine: 65 Description:
### COM Error ! Number: 80029C4A ScriptLine: 66 Description:
### COM Error ! Number: 80029C4A ScriptLine: 68 Description:
### COM Error ! Number: 80029C4A ScriptLine: 71 Description:
### COM Error ! Number: 80029C4A ScriptLine: 72 Description:
### COM Error ! Number: 80029C4A ScriptLine: 73 Description:
### COM Error ! Number: 80029C4A ScriptLine: 76 Description:
### COM Error ! Number: 80029C4A ScriptLine: 79 Description:
### COM Error ! Number: 80029C4A ScriptLine: 85 Description:
### COM Error ! Number: 80029C4A ScriptLine: 89 Description:
### COM Error ! Number: 80020009 ScriptLine: 91 Description:The "SendUsing" configuration value is invalid.
I double checked parameters, try to use different gmail address, turned off anti-virus&firewall (ESET SS) but still get this errors.
Using google I found that
80029C4A = Error loading type library/DLL
Any ideas how to fix this problem?
Code: