Register for your free account! | Forgot your password?

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

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

Advertisement



FTP Problem

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,098
Received Thanks: 198
FTP Problem

Folgende Sache..
Ich möchte gern eine Datei mit Autoit auf ein FTP Server hochladen.
Nur weiß ich grad nicht was mein Fehler ist

PHP Code:
#include<ftp.au3>
$server 'ftp.deinserver.de'
$user 'deinusername'
$pw 'deinpw'

$Open _FTPOpen('FTP')
$Conn _FTPConnect($Open$server$username$pass)
$Ftpp _FtpPutFile($Conn'VerzeichnisFTP/text.txt', @ScriptDir&"text.txt")
$Ftpc _FTPClose($Open
i4mSoH34Vy is offline  
Old 07/05/2010, 11:49   #2
 
elite*gold: 0
Join Date: Jun 2010
Posts: 68
Received Thanks: 7
du hast die variable $username und $pass hier drin:

PHP Code:
$Conn _FTPConnect($Open$server$username$pass
aber oben hast du die variable $user und $pw

PHP Code:
$user 'deinusername' 
$pass 'deinpw' 
so sollte es richtig sein:

PHP Code:
#include <ftp.au3>
$server 'ftp.deinserver.de'
$user 'deinusername'
$pw 'deinpw'

$Open _FTPOpen('FTP')
$Conn _FTPConnect($Open$server$user$pw)
$Ftpp _FTPPutFile($Conn'VerzeichnisFTP/text.txt', @ScriptDir&"text.txt")
$Ftpc _FTPClose($Open
hast also im endeffekt nur die falschen variablen eingetragen bei _FTPConnect
real_antrix is offline  
Reply


Similar Threads Similar Threads
Metin 2 Pserver Problem/ Lösung für das Matrix Kartennummer Problem
01/04/2010 - Metin2 Private Server - 3 Replies
Hy Leute Wie in der Überschrift genannt, hab ich gerade ein Problem mit meinem Metin 2Server. Ich lasse ihn via Loopbackadapter laufen, funktioniert auch ganz gut. Ich hab aber jetzt das Poblem, das in meinem Account nur noch Krieger mit Level null stehen. Wie kann ich das Beheben??, das is auch manchmal da, wenn ich via Navicat n neuen Account mach. Hoffe einer hatt ne Lösung Hab n Screenshot im Anhang Aber ich hab ja auch ne Lösung für n anderes Problem. Gestern hatte ich beim...
[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 +2. The time now is 01:09.


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.