Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 04:34

  • 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
 
Cpt.Cock's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 315
Received Thanks: 28
_FTP_FilePut Problem

Hey,
ich habe momentan ein Problem mit der Funktion "_FTP_FilePut". Ich möchte ein Textdokument ("test.txt") auf meinen FTP-Server hochladen. Hier mein momentaner Script:

Code:
$Open = _FTP_Open('FTP')
$server = 'ftp-web.funpic.de'
$username = 'ftp18*****'
$pass = '************'
$Conn = _FTP_Connect($Open, $server, $username, $pass)


_FTP_FilePut($Conn, "C:\Users\Julius\Desktop\test.txt", "\test.txt")
$Ftpc = _FTP_Close($Open)
Das seltsame ist, dass die _FTP_FileGet Funktion funktioniert:
Code:
Func get()
	_FTP_FileGet($Conn, "/test.txt", "C:\Users\Julius\Desktop\test.txt")
	$Ftpc = _FTP_Close($Open)
EndFunc
Cpt.Cock is offline  
Old 09/11/2013, 21:52   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Nimm mal ein Slash statt Backslash bei FilePut.
alpines is offline  
Old 09/11/2013, 22:02   #3
 
Cpt.Cock's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 315
Received Thanks: 28
Hab ich schon probiert, läuft leider auch nicht. Vllt als Hinweis, ich möchte die Datei im einfachen "/" Verzeichnis speichern. Habe ich vllt falsche Pfade?

#gelöst. Dummer Fehler mit den Variablen
Danke für die Hilfe
Cpt.Cock is offline  
Reply


Similar Threads Similar Threads
[Problem]Habe ein Problem und zwar spinnt mein VPC etwas(ohne Grund)?!
07/28/2011 - Metin2 Private Server - 10 Replies
Also wie schon gesagt meins Server spinnt wodurch kiks usw. kommen :( ich lade euch die Screens in den Anhang, mit der Hoffnung, dass ihr mir helfen könnt :) wäre echt sehr nice :)
_FTP_FilePut-Problem
12/19/2010 - AutoIt - 0 Replies
#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\Roo t") If @error Then MsgBox(0,"",@error)



All times are GMT +1. The time now is 04:34.


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.