Autor Beitrag
Platon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 42

WinXP, Windows 7
Delphi 5 Enterprise, Delphi 2005 Architect, Delphi 2007 Prof., Delphi 2010 Prof., Delphi XE2 Prof., Visual C++ 6.0, LabView 7.1, SPS
BeitragVerfasst: Mo 16.10.06 12:18 
Ich pastele gerade an einem FTP progrämmchen mit Indy.
Wenn ich den Client connecten will, dann kommt eine Fehlermeldung "Not Logged in" ! Hab da mal gedebugged und gemerkt, dass der Username hinhaut, doch das Passwort schmeißt mich jedesmal raus.

Wenn ich "AllowAnonymousLogin" auf true setze, sind ja foglende User erlaubt : anonymous, ftp, guest ! Aber mit welchem Passwort ? Leer ?
Bei Name: guest und Passwort: guest kommt auch der Fehler.

Wenn ich mir unter "UserAccounts" eigene Accounts ( UserManager.AuthenticateUser('alpha','beta123'); ) anlege, kommt auch dies Meldung.

Kann mir jemand helfen ? Was hab ich falsch gesetzt (Eigenschaften: FTPServer) ?
Platon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 42

WinXP, Windows 7
Delphi 5 Enterprise, Delphi 2005 Architect, Delphi 2007 Prof., Delphi 2010 Prof., Delphi XE2 Prof., Visual C++ 6.0, LabView 7.1, SPS
BeitragVerfasst: Mo 16.10.06 17:06 
Das Loginproblem hab ich jetzt selber geklärt :)

Aber beim uploaden auf den Server mit "IdFTP1.Put(Datei_Edit.Text,DestinFile,false);"
bekomme ich jetzt folgende Meldung :

EIdProtocolReplyError ""STOR" Command not implemented

Kennt sich da jemand aus ?
Platon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 42

WinXP, Windows 7
Delphi 5 Enterprise, Delphi 2005 Architect, Delphi 2007 Prof., Delphi 2010 Prof., Delphi XE2 Prof., Visual C++ 6.0, LabView 7.1, SPS
BeitragVerfasst: Mi 18.10.06 11:31 
Nun gut...ich wollte nur mal testen wie man mit Indy FTP so zurecht kommt...naja...

Da mein Projekt zwar Dateien hin und her schicken muss und auch erstmal nur im Intranet funktionieren muss, aber nicht alle Funktionen eines FTP's braucht, hab ich mir dann doch ein kleines Testprogrämmchen mit Client- und ServerSocket geschrieben.
Funktioniert wunderbar mit SendStream, SendBuf und ReceiveBuf...