🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
4 messages
4 total messages Started by Udo Pasternak Fri, 05 May 2006 09:25
Bug in method List of component TNMFTP
#2339
Author: Udo Pasternak
Date: Fri, 05 May 2006 09:25
18 lines
1313 bytes
If you have a space sing ('0x20`) in the filename on the
ftpserverm the method List () doesn't works correct:

I find the first part of the filename in the string of the 

Example: filename "Widder Hotel.doc"
After reading the direcory - OnListItem:
:009D29F8 "-rw-r--r--   1 ftp      ftp         19456 May  5 10:57 Widder Hotel.doc"

Results:
FTPDirectoryList->name->Strings[i]= :009D2A4C "Hotel.doc"

FTPDirectoryList->ModifDate->Strings[i] = :009BC4E0 "5 10:57 Widder"

What can I do?

Udo Pasternak
Re: Bug in method List of component TNMFTP
#2340
Author: Hans Galema
Date: Fri, 05 May 2006 10:48
15 lines
1271 bytes
Udo Pasternak wrote:

> Example: filename "Widder Hotel.doc"

You could have posted actual code for the filename.

Did you put quotes around the filename ?

  AnsiString FileName = "Widder Hotel.doc";

And with quotes:

  AnsiString FileName = "\"Widder Hotel.doc\"";

Hans.
Re: Bug in method List of component TNMFTP
#2341
Author: Remy Lebeau (TeamB)
Date: Fri, 05 May 2006 16:52
14 lines
1382 bytes
"Udo Pasternak" <ssp@ssp-software.de> wrote in message
news:445b1a0f$1@newsgroups.borland.com...

> If you have a space sing ('0x20`) in the filename on the
> ftpserverm the method List () doesn't works correct:

The NetMaster components are notoriously buggy.  I highly recommend NOT
using them at all.  You shold switch to another component, such as the FTP
client in Indy (http://www.indyproject.org) or ICS (http://www.overbyte.be)
instead.


Gambit
Re: Bug in method List of component TNMFTP
#2349
Author: Mark Jacobs
Date: Thu, 11 May 2006 12:54
16 lines
1849 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:445b835e$1@newsgroups.borland.com...
> The NetMaster components are notoriously buggy.  I highly recommend NOT
> using them at all.  You shold switch to another component, such as the FTP
> client in Indy (http://www.indyproject.org) or ICS (http://www.overbyte.be)
> instead.

I'll second that, despite having used them for years, and getting good service 
out of them. Several program changes later, and the thing will crash badly, 
and you'll have no idea why. Use the ICS ones if you are good with 
source/header files, and Indy if you want some hand-holding.
-- 

Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads