Hi, In message <_A3488@delegate-en.ML_> on 09/07/06(17:14:30) you "Gsandtner Michael" <psagqbdyi-mykgh4564btw.ml@delegate.org> wrote: |> Then seeing the difference between the logs for SFTP/HTTP and SFTP/FTP |> (with -dG) will help us to understand why it succeeds in SFTP/HTTP and |> fails in SFTP/FTP. | |I realize different host key fingerprints in the two dumps. In the http |version it is the correct one from the sftp server. | |Here the failed ftp/sftp: ... |09/06 17:22:05.30 [10985] 1+0: *** / MOUNTED TO[5] sftp://wulkan.host.magwien.gv.at/ *** |09/06 17:22:05.31 [10985] 1+0: *** / => sftp://wulkan.host.magwien.gv.at/ *** |09/06 17:22:05.31 [10985] 1+0: MOUNTED-TO: //wulkan.host.magwien.gv.at/ |09/06 17:22:05.31 [10985] 1+0: -SFTPGW:CWD set FS->fs_proto=sftp ... |09/06 17:22:12.40 [10985] 1+0/4: FTP LOGIN FROM etna.host.magwien.gv.at TO root@localhost ... |09/06 17:22:12.41 [10985] 1+0/4: FTP server ftp://localhost:22/ ... |09/06 17:22:12.42 [10985] 1+0/4: ---- SFTPCC MISS root@localhost:22 ... |09/06 17:22:12.42 [10996] 1+0/4: --SFTP: sftp -oPort=22 root@localhost I found the problem. FTP-DeleGate is connecting to "sftp://localhost" regardless of the real SFTP server specified in the MOUNT parameter. The enclosed patch is a workaround to make FTP-DeleGate realize the real server. It'll be cared in the next release. Thank you. Cheers, Yutaka -- 9 9 Yutaka Sato <pfqcabdyi-mykgh4564btw.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 *** ../arc/delegate9.2.4/src/ftp.c Thu Aug 17 20:11:54 2006 --- src/ftp.c Thu Sep 7 18:58:15 2006 *************** *** 2143,2148 **** --- 2143,2149 ---- sv1log("MOUNTED-TO: %s\n",arg); if( streq(uproto,"sftp") ){ strcpy(FS->fs_proto,"sftp"); + Xsscanf(mdir,"sftp://%[^/]",AVStr(FS->fs_host)); sv1log("-SFTPGW:CWD set FS->fs_proto=sftp\n"); }else{ /* fs_proto might have to be cleared */ *************** *** 2722,2727 **** --- 2723,2730 ---- if( cserv[0] ){ */ if( cserv[0] || strcaseeq(FS->fs_proto,"sftp") ){ + if( cserv[0] == 0 ) + strcpy(cserv,FS->fs_host); change_server(Conn,FS,fc,tc,com,cserv,cuser,cpass,FS->fs_TYPE); cserv[0] = 0; return;