FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 8th, 2003, 07:16 AM
Arunas Arunas is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 5 Arunas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Indy TrivialFTPServer in Console Application

Hy, has any body programed Console applications On Linux With Kylix?
I have a problem with that... I programmed TFTP server. It works, but not very well. When a client sends request for file, my Server sends a file to the client. Before sending a file, TFTPServer creates thread for transfer and must close it when Transfer is acomplished. but my server never executes OnTransferComplete event. The file is transfered successfully!!! Why? Becauso of that, thread is not closed. More files are transfered - more Threads are queued!!!!
When working with Visual environment (with forms) - everything is alright. But only on Console it don't work correctly!!!
What is wrong? Is it bug in Indy TrivialFTPServer component? Can any body help me, please? It's very important for me...

Any help would be appreciated...

Regards,
Arka

Reply With Quote
  #2  
Old May 9th, 2003, 03:24 AM
Arunas Arunas is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 5 Arunas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Additional info about Problem

Hello, maybe this mail would add additional info about my problem.

Server multithreaded property = True.

I've found that this problem appears because of Application variable (when
working with Forms using Application variable). There is an
Application.ProcessMessages or Application.HandleMessage procedures. When I
use this in my program - it then works fine too. But Application variable
works only when X Server is started (only in graphic linux interface). When
I run my program without graphic interface - it raises and error: Could not connect to X Server.

What can I do to make my program work like real console application -
without graphic interface? Can indy TrivialFTPServer work in console?

Please help me somebody....
Any help would be appreciated,
Arunas

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Indy TrivialFTPServer in Console Application


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway