Sign in to follow this  
Followers 0
R4z0r

FTPEx does NOT work in Windows XP

4 posts in this topic

Hi there,

I use the latest AutoIt Version, I have this script:

#Include <FTPEx.au3>

; login
$server = 'ftp.xxxxxxxxxxxxxx.org'
$i_Passive = '1'
$port = '21'
$username = 'xxxxxxxx'
$pass = 'xxxxxxx'

; Customization
$Programs = @ProgramFilesDir
$Path = @DesktopDir & "\Proxy Stuff\_Database\"
$UploadPath = @DesktopDir & "\Proxy Stuff\_Database\Upload\"
$PromoUploadPath = @DesktopDir & "\Proxy Stuff\_Database\Upload\promo\"

;$temppublicdir = "internal"
$publicdir = "public_html/internal/database/"
$paiddir = "public_html/home/static/paid/"
$promodir = "public_html/home/static/promo/"
$alldir = "public_html/home/static/"

$Open = _FTP_Open('FTP')
$Conn = _FTP_Connect($Open, $server, $username, $pass,$i_Passive,$port)
Sleep(5000)
_FTP_DirPutContents($Conn, $UploadPath, $paiddir,1)
Sleep(5000)
_FTP_DirPutContents($Conn, $UploadPath, $publicdir,1)
Sleep(5000)
_FTP_DirPutContents($Conn, $UploadPath, $alldir,1)
Sleep(5000)
_FTP_DirPutContents($Conn, $PromoUploadPath, $promodir,1)
Sleep(5000)
_FTP_DirPutContents($Conn, $UploadPath, $paiddir,1)
_FTP_Close($Open)

It works perfect in Windows 7 put not in Windows XP. Firewall is deactivatet in Windows XP so please dont start Firewall discussion.

I pay 20 USD per PayyPal to anyone who can make this work on Windows XP!!!!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hi,

you can try to set $i_Passive to 0 and please post all @error values from the FTP functions

Edited by Sprenger120

Share this post


Link to post
Share on other sites

Welcome to AutoIt and the forum!

Sprenger120 has been offline for nearly 3 years now. So he won's see your post.

Please do not necro old threads.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
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
Sign in to follow this  
Followers 0