Article delegate-en/1437 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Ftp server, "220 line command" and buildin -sed filter
26 Nov 2001 21:46:08 GMT Damien <ptucqbdyi-tqqtzd45azfr.ml@ml.delegate.org>
Cryptologie Dot Com



  Hello !

  I try to build a ftp server like this :

  delegate -P21 SERVER="ftp://test:test@test.."

  But when client connect to my server, they see comment about the
  connection with the server test.com like this :

Connected to myserver Port 21
220-- OPEN for test@test..
220- Test SERVER
331- Password required for test.
230- User Test logged in.
220--  @ @  
220  \( - )/ -- { connected to `test.com' }
USER anonymous
230 Already logged in.
SYST
215 UNIX Type: L8
REST 100
350 REST supported. Ready to resume at byte offset 100.
REST 0
350 REST supported. Ready to resume at byte offset 0.
CWD /
250 CWD command successful. "/" is current directory.
PWD
257 "/" is current directory.
List (cached)
List Complete.

  So the client of my server see that they are connected to server
  test.com with username test. I don't want that they can see this
  information. How can I do this ?

  I think to delete all line beginning by a "220".

  I try to define a filter like : FTOCL="-sed-s:220*/220" to delete
  line beginning by command 220, but the server seems to block with
  the buildin -sed command. (I don't find any documentation about the
  buildin -sed in the manual)

  Is there another soltuion ?

  How can I use the buildin "-sed" command ?

  Thanks for your answer :)
  

-- 
ptucqbdyi-tqqtzd45azfr.ml@ml.delegate.org
PGP FingerPrint 4252 4FE6 F29B E385 291D  99F3 FC0D 2058 CBB8 4573




  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V