Re: TidFtpServer OnCrcFile problem

Giganews Newsgroups
Subject: Re: TidFtpServer OnCrcFile problem
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Thu, 11 Dec 2008

"Pascal" <pcoenen@telenetdotbe> wrote in message
news:F4C0B3B5116EE340pcoenen@telenetdotbe...

> I'm having a problem with the IdFtpServer OnCrcFile event. If
> the filename contains spaces (example: My Test File.txt) then
> the AFileName const of the OnCrcFile result as My.

Filenames with spaces in them must be wrapped in quotation marks, ie:

    XCRC "My Test File.txt" [StartPos] [EndPos]

--
Remy Lebeau (TeamB)

Replies

In response to

TidFtpServer OnCrcFile problem posted by Pascal on Wed, 10 Dec 2008