R4z0r Posted April 3, 2011 Posted April 3, 2011 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!!!!
Sprenger120 Posted April 3, 2011 Posted April 3, 2011 (edited) Hi, you can try to set $i_Passive to 0 and please post all @error values from the FTP functions Edited April 3, 2011 by Sprenger120
moooe Posted January 17, 2015 Posted January 17, 2015 Sprenger120 thank for lot, you save my project!
water Posted January 17, 2015 Posted January 17, 2015 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
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