FTP DELE command

Giganews Newsgroups
Subject: FTP DELE command
Posted by:  Pascal (coene…@gmaildotcom)
Date: Thu, 9 Dec 2010

Using Delphi 2010 and Indy 10.5.8

Having a problem with a certain FTP server. Here is my question

# DELE [remote-file] - Delete the remote-file on the remote machine.

Examples:
    ftp> delete test.doc
    ftp> delete /tmp/temporary_file.txt

Are both allowed meaning can I use the IdFtp delete procedure using
only the filename and/or using path incl filename. In the FTP RFC they
talk about pathname but don't really mention what is allowed (I think).

Regards,
Pascal

--

Replies