Your best friend for file transfer.

Fetch application logoFetch

storing directory in shortcut files (8 posts)

  • Started 8 years ago by mert
  • Latest reply 8 years ago from Scott McGuire
  • mert Member

    I would like to save a shortcut file to my desktop to provide easy access to my remote server. I can select save as when I have the connection open, and I can save a shortcut file, but it does not keep the directory information in the file. when I double click on the shortcut, I open the root directory of the server, not the subdirectory. Shortcuts saved within fetch, however, do keep the directory info. Is there any way to keep the directory info in these files? Thanks
    M

    Posted 8 years ago #

  • Scott McGuire Administrator

    Hi,

    Which version of Fetch do you have? Fetch should save the directory information in the shortcut document.

    Just to double-check, here are the steps to follow for Fetch 4 or Fetch 5:

    * Connect to the server.
    * Navigate to the directory you want the shortcut to open to; make sure the file list for the directory you want is showing in the Fetch window.
    * Choose "Save Shortcut" from the "File" menu.
    * Choose the location and name for your shortcut file.

    Try opening the shortcut file. If it still does not open to the correct location, please let us know and we'll look into it further.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 8 years ago #

  • mert Member

    I have fetch 5.0.5. I did some more experimenting and I found that I cannot create a shortcut file to my home directory (on the remote machine) but I CAN create a shortcut file to a subdirectory of my home dir. Shortcuts in the fetch shortcuts list seem to work correctly though.

    I opened the shortcut files with 'less' and I found that if I make a shortcut to the remote directory '/home/mthon/projects' the file actually stores:
    DIR sftp://mthon:@azul.tamu.edu/projects/
    which is somehow interpreted with the full path
    a shortcut to my remote home directory is stored as
    DIR sftp://mthon:@azul.tamu.edu/
    which is interpreted as the root (/) directory on the remote machine.
    cheers
    Mike

    Posted 8 years ago #

  • Scott McGuire Administrator

    Hi Mike,

    Thanks for the additional information. Could you tell us what path gets stored when you create a shortcut to that same folder in the Fetch Shortcuts window?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 8 years ago #

  • mert Member

    if I save shortcut to /home/mthon/projects the shortcut window displays the path as "projects/"
    this behaves the same in the shortcut window and as a file

    if I save shortcut to /home/mthon/ the shortcut window diplays no path.
    this one behaves normally in the window but defaults to "/" when used as a file.

    cheers
    m

    Posted 8 years ago #

  • Scott McGuire Administrator

    Originally posted by mert:

    iif I save shortcut to /home/mthon/ the shortcut window diplays no path.
    this one behaves normally in the window but defaults to "/" when used as a file.

    Hi Mike,

    We'd like to see a transcript when you use a shortcut to your home folder and you end up in the root folder instead, so we can figure out why you're ending up in the wrong folder. Could you please do the following?

    * Create a shortcut that misbehaves, as you describe above.
    * Open the shortcut.
    * Choose Fetch Transcript from the Window menu
    * Copy the entire contents of the transcript window, and paste them here.

    We'll take a look and try to figure out what's going on.

    Thanks for your assistance,

    Scott McGuire
    Fetch Softworks

    Posted 8 years ago #

  • mert Member

    Sure, no problem.
    --Fetch Transcript--
    Fetch 5.0.5 (5A835) PowerPC running on Mac OS X 10.4.6 (8I127) PowerPC English
    StuffIt Engine 0xffffb1df, StuffIt SDK Version 8.0.2 (StuffIt Features Not Available)
    Partial serial FETCHEX001-RJNA-HE5X T
    Connecting to mthon@azul.tamu.edu port 22 (4/29/06 1:08:16 PM)
    SSH2_FXP_INIT 3
    SSH2_FXP_REALPATH 1, .
    /home/mthon
    SSH2_FXP_STAT 2, /home/mthon
    SSH2_FXP_REALPATH 3, /
    /
    SSH2_FXP_STAT 4, /
    SSH2_FXP_OPENDIR 5, /
    SSH2_FXP_READDIR 6
    drwxr-xr-x 24 root root 4096 Mar 31 08:22 .
    drwxr-xr-x 24 root root 4096 Mar 31 08:22 ..
    drwx------ 2 root root 16384 May 5 2004 lostund
    drwxr-xr-x 4 root root 4096 Mar 27 10:18 boot
    drwxr-xr-x 8 root root 5360 Mar 31 08:23 dev
    drwxr-xr-x 20 root root 4096 Mar 29 16:58 home
    dr-xr-xr-x 180 root root 0 Mar 31 02:21 proc
    drwxr-xr-x 20 root root 4096 Feb 20 16:47 var
    drwxrwxrwt 39 root root 36864 Apr 29 04:27 tmp
    drwxr-xr-x 87 root root 8192 Apr 23 04:03 etc
    drwxr-x--- 23 root root 4096 Apr 25 14:28 root
    drwxr-xr-x 19 root root 4096 Jan 24 13:43 usr
    drwxr-xr-x 12 root root 4096 Mar 28 04:04 lib
    drwxr-xr-x 2 root root 4096 Mar 28 04:07 bin
    drwxr-xr-x 2 root root 4096 Feb 21 2005 initrd
    drwxr-xr-x 4 root root 4096 Jan 24 14:37 mnt
    drwxr-xr-x 4 root root 4096 Feb 21 2005 opt
    drwxr-xr-x 2 root root 8192 Mar 28 04:08 sbin
    drwxr-xr-x 2 root root 4096 Jan 1 13:21 misc
    drwxr-xr-x 9 root root 0 Mar 31 02:21 sys
    drwx------ 2 root root 4096 Aug 8 2004 .mozilla
    lrwxrwxrwx 1 root root 17 Aug 29 2005 home689
    drwxr-xr-x 1 root root 0 Mar 31 02:21 selinux
    -rw-r--r-- 1 root root 51 May 5 2004 .fonts.cache-1
    drwxr-xr-x 4 root root 4096 Mar 31 08:23 media
    drwxr-xr-x 2 root root 4096 Feb 21 2005 srv
    -rw-r--r-- 1 root root 0 Mar 31 08:22 .autofsck
    SSH2_FXP_READDIR 7
    SSH2_FXP_CLOSE 8
    SSH2_FX_OK 8
    SSH2_FXP_REALPATH 9, .
    /home/mthon

    Posted 8 years ago #

  • Scott McGuire Administrator

    Hi Mike,

    Thanks for the transcript. It looks like you found a bug in Fetch - thanks very much for brining it to our attention and providing the information that helped us locate it. We will fix it in a future release of Fetch.

    There are two possible workarounds for you for now:

    * Just create a shortcut file to a subfolder of your home folder. Those should work correctly.

    * If you really want a shortcut file to your home folder, after you create the shortcut file to your home folder in Fetch, open it in a text editor (such as BBEdit or TextWrangler) and edit it to say the following:

    DIR sftp://mthon:@azul.tamu.edu/%2fhome/mthon/

    and that should do the trick.

    Let us know if you have more questions. Thanks!

    Scott McGuire
    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.