Re: 501 error on connecting to FTP server.

Giganews Newsgroups
Subject: Re: 501 error on connecting to FTP server.
Posted by:  David Goadby (dav…@dgoadby.demon.co.uk)
Date: Tue, 10 Aug 2004

Hi Marcel,

Are you changing directory using something like FTP1.ChangeDir(Directory) ?

I ran into you problem yesterday (V9) with one of my test FTP servers. IIRC
it was Windows 2003 but I will verify it if it is important. I have a
generic FTP connect which is used for many sites. For sites where the
directory is not changed I use Directory := '.' instead of '' and this seems
to work on all my test cases. The books says '' should work but the '.'
workaround works for me.

Regards

David

Replies

In response to

501 error on connecting to FTP server. posted by Marcel Horsthuis on Mon, 9 Aug 2004