chirimbol Posted March 23, 2010 Posted March 23, 2010 (edited) Hi, I'm using FTPEx to send a file sometimes it just create the file but with 0 size, and sometimes transfert is OK. I've tried with differents ftp server and it's the same problem. Do I have something wrong in my code? Thanks in advance for your help. #include <FTPEx.au3> #include <File.au3> $server = 'myftpserver' $username = 'user@myftpserver' $pass = 'xxxxxx' $Open = _FTP_Open('MyFTP') $Conn = _FTP_Connect($Open, $server, $username, $pass, 0, 21) _FTP_FilePut($Conn, 'C:\ftptest1.txt', 'ftptest1.txt', 0x08000000) $Ftpc = _FTP_Close($Open) Edited March 25, 2010 by chirimbol
chirimbol Posted March 24, 2010 Author Posted March 24, 2010 I have changed to somethinh like that : $Result = _FTP_FilePut($Conn, 'C:\ftptest1.txt', 'ftptest1.txt', 0x08000000) And I can check if the put succeed, if not i make another attempt But I can't explain why I have so many fails.
chirimbol Posted March 25, 2010 Author Posted March 25, 2010 Solved now, Upgrade my system (XP) with SP3 en IE8 (was running IE7), and no more upload fail.
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