Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

File Upload Components

0 views
Skip to first unread message

Chris L

unread,
Sep 17, 2001, 5:18:47 PM9/17/01
to
I'm looking to build a central server app that will listen on a given port
for file uploads. When it receives one it may accept or reject it based on
login details it is passed. I've found good examples using TCP/IP and have
them working but I need something more structured than most of the demos I
find.

In the most part they just send a file, it's accepted and that is that.
Ideally I'd like components where Iestablish an initial string (with my
login details perhaps), tell it the server address and set up a larger
object (the file) and initiate it. The server would accept the connect and
validate the header, if all is well it would continue and, once it confirms
all has been received confirmation would be sent to the sender.

If the header is deemed acceptable then the server would junk the whole
thing.

Does anyone know of something like this?

I guess it would go something like this...

Sender.ServerIP := '10.10.10.1';
Sender.ServerPort := '1001';
Sender.Header := 'myuser/mypassword';
Sender.Blob := ReadFile(myfile);
SendResult := Sender.SendIt;

If SendResult := True Then ShowMessage('Happy happy')
Else ShowMessage('Doh!');


I know... not great syntax... but basically it covers what I'm after... any
suggestions?

Chris.

Ernst Gerlach

unread,
Sep 17, 2001, 9:50:05 PM9/17/01
to
If interested, i can mail you the extracted code using Indy comps to send
fax files produced by
a local fax printer driver, sends to my intranet server. fax tranmission
program asks periodically
for new files, fetch them and dials out.

Ernst Gerlach
in...@gerlach-mtl.de


"Chris L" <ukc...@hotmail.com> schrieb im Newsbeitrag
news:3ba667b4_1@dnews...

Chris L

unread,
Sep 17, 2001, 6:00:36 PM9/17/01
to
That would be great Ernst, I'll email you directly.

Chris.

"Ernst Gerlach" <ernst....@epost.de> wrote in message
news:3ba67029_2@dnews...

0 new messages