Your best friend for file transfer.

Fetch application logoFetch

SFTP to Tectia SSH Server (6 posts)

  • Started 8 years ago by jellings
  • Latest reply 8 years ago from Jim Matthews
  • jellings Member

    Using Fetch 5.0.2 to connect to a Tectia SSH server with SFTP on a Windows server.

    When I connect with Fetch I get the error:

    SFTP connection to HOSTNAME could not be opened because a requested file or folder was not found on the SFTP server.

    If you entered a file name, folder name, or URL, you may want to check its spelling and capitalization.
    Server responded: "syserr: no such file or directory, file: D:ftpfiles"

    I set the home directory to the proper setting, and the server works using [cringe]filezilla[/cringe] so I would appreciate any help anyone could provide.

    Thanks in advance.

    John

    Posted 8 years ago #

  • Jim Matthews Administrator

    Could you follow these steps to gather more information about the problem?

    1) Click Cancel in the New Connection dialog
    2) Enable the Debug menu by typing Command-Option-Control-Shift-d -- the Debug menu should appear in the menu bar between Window and Help
    3) Choose Logging > SFTP Log from the Debug menu
    4) Connect to the SFTP server
    5) After you see the error message, choose "Fetch Transcript" from the Window menu and post the contents.

    Thanks!

    Jim Matthews
    Fetch Softworks

    Posted 8 years ago #

  • jellings Member

    Jim

    Here is a transcript, with some obfuscation; note that the /HOME is configured on the Tectia server and points to the directory D:ftpfiles:

    Fetch 5.0.2 (5A664) running on Mac OS X 10.3.9 (7W98)
    StuffIt Engine 0x800, StuffIt SDK Version StuffIt version 7.0.3 (StuffIt Features Not Available)
    Partial serial FETCHED001-400D-P395 T
    Update check skipped at 07/26/2005 09:02 AM (next check after 08/01/2005 06:37 PM)
    Connecting to user@***.91.183.*** port 22 (7/26/05 9:03:43 AM)
    SSH2_FXP_INIT 3
    SFTP server version: 3
    SSH2_FXP_VERSION extension: newline@vandyke.com
    SSH2_FXP_REALPATH 1, .
    /HOME
    SSH2_FXP_STAT 2, /HOME
    SSH2_FX_NO_SUCH_FILE 2

    Thanks.

    Posted 8 years ago #

  • Jim Matthews Administrator

    I don't understand what the server is doing. Fetch asks it for the current directory, and it says /HOME. Fetch asks for information about /HOME and it says that there is no such file or directory.

    Could you run the Terminal application on your Mac and connect to this server using the command-line sftp program (i.e. type sftp user@xxx.91.183.xxx)? Once connected, could you try typing these commands:

    pwd
    cd .
    pwd
    cd /HOME
    pwd

    and send me the output?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 8 years ago #

  • jellings Member

    Jim

    Thanks for sticking with me on this. It must be the Tectia server acting unusual - below is the transcription as you requested.

    prog28:~ jellings$ sftp user@***.91.183.***
    Connecting to ***.91.183.***...
    This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by properly authorized system personnel. In the course of monitoring individuals improperly using this system, or in the course of system maintenance, the activities of authorized users may also be monitored by properly authorized personnel. Anyone using this system expressly consents to such monitoring and is advised that if such monitoring reveals possible evidence of criminal activity, system personnel may provide the evidence of such monitoring to law enforcement officials.
    user@***.91.183.***'s password:
    sftp> pwd
    Remote working directory: /HOME
    sftp> cd .
    Couldn't stat remote file: No such file or directory
    sftp> pwd
    Remote working directory: /HOME
    sftp> cd /HOME
    Couldn't stat remote file: No such file or directory
    sftp> pwd
    Remote working directory: /HOME
    sftp> dir
    Couldn't stat remote file: No such file or directory
    sftp> ls
    Couldn't stat remote file: No such file or directory
    sftp>

    I also tried connecting to the same machine via a linux box and had success; below is a transcription of that connection.

    [ugh]$ sftp user@***.91.183.***
    Connecting to ***.91.183.***...
    The authenticity of host '***.91.183.*** (***.91.183.***)' can't be established.
    DSA key fingerprint is 69:3d:7b:e3:4d:bf:31:99:b9:59:94:6f:9c:58:14:56.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added '***.91.183.***' (DSA) to the list of known hosts.
    This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by properly authorized system personnel. In the course of monitoring individuals improperly using this system, or in the course of system maintenance, the activities of authorized users may also be monitored by properly authorized personnel. Anyone using this system expressly consents to such monitoring and is advised that if such monitoring reveals possible evidence of criminal activity, system personnel may provide the evidence of such monitoring to law enforcement officials.
    user@***.91.183.***'s password:
    sftp> pwd
    Remote working directory: /HOME
    sftp> dir
    .
    ..
    -rw-rw-rw- 1 0 0 10 May 25 20:04 $$$.dlcnt
    drwxrwxrwx 1 0 0 0 Mar 22 21:03 ARS/
    drwxrwxrwx 1 0 0 0 Apr 20 15:46 BGS/
    -rw-rw-rw- 1 0 0 9604096 Mar 22 22:12 C. Simon 3-17.22-05.ppt
    drwxrwxrwx 1 0 0 0 May 26 18:53 Christa/
    drwxrwxrwx 1 0 0 0 Jul 13 15:28 COURSE_SYLLABI/
    drwxrwxrwx 1 0 0 0 Jun 6 20:12 Debbie/
    -rw-rw-rw- 1 0 0 20487680 Jun 6 20:13 Evaluation and Management of Short Stature stud.ppt
    drwxrwxrwx 1 0 0 0 Mar 22 21:03 FACULTY/
    -rw-rw-rw- 1 0 0 2457600 Mar 27 2:08 futureheads.zip
    drwxrwxrwx 1 0 0 0 Mar 22 20:31 harvey/
    drwxrwxrwx 1 0 0 0 Mar 22 20:31 hyperspace/
    -rw-rw-rw- 1 0 0 169 May 7 2004 index.html
    drwxrwxrwx 1 0 0 0 Mar 22 20:33 joe/
    drwxrwxrwx 1 0 0 0 Mar 23 14:56 john/
    drwxrwxrwx 1 0 0 0 Mar 22 20:31 OptionTech/
    drwxrwxrwx 1 0 0 0 Mar 22 20:12 PowerPointAddIn/
    drwxrwxrwx 1 0 0 0 Mar 22 17:26 Powerpoint_Plugin/
    drwxrwxrwx 1 0 0 0 May 19 12:47 Retreat052505/
    sftp> pwd
    Remote working directory: /HOME
    sftp> cd .
    Couldn't stat remote file: No such file or directory
    sftp> pwd
    Remote working directory: /HOME

    Any thoughts on this would be most appreciated.

    Posted 8 years ago #

  • Jim Matthews Administrator

    I can't tell whether it's a bug in the server software, or in the configuration of the server. It definitely seems wrong that you can't "cd ." or "cd /HOME" when "/HOME" is the current directory.

    I would show Tectia the transcript from the OS X command-line client (which is OpenSSH, if they ask), and see what they say. If they don't help my next idea would be to install a trial copy of the Tectia software myself and see what I can figure out that way, but I'd rather avoid that if Tectia can help.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 8 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.