AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke FTP Upload Lazarus mit Synapse
Thema durchsuchen
Ansicht
Themen-Optionen

FTP Upload Lazarus mit Synapse

Ein Thema von 1234567890987654321 · begonnen am 18. Apr 2011 · letzter Beitrag vom 18. Apr 2011
Antwort Antwort
1234567890987654321

Registriert seit: 8. Jun 2010
73 Beiträge
 
#1

FTP Upload Lazarus mit Synapse

  Alt 18. Apr 2011, 19:45
Wie verwende ich diese Funktion?
http://synapse.ararat.cz/doc/help/ft...tml#FtpPutFile

Z.z hab ich es so, aber dass funktioniert nicht:
Code:
FtpPutFile('ftp://meine_sub.ma.funpic.de', '21', GetTempDir+'upload.txt', 'data\1.txt', 'User', 'Pass');
ACHTUNG: ICH VERWENDE LAZARUS
  Mit Zitat antworten Zitat
Benutzerbild von s.h.a.r.k
s.h.a.r.k

Registriert seit: 26. Mai 2004
3.159 Beiträge
 
#2

AW: FTP Upload Lazarus mit Synapse

  Alt 18. Apr 2011, 19:54
Was passiert wenn du das "ftp://" weg lässt? Ich denke nicht, dass du das brauchst.

Und was genau funktioniert nicht? Kommt eine Exception? Oder einfach nur False dabei raus?
»Remember, the future maintainer is the person you should be writing code for, not the compiler.« (Nick Hodges)
  Mit Zitat antworten Zitat
1234567890987654321

Registriert seit: 8. Jun 2010
73 Beiträge
 
#3

AW: FTP Upload Lazarus mit Synapse

  Alt 18. Apr 2011, 19:59
Einfach nur false.
Auch wenn das ftp:// weg ist
ACHTUNG: ICH VERWENDE LAZARUS
  Mit Zitat antworten Zitat
Benutzerbild von s.h.a.r.k
s.h.a.r.k

Registriert seit: 26. Mai 2004
3.159 Beiträge
 
#4

AW: FTP Upload Lazarus mit Synapse

  Alt 18. Apr 2011, 20:00
Schon mal ohne die Unterverzeichnisse probiert? (Source sowie Target)

-- EDIT: Auch keine fehlerhaften Einstellungen der Firewall?
»Remember, the future maintainer is the person you should be writing code for, not the compiler.« (Nick Hodges)
  Mit Zitat antworten Zitat
1234567890987654321

Registriert seit: 8. Jun 2010
73 Beiträge
 
#5

AW: FTP Upload Lazarus mit Synapse

  Alt 18. Apr 2011, 20:08
Funktioniert jetzt:
'data/1.html',GetTempDir+'fox.html'

man musste es sorum angeben.

ABER: die Seite sieht jetzt so aus:
ÿþ<�!�D�O�C�T�Y�P�E� �H�T�M�L� �P�U�B
ACHTUNG: ICH VERWENDE LAZARUS
  Mit Zitat antworten Zitat
Benutzerbild von s.h.a.r.k
s.h.a.r.k

Registriert seit: 26. Mai 2004
3.159 Beiträge
 
#6

AW: FTP Upload Lazarus mit Synapse

  Alt 18. Apr 2011, 20:15
Überprüf mal den Zeichensatz.
»Remember, the future maintainer is the person you should be writing code for, not the compiler.« (Nick Hodges)
  Mit Zitat antworten Zitat
1234567890987654321

Registriert seit: 8. Jun 2010
73 Beiträge
 
#7

AW: FTP Upload Lazarus mit Synapse

  Alt 18. Apr 2011, 20:19
Offline sieht die Datei super aus, nur Online..
ACHTUNG: ICH VERWENDE LAZARUS
  Mit Zitat antworten Zitat
Benutzerbild von s.h.a.r.k
s.h.a.r.k

Registriert seit: 26. Mai 2004
3.159 Beiträge
 
#8

AW: FTP Upload Lazarus mit Synapse

  Alt 18. Apr 2011, 20:37
Guckst du hier.
»Remember, the future maintainer is the person you should be writing code for, not the compiler.« (Nick Hodges)
  Mit Zitat antworten Zitat
1234567890987654321

Registriert seit: 8. Jun 2010
73 Beiträge
 
#9

AW: FTP Upload Lazarus mit Synapse

  Alt 18. Apr 2011, 20:42
wenn ich die Datei wieder downloade ist alles super
ACHTUNG: ICH VERWENDE LAZARUS
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:55 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz