On 16-Aug-05 16:30:00 Angus Robertson - Magenta Systems Ltd wrote:
>> 1. Your choice. You have now the opportunity to be sure the new
>> version doesn't break existing code, specially yours.
>No, it's the job of the person introducing the changes to make sure the
>component is backward compatibl
On 16-Aug-05 14:21:00 Angus Robertson - Magenta Systems Ltd wrote:
>> If you don't understand what we are talking about, please ask some
>> questions to clarify. There are no stupid question, only people afraid
>> to ask.
>I've not taken much notice of this because:
>1 - the authentication chang
On 15-Aug-05 10:52:10 Francois PIETTE wrote:
[...]
>>>b.1) There is already a property "Options" which is a set of properties.
>>>It
>>>is better to extent this set.
>>
>> First, I mention record but I mean object.
>> Usually I don't use anymore a set for a property mainly for two
>> reasons. The
Merijn:
Thanks for your suggestions. I will investigate further. What's SOAP?
Regards:
Scott Hendry #;#)
>If you can compile C++, you could check if you can use something out
>of the ptypes library. Since you only need communication and not all
>the overhead...
>
>How about setting up th
Francois:
Thank you for your very prompt reply to my query. My problem is not with
delphi, but I cannot even unpack the .zip file as files in the DotNet
directory have long filenames and filenames with multiple extensions. Trying
to unzip and setup the directory structures causes multiple error
- Original Message -
From: "Tom York" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Tuesday, August 16, 2005 3:48 PM
Subject: Re: [twsocket] Httpserver and threads
>I do not want multithreading. I assume that each connection is a thread,
> no? The images are broken, partially di
Thank you Wilfried, I am going to play a bit more. If I am unable to figure
it out, then I think I will ask for more help.
Tom
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Tuesday, August 16, 2005 1:55 PM
Subject: Re: [twsocket] Ht
Hello Angus,
> No, it's the job of the person introducing the changes to make sure the
> component is backward compatible, and if not, document VERY CLEARLY at
> the top of the code any implications of the changes, not just in this
> mailing list. And to clearly mark and date and changes.
Agree
Hello Tom,
To try to debug you can make the document as short as possilbe (only
some minimum of text and only 1 small image). Also you can try to make
the connection trough SocketSpy, then you can see the data sent by the
server and eventually make diagnositics out of it. If you dont get wise
on i
Hello Tom,
> I do not want multithreading. I assume that each connection is a thread,
> no?
No it is not. ICS components are running in the thread they are created
in, also the sockets. This is because non blocking is used.
---
Rgds, Wilfried
http://www.mestdagh.biz
--
To unsubscribe or ch
The first thing to verify is that it works using WebServ sample program
provided with ICS. If it works, then the problem is in your code. If the
sample doesn't work, then you somewhat corrupted your ICS installation or
has something strange on your system that triggers a bug no one else found.
>I can use Windows explorer and look at every image just fine.
I mean the small images you create on the fly, not the original images.
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "Tom York" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Tuesday, August
I should also add that if I hit refresh, I get very odd results. Sometimes
I will get an image, text (jpeg image as text) or a blank page. Is this a
socket connection problem (i.e. reuse of socket)? Francois, keep in mind I
am by no means an expert to socket communication.
Thanks,
Tom
-
I can use Windows explorer and look at every image just fine.
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Tuesday, August 16, 2005 11:06 AM
Subject: Re: [twsocket] Httpserver and threads
>> Does my code look okay?
>
> At first glance
> Does my code look okay?
At first glance, yes. I haven't checked the jpeg stuff. You should save the
jpeg data into a file, just to check it is displayed ok. Maybe the garbage
you see is not in the sending but simply in the data !
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original M
>> 1. Your choice. You have now the opportunity to be sure the new
>> version doesn't break existing code, specially yours.
> No, it's the job of the person introducing the changes to make sure the
> component is backward compatible, and if not, document VERY CLEARLY at
> the top of the code any
> 1. Your choice. You have now the opportunity to be sure the new
> version doesn't break existing code, specially yours.
No, it's the job of the person introducing the changes to make sure the
component is backward compatible, and if not, document VERY CLEARLY at
the top of the code any impli
I just downloaded and installed the latest, which I was using to start with.
It still draws garbage, image as text, etc. Does my code look okay?
Thanks for your assistance, Francois.
- Original Message -
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Tuesd
> I do not want multithreading.
> I assume that each connection is a thread, no?
No ! ICS is asynchronous and event driven. It doesn't block when a user is
being serviced.
> The images are broken, partially displayed, the image is displayed as
> text characters.
Are you using the latest I
I do not want multithreading. I assume that each connection is a thread,
no? The images are broken, partially displayed, the image is displayed as
text characters.
Maybe this will help, here is my code so far:
procedure TForm1.HttpServer1GetDocument(Sender, Client: TObject;
var Flags: THttp
First make this work single threaded, starting with ICS sample program WebServ.
Your image URL must match a dynamic URL intercepted by the server so that
processing can be done.
Multithreading is probably not needed and can be added later when eveything
else works OK.
--
[EMAIL PROTECTED]
http:
1. Your choice. You have now the opportunity to be sure the new version doesn't
break existing code,
specially yours.
2. Nevertheless it is good to have it supported by the component in an
extensible way. We are not
only talking about gzip but any compression scheme.
3. It has already been said t
I am making a small server to display a page of images. In the getdocument
method, I call a procedure passing all of the flags to my procedure
"ShowThumb(Sender, Client, Flags)". What is happening is that the images
are being displayed on the page, but they are coming out as garbage
character
> > Can you elaborate about what the application has to do ?
> backup a file server.
> > What are the requirements ?
> - large file support. (int64)
> - single port use (because on ftp, the control connection crashes sometimes
> after a couple of houres (noop problem))
> - pure delphi (vcl)
> - aut
> If you don't understand what we are talking about, please ask some
> questions to clarify. There are no stupid question, only people afraid
> to ask.
I've not taken much notice of this because:
1 - the authentication change to HttpCli broke one of my applications
and it cost a lot of money t
>> i have a general question about filetransfer.
>> i want to transfer large files >4gb.
>> i just need a upload and i need authetification and a crc-check would be
>> nice.
>>
>> ftp looks like the right protocol. but i have a lot of trouble with this
>> large files on ftp.
>> is there a other p
> i have a general question about filetransfer.
> i want to transfer large files >4gb.
> i just need a upload and i need authetification and a crc-check would be
> nice.
>
> ftp looks like the right protocol. but i have a lot of trouble with this
> large files on ftp.
> is there a other protocol
Arno Garrels wrote:
> I think FTP is the right protocol, however ICS does support such
> big files without changes.
Oops, does _not_ support such big files without changes.
> Roland Frei wrote:
>> hello everyone.
>> i have a general question about filetransfer.
>> i want to transfer large files
Roland Frei wrote:
> hello everyone.
> i have a general question about filetransfer.
> i want to transfer large files >4gb.
> i just need a upload and i need authetification and a crc-check would be
> nice.
>
> ftp looks like the right protocol. but i have a lot of trouble with this
> large files
hello everyone.
i have a general question about filetransfer.
i want to transfer large files >4gb.
i just need a upload and i need authetification and a crc-check would be
nice.
ftp looks like the right protocol. but i have a lot of trouble with this
large files on ftp.
is there a other protocol
> But from FTP server I get:
> 16.08.2005 10:36:17 - Executing requested command...
> > chmod 644 test.txt
> < 500 'CHMOD': command not understood.
It means exactly what it says, the FTP server does not support a CHMOD
command.
There is no standard FTP command to set file attributes, you'll ne
Hello!
I want to set file attributes on FTP server and use such commands:
FtpClient.HostDirName := '/my_dir/';
ExecuteCmd(FtpClient.Cwd, FtpClient.CwdAsync);
FtpClient.HostFileName := 'test.txt';
FtpClient.LocalFileName := 'chmod 644 test.txt';
ExecuteCmd(FtpClient.Quote, FtpClient.QuoteAsync);
>NBuffer:= NBuffer + NSocket.ReceiveStr;
It is better to avoid ReceiveStr for performance reason.
ReceiveStr use long strings which are slow and conduce to memory fragmentation.
You'd better declare NBuffer as a PChar and use ReallocMem to allocate larger
buffer when needed. It
is better to e
33 matches
Mail list logo