hi,

i have indy 10 installed on Delphi 7 personal, and am trying to load a simple text file on server using ftp

here's my code

if ftp.Connected then ftp_Kitten.Disconnect;
ftp.Host:='xxx';
ftp.Username:='xxx';
ftp.Password:='xxx';
ftp.Port := 21;
ftp.Connect;
ftp.Put('c:\ida.txt', 'ida.txt', true);
ftp.Disconnect;

and when i run my app, i am getting the following error :

Project1.exe raised exception class EIdRepluRFCError with message "APPE':command unrecognized'.Process stopped. Use step or run to continue

I am beginner in Delphi and after hours of researching the web, i truely don't know how to solve this issue.

Thanks for your help

Recommended Answers

All 2 Replies

I know nothing about APPE. Everything I found online refers to weaves and knits... ???

In any case, it appears to be a server error. Check that the server you are connecting to actually supports APPE. (I know Medusa doesn't.)

If you actually know what half this means, you know more than I.

Hi,
Actually you were right, i used a different host and it worked)

Thanks for helping me out.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.