Hi, In message <_A3480@delegate-en.ML_> on 09/04/06(17:39:21) you "Gsandtner Michael" <psagqbdyi.ml@delegate.org> wrote: |Since there is no answer on my question 3472, I try it again. May be the subject was confusing. |If I connect via ftp to delegate, ftp client says: "421 Service not available, remote server has closed connection". |Log of delegate below. | |The http/sftp Gateway works fine. ... |[root@lxentw1 wftp]# ./linux-dg -P9021 SERVER=ftp MOUNT="/* sftp://wulkan.host.magwien.gv.at/*" ADMIN=gsa@..at -f -v What kind of FTP client are you using? It might be issueing something special command which causes the disconnection. You can see the sequence of commands and responses in the LOGFILE as the enclosed example, with "-vd" option. Cheers, Yutaka -- 9 9 Yutaka Sato <pfqcabdyi.ml@delegate.org> http://delegate.org/y.sato/ ( ~ ) National Institute of Advanced Industrial Science and Technology _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan Do the more with the less -- B. Fuller 09/06 11:57:08.45 [28457] 1+0/1: CLIENT-SAYS: USER username^M 09/06 11:57:09.00 [28457] 1+0/2: CLIENT-SAYS: PASS ******** 09/06 11:57:09.00 [28457] 1+0/2: CWD //[username:****]@:22 09/06 11:57:09.00 [28457] 1+0/2: PERMITTED: ftp://localhost 09/06 11:57:09.00 [28457] 1+0/2: FTP LOGIN FROM localhost TO username@localhost 09/06 11:57:09.00 [28457] 1+0/2: -SFTPGW:change_server REAL_PROTO=sftp <-FS 09/06 11:57:09.00 [28457] 1+0/2: PATH: ftp://localhost:22!localhost:9999!localhost:55599!anonymous@localhost;1157511426 09/06 11:57:10.01 [28457] 1+0/2: FTP server ftp://localhost:22/ 09/06 11:57:10.01 [28457] 1+0/2: FTPHOPS: 1 [10/51 - -1/-1] 09/06 11:57:10.02 [28457] 1+0/2: dirfopen(/Users/username/dg/tmp/act/servers/cc/sftp-username-localhost-22-0,r+): 0 [-1] 09/06 11:57:10.03 [28457] 1+0/2: ---- CC connect got -1 09/06 11:57:10.03 [28457] 1+0/2: -SFTPGW:connect_serv REAL_PROTO=sftp ->FS 09/06 11:57:10.03 [28458] 1+0/2: -- Fork(SftpGW): 28457 -> 28458 09/06 11:57:10.03 [28457] 1+0/2: FTP-SERVER-SAYS: 220 SFTP/FTP gateway ready.^M 09/06 11:57:10.03 [28457] 1+0/2: willSTLS_SV: ServerFlags=10 09/06 11:57:10.03 [28457] 1+0/2: proxyLogin(username,####PASSWORD####,,) 09/06 11:57:10.03 [28457] 1+0/2: I-SAY: USER username^M 09/06 11:57:10.04 [28457] 1+0/2: FTP-SERVER-SAYS: 331 Send password or passphrase for 'username'^M 09/06 11:57:10.04 [28457] 1+0/2: I-SAY: PASS ******** 09/06 11:57:11.23 [28457] 1+0/2: FTP-SERVER-SAYS: 230 Ok^M 09/06 11:57:11.25 [28457] 1+0/2: FTP-SERVER-SAYS: 257 "/Users/username"^M 09/06 11:57:11.25 [28457] 1+0/2: LoginPWD: "/Users/username" 09/06 11:57:11.25 [28457] 1+0/2: service_ftp: start PollIns=[21,14] 09/06 11:57:11.26 [28457] 1+0/3: #### SYST^M 09/06 11:57:11.26 [28457] 1+0/3/1: I-SAY: SYST^M 09/06 11:57:11.26 [28457] 1+0/3/1: FTP-SERVER-SAYS: 502 No not supported^M 09/06 11:57:11.26 [28457] 1+0/3/1: service_ftp: start PollIns=[21,14] 09/06 11:57:11.26 [28457] 1+0/4/1: #### FEAT^M 09/06 11:57:11.26 [28457] 1+0/4/2: I-SAY: FEAT^M 09/06 11:57:11.26 [28457] 1+0/4/2: FTP-SERVER-SAYS: 502 No not supported^M 09/06 11:57:11.26 [28457] 1+0/4/2: service_ftp: start PollIns=[21,14] 09/06 11:57:11.27 [28457] 1+0/5/2: #### PWD^M 09/06 11:57:11.27 [28457] 1+0/5/3: I-SAY: PWD^M 09/06 11:57:11.28 [28457] 1+0/5/3: FTP-SERVER-SAYS: 257 "/Users/username"^M 09/06 11:57:11.28 [28457] 1+0/5/3: service_ftp: start PollIns=[21,14] 09/06 11:57:12.42 [28457] 1+0/6/3: #### EPSV^M 09/06 11:57:12.42 [28457] 1+0/6/4: FTP-control-remote: 127.0.0.1:9999 [51] 09/06 11:57:12.42 [28457] 1+0/6/4: ##NOT ViaSocks-B## 127.0.0.1:0 09/06 11:57:12.42 [28457] 1+0/6/4: listen(20,1) OK. 09/06 11:57:12.42 [28457] 1+0/6/4: FTP-data-local[20]: 127.0.0.1:55612 09/06 11:57:12.42 [28457] 1+0/6/4: I-SAY: PASV^M 09/06 11:57:12.42 [28458] 1+0/2: server_open(SftpGW,*:0,listen=1) 09/06 11:57:12.42 [28458] 1+0/2: listen(21,1) OK. 09/06 11:57:12.42 [28458] 1+0/2: server_open(SftpGW,*:0) BOUND 09/06 11:57:12.42 [28457] 1+0/6/4: FTP-SERVER-SAYS: 227 Enterning Passive Mode (0,0,0,0,217,61)^M 09/06 11:57:12.42 [28457] 1+0/6/4: ##NOT ViaSocks-B## 0.0.0.0:55613 09/06 11:57:12.43 [28457] 1+0/6/4: ftp_conndata: connected 127.0.0.1:55614->localhost/0.0.0.0:55613 [22](0.0) 09/06 11:57:12.43 [28457] 1+0/6/4: KeepAlive[22] = 8 09/06 11:57:12.43 [28457] 1+0/6/4: -- with PASV 09/06 11:57:12.43 [28457] 1+0/6/4: PASV [B][|||55612|] >> 229 Entering Extended Passive Mode (|||55612|)^M 09/06 11:57:12.43 [28457] 1+0/6/4: service_ftp: start PollIns=[21,14] 09/06 11:57:12.43 [28457] 1+0/7/4: #### LIST^M 09/06 11:57:12.43 [28457] 1+0/7/5: *** / MOUNTED TO[5] sftp://me/ *** 09/06 11:57:12.43 [28457] 1+0/7/5: *** / => sftp://me/ *** 09/06 11:57:12.43 [28457] 1+0/7/5: mount_ftparg(LIST)#A# []->[sftp://me/] 09/06 11:57:12.43 [28457] 1+0/7/5: MOUNTED REMOTE [anonymous@me:22] LIST . 09/06 11:57:12.43 [28457] 1+0/7/5: SFTPGW:SWSERV disabled 09/06 11:57:12.43 [28457] 1+0/7/5: *** / MOUNTED TO[5] sftp://me/ *** 09/06 11:57:12.43 [28457] 1+0/7/5: *** / => sftp://me/ *** ...