Board index » delphi » TidFTP CWD not defined
Maria
![]() Delphi Developer |
Maria
![]() Delphi Developer |
TidFTP CWD not defined2005-10-29 10:31:01 AM delphi22 Hello, I am building an automatic FTP Client using Delphi7. Testing all is working fine from my machine. On another machine a changedir is returning "CWD not defined". Does anyone know why this error is being displayed and is there a solution to get the changedir working? Thanks for all your help. Maria XXXX@XXXXX.COM |
Remy Lebeau (TeamB)
![]() Delphi Developer |
2005-10-31 04:51:08 PM
Re:TidFTP CWD not defined
"Maria" <XXXX@XXXXX.COM>writes
QuoteI am building an automatic FTP Client using Delphi7. Testing all is platform-dependant, but Indy is a platform-independant library. Platform-dependant operations have to be handled by the application's own code. In the case of TIdFTPServer specifically, if you don't want to write your own directory processing code, then try assigning the server's FileSystem property to one of Indy's FileSystem components. Gambit |
Maria
![]() Delphi Developer |
2005-11-01 01:47:16 PM
Re:TidFTP CWD not defined
Gambit
Thanks for your reply. I am connecting to a power system relay device that supports the FTP protocol. I don't think it is an TIdFTPServer. My application connects to the FTP server just fine. When it tries to change to the following directory: /user/ftp/tesla/record it gets the error "CWD not defined". The fun thing is if I use an interface application and change to each directory separately it works fine. I was thinking to use the changedir for each directory defined, such as changedir(/user), then changedir(/ftp), then changedir(/tesla) and finally changedir(/record). Have you ever encountered an problems like this. The problem is my application is a stand alone app, when a messagebox comes up it locks up the whole system indefinitely. Thanks for all your help. Maria "Remy Lebeau (TeamB)" <XXXX@XXXXX.COM>writes Quote
|
Remy Lebeau (TeamB)
![]() Delphi Developer |
2005-11-01 03:36:41 PM
Re:TidFTP CWD not defined
"Maria" <XXXX@XXXXX.COM>writes
QuoteI am connecting to a power system relay device that supports QuoteMy application connects to the FTP server just fine. When it tries to error at all. EIdProtocolReplyError means that the error that is being sent by the FTP server, in which case the server is telling your client that it does not implement the CWD command at all. QuoteThe problem is my application is a stand alone app, when a messagebox Gambit |