Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How send files from a TServerSocket  to a TClientSocket?

Posted on 2003-03-12
Medium Priority
Last Modified: 2010-08-05
Hi!.. How can i send a file from a TServerSocket to a TClientSocket?
Like a simple FTP download, or web download, but with the TSocket components...



Question by:johnlamock
1 Comment

Accepted Solution

Rody earned 150 total points
ID: 8125841
Hi there:

U have to use a buffer, and then
  ServerSocket1.Socket.Sendbuf , or ServerSocket1.Socket.SendStream , something like that. if u still dont have an answer I can send u an example tomorrow. good luck

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question