Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 15:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



_FTP_FilePut-Problem

Discussion on _FTP_FilePut-Problem within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 2,241
Received Thanks: 848
_FTP_FilePut-Problem

Code:
#include <FTPEx.au3>
#include <Array.au3>
#include <File.au3>

$open = _FTP_Open("ftp")    
$connect = _FTP_Connect($open,$ftp,$user,$pw)
If @error Then MsgBox(0,"",@error)
	
$size = _FileListToArray("C:\Users\Bla\Desktop\HP\Root")
If @error Then MsgBox(0,"",@error)

_ArrayDisplay($size)
For $i = 1 To $size[0]
_FTP_FilePut($connect,"C:\Users\Bla\Desktop\HP\Root\" & $size[$i],$size[$i])
If @error Then MsgBox(0,"",@error)
Sleep(2000)
Next

_FTP_Close($open)
EDIT: Gelöst.
mipez is offline  
Reply


Similar Threads Similar Threads
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +1. The time now is 15:10.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.