Register for your free account! | Forgot your password?

You last visited: Today at 17:11

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

Advertisement



[AutoIt]FTP

Discussion on [AutoIt]FTP within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
RealEmX's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 428
Received Thanks: 179
[AutoIt]FTP

Aloha!

Wollt mich mal mit den FTP Funktionen von AutoIt auseinander setzen, nur scheint hier doch irgentwo ein Hänger zu sein obwohl es alles richtig sein sollte.

Code:
#include <FTP.au3>
$Open = _FTPOpen('FTP')
$Conn = _FTPConnect($Open, 'localhost', 'root', '')
$Ftpp = _FtpPutFile($Conn, 'C:\EineDatei.txt', 'EineDatei.txt')
If @error Then
    MsgBox(0, "Fehler", "Fehler")
EndIf
$Ftpc = _FTPClose($Open)
Nun wird weder eine Fehlermeldung ausgegeben, noch die Datei hochgeladen.
>__<

Und noch 2 Dinge:
- Das Script ist aus dem Kopf raus weil Ich grad nicht zuhause bin, dementsprechend sind Syntaxfehler wenn nur in diesem Beispiel vorhanden.
- Da ich derzeit keinen Internetanschluss habe, kann Ich hier nicht so schnell wieder nach Lösungen schauen^^
RealEmX is offline  
Old 08/12/2010, 20:53   #2
 
RealEmX's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 428
Received Thanks: 179
Problem hat sich erledigt, hatte bei _FtpPutFile $open statt $conn übergeben ^^


#CloseRequest
RealEmX is offline  
Reply




All times are GMT +2. The time now is 17:11.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.