Hi Everyone,

I'm building an application with a bit of FTP Server functionality. I've 
used the Synapse demo "ftpserv" source code so far. This works great, 
the only thing  for me that's missing is passive ftp support.

When not using the passive mode, the command PORT is used like this:

       if cmd = 'PORT' then
       begin
         Parseremote(par);
         send(sock, '200 OK');
         continue;
       end;

The variable "par" contains the port values to use (I Think). But when 
using passive mode, the client does not give me this data, I think 
because I have to supply this to the client myself. Does anyone know how 
the "PASV" command should be handled?

       if cmd = 'PASV' then
       begin
         .......
         continue;
       end;


Thanks in advance,

Maarten

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to