Hi all,


I wanna take file from a folder in ftp.
I have connected. But when i want to change directory, it throws an exception : 505

Here's the code :
nmFtp.Host := '10.11.12.3';
nmFtp.UserID := 'anonymous';
nmFtp.Password := 'kob3';
nmFtp.Connect;
nmFtp.ChangeDir('/apolo/');

Any Adv?

Recommended Answers

All 3 Replies

can you do exactly that command (eg "cd /apolo/") from a command line ftp program?

can you do exactly that command (eg "cd /apolo/") from a command line ftp program?

No. I think there is no directory in it.
But i can't make a directory either.
---
I want to connect to my computer. But i don't know how to do it.

Any Advice

OK, but you would know if you had run it from the built in command line ftp you get with Windows (bar vista I think) and most other OSs.

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.