[twsocket] Multiple FTP Clients

2010-04-13 Thread GRAHAM (Deephaven)
I use the ICS FTP client to connect to an FTP server running on Linux.

1:
This server has the ability to run in a simple FTP mode that only uses the
control socket for all transfers. Is there a way I can configure the ICS FTP
Client to operate like this?

2:
In another situation, connecting to the same FTP server, I would like to
have two FTP clients in my application, both logged on to the same server
with the same username and password. Then each FTP client would navigate to
different directories and download files in parallel. The server allows the
login but are there any fundamental reasons why this would not work?

Thanks for any help
Graham

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Multiple FTP Clients

2010-04-13 Thread Francois PIETTE

I use the ICS FTP client to connect to an FTP server running on Linux.

1:
This server has the ability to run in a simple FTP mode that only uses the
control socket for all transfers. Is there a way I can configure the ICS 
FTP

Client to operate like this?


This is not FTP and is not supported by the FTP component. But of course 
there is no problem if you want to support this special protocol using 
TWSocket.




2:
In another situation, connecting to the same FTP server, I would like to
have two FTP clients in my application, both logged on to the same server
with the same username and password. Then each FTP client would navigate 
to
different directories and download files in parallel. The server allows 
the

login but are there any fundamental reasons why this would not work?


No problem, just use several FTP client component either dropped on your 
form or created dynamically and operate them using the asynchronous 
functions (GetAsync and the likes). You'll be able to support any number of 
concurrent FTP session to the same server or to different servers. You are 
only limited by the resources your computer has and the resource the servers 
have.


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Multiple FTP Clients

2010-04-13 Thread Lester
1. I've never heard of the FTP protocol allowing this, perhaps it's 
Trivial FTP?  Don't know if ICS supports TFTP


2. Sure you can do this, just create two client controls at design time 
or dynamically on demand at run time.


Lester

On 13/04/2010 15:52, GRAHAM (Deephaven) wrote:

I use the ICS FTP client to connect to an FTP server running on Linux.

1:
This server has the ability to run in a simple FTP mode that only uses the
control socket for all transfers. Is there a way I can configure the ICS FTP
Client to operate like this?

2:
In another situation, connecting to the same FTP server, I would like to
have two FTP clients in my application, both logged on to the same server
with the same username and password. Then each FTP client would navigate to
different directories and download files in parallel. The server allows the
login but are there any fundamental reasons why this would not work?

Thanks for any help
Graham

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

   


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Multiple FTP Clients

2010-04-13 Thread DZ-Jay

Francois PIETTE wrote:
No problem, just use several FTP client component either dropped on your 
form or created dynamically and operate them using the asynchronous 
functions (GetAsync and the likes). You'll be able to support any number 
of concurrent FTP session to the same server or to different servers. 
You are only limited by the resources your computer has and the resource 
the servers have.


I would also add the obvious caveat that your application should 
coordinate which files are being transferred so that the FTP components 
don't collide with each other.


dZ.

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Multiple FTP Clients

2010-04-13 Thread Fastream Technologies
Maybe it is SFTP--FTP over SSH?!

SZ

On Tue, Apr 13, 2010 at 7:54 PM, Angus Robertson - Magenta Systems Ltd 
an...@magsys.co.uk wrote:

   This server has the ability to run in a simple FTP mode that only
   uses the control socket for all transfers.

  1. I've never heard of the FTP protocol allowing this, perhaps it's
  Trivial FTP?  Don't know if ICS supports TFTP

 Trivial FTP uses UDP, it really has nothing in common with FTP using TCP.


 Normal FTP will run with the control socket only provided you don't
 attempt any data transfers or directory listings, except those special
 ones that only use the control socket.

 Angus


 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Multiple FTP Clients

2010-04-13 Thread DZ-Jay

Fastream Technologies wrote:

Maybe it is SFTP--FTP over SSH?!




Perhaps, but it is still not FTP and not supported by ICS.

dZ.

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Multiple FTP Clients

2010-04-13 Thread Matt Minnis
1.  Is there a reason you want/need to do this?  If not, don't
complicate your life. 
2.  Others have responded sufficiently to this. 

Thanks,
Matt 

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of GRAHAM (Deephaven)
Sent: Tuesday, April 13, 2010 09:53
To: 'ICS support mailing'
Subject: [twsocket] Multiple FTP Clients

I use the ICS FTP client to connect to an FTP server running on Linux.

1:
This server has the ability to run in a simple FTP mode that only uses the
control socket for all transfers. Is there a way I can configure the ICS FTP
Client to operate like this?

2:
In another situation, connecting to the same FTP server, I would like to
have two FTP clients in my application, both logged on to the same server
with the same username and password. Then each FTP client would navigate to
different directories and download files in parallel. The server allows the
login but are there any fundamental reasons why this would not work?

Thanks for any help
Graham

--
To unsubscribe or change your settings for TWSocket mailing list please goto
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Multiple FTP Clients

2010-04-13 Thread Fastream Technologies
I recall asking for support of this on server side long time ago but have
lost interest since then.

SZ

On Tue, Apr 13, 2010 at 8:13 PM, DZ-Jay d...@caribe.net wrote:

 Fastream Technologies wrote:

 Maybe it is SFTP--FTP over SSH?!



 Perhaps, but it is still not FTP and not supported by ICS.

dZ.


 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] StatusCode of 0, ReasonPhrase = 'OK

2010-04-13 Thread robertoschler
I read about others having this same problem during a web search.  I'm getting 
this problem too.  I'm using THttpCli1 in a tight loop on an external thread to 
send commands to a robot accepting commands as an HTTP server.  I set 
THttpCli's Multithreaded property to TRUE.  But I'm getting tons of errors from 
the Post operation due to the StatusCode coming back as 0 with the the 
ReasonPhrase = 'OK'.  Other times the call works properly returning a 200 
StatusCode.  The returned document is empty when the StatusCode is 0, otherwise 
it returns the correct response document.

http://www.mail-archive.com/twsocket@elists.org/msg12385.html

Did anyone ever get any more information on what causes this and how to solve 
this?  The call sent, as far as URL, Post data, etc. is identical each pass and 
the call happens about every 100 milliseconds.  I recognize that it may be the 
robot/server actually returning that error code, however this doesn't happen 
when I run the code on the main VCL thread with Multithreaded set to FALSE.

Thanks,
Robert


  
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be