> I vote for Binary as the default mode.
Unfortunately, the standard says text mode has to be the default.
--
francois.pie...@overbyte.be
Embarcadero MVP
http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mail
Graham Powell wrote:
> Just spotted that with Wireshark. Although Binary mode is set at
> design time I remember now that I have to set "TypeBinaryAsync" after
> the connection is made.
Yep, I and many others had to learn this lesson as well.
I vote for Binary as the default mode.
--
Arno
-
no Garrels
Sent: 14 November 2012 16:05
To: ICS support mailing
Subject: Re: [twsocket] ICS FTP Client Strange Effect
Graham Powell wrote:
> I have an odd effect that I'm sure one of you clever guys will provide
> an answer to.
>
> I am using the FTP client to put a file
Graham Powell wrote:
> I have an odd effect that I'm sure one of you clever guys will
> provide an answer to.
>
> I am using the FTP client to put a file on the a web site. The file
> format is of my own making and have no trouble reading and writing to
> files to/from the hard drive.
> Apart from
I have an odd effect that I'm sure one of you clever guys will provide an
answer to.
I am using the FTP client to put a file on the a web site. The file format
is of my own making and have no trouble reading and writing to files to/from
the hard drive.
Apart from the first 4 bytes in the file, the
17:41
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client - Next question
> I have found that if I call TypeBinaryAsync first and then in the
> Request event (ftpTypeSetAsync) I now call GetAsync
You only need to set type once, and if you are using Async events then
OnRequestD
> I have found that if I call TypeBinaryAsync first
> and then in the Request event (ftpTypeSetAsync) I now call GetAsync
You only need to set type once, and if you are using Async events then
OnRequestDone is where you check your state mechanism for the next
command. Personally, I mostly use th
-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 17 July 2012 15:46
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client - Next question
> The problem is that for every carri
> The problem is that for every carriage return I get an additional
> non-Unicode carriage return.
> The ICS FTP Client component has the "Binary" property set TRUE.
But are you calling the TypeBinary or TypeSet methods that actually send
the TYPE command?
Angus
--
To unsubscribe or change you
So now I have another issue which I'm sure someone will know the answer to.
I am copying Unicode files from my FTP server to a local directory. The
problem is that for every carriage return I get an additional non-Unicode
carriage return. So for a CR LF where I should receive 0D 00 0A 00, I get 0D
Thank you. You have been very helpful.
Graham
-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 16 July 2012 17:38
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client
> I had
> I had not cleared the "HostFilename" parameter. So the DirAsync still
> had this as a parameter.
This is deliberate, the FTP command 'LIST directory' is valid, but not
totally reliable with all FTP servers, it can save a lot of path commands.
'LIST filename' is also how to check if a specific f
still had this
as a parameter.
Thanks for all your input.
Graham
-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 16 July 2012 15:46
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP C
>> I know there are files in the sub folder as I can see them
>> with Windows Explorer.
>
> Which does not have any FTP functionality, so is this a local FTP server?
You can browse FTP servers with Windows Explorer, you just need to
type the address in the address bar.
Ex.: ftp://usern...@ftpserver
> I may well end up using your components, but in the meantime I need
> to determine what my problem is here.
The component includes an EXE demo, use that against the FTP server and
the same root directory specifying get subdirs, and watch the FTP
commands and responses the component uses to pars
double dot folders.
Any more clues?
Graham
-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 16 July 2012 14:26
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client
> Now I change
> Now I change the working directory to Test1/abc. I check with
> Now I change the working directory to Test1/abc. PwdAsync that
> it is correct and it responds with what I could expect.
> Next I try and do a directory listing on this folder. The response
> indicates no error, but the stream is o
I'm sure this problem is simple to solve but I am tearing my hair out trying
to solve it.
Imagine I have an FTP site that contains a folder called "Test1". In this
folder I have a file called "abc.dat" and another folder just called "abc".
So I log on to the FTP site and change the directory (Cwd
ngus Robertson - Magenta Systems Ltd
Sent: 22 October 2010 16:47
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client
> Apart from the first command, under normal circumstances all commands
> loaded to the FTP client are as a result of a previous FTP client
> event being generated. Occa
> Apart from the first command, under normal circumstances all
> commands loaded to the FTP client are as a result of a previous FTP
> client event being generated. Occasionally I am detecting a "FTP
> Component Not Ready" error.
>
> So the question is: Is there an FTP or some sort of network
>
Apart from the first command, under normal circumstances all commands
loaded
to the FTP client are as a result of a previous FTP client event being
generated. Occasionally I am detecting a "FTP Component Not Ready" error.
So the question is: Is there an FTP or some sort of network condition that
Apart from the first command, under normal circumstances all commands loaded
to the FTP client are as a result of a previous FTP client event being
generated. Occasionally I am detecting a "FTP Component Not Ready" error.
So the question is: Is there an FTP or some sort of network condition that
c
problem I have is that while this file download is active I am also trying
to write data to a USB device. There is a certain amout of buffering
available but large amounts of network activity prevent the application
from servicing the USB port. Is there any way to reduce the overall
priority of
This is the issue I now have:
The FTP client is connected to a server and is downloading files as fast as
it can. As discussed in previous e-mails there is an approx 200mS network
delay between file downloads, probably due to the opening and closing of the
data socket and I don't really want t
Ian Thompson wrote:
> Hi.
>
> Just started using the ICS stuff and I can’t figure out where the
> returned file list is put or access when I issue a LIST of LS
> command. Checked the source header and FAQ first, but (unless I
> missed it) I can't see anything on the subject other than "the list
>
Hi.
Just started using the ICS stuff and I can’t figure out where the returned
file list is put or access when I issue a LIST of LS command. Checked the
source header and FAQ first, but (unless I missed it) I can't see anything
on the subject other than "the list is placed in a local file". Where
26 matches
Mail list logo