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
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 need to
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
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 on ftp.
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 that
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 that can
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 to
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)
-
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
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
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]
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:
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 ICS
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
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
I can use Windows explorer and look at every image just fine.
- Original Message -
From: Francois PIETTE [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Tuesday, August 16, 2005 11:06 AM
Subject: Re: [twsocket] Httpserver and threads
Does my code look okay?
At
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.
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 twsocket@elists.org
Sent:
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.
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
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
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 twsocket@elists.org
Sent: Tuesday, August 16, 2005 1:55 PM
Subject: Re:
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
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 first is that set
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 change to
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 compatible,
26 matches
Mail list logo