Your best friend for file transfer.

Fetch application logoFetch

filenames with period (11 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 22 years ago by zim
  • Latest reply 20 years ago from Jim Matthews
  • zim Member

    Fetch seems to 4.01 OSX seems to be uploading files start with a period (in my case .DS_store over and over, whatever that is) despite omit filenames with period being checked. That can't be right ?!

    Zim

    Posted 22 years ago #

  • Jim Matthews Administrator

    "Omit file names beginning with a period" only applies to listing the files on the server in the transfer window. So it doesn't stop Fetch from uploading files that start with a period.

    I believe that .DS_store is a file that Mac OS X uses to store directory information (e.g. icon positions). It shouldn't do any harm to upload it.

    Thanks for the feedback that it would be useful to have uploads skip dot files.

    Jim Matthews
    Fetch Softworks

    Posted 22 years ago #

  • zim Member

    Thanks for the prompt answer Jim.

    The problem for me has been that I am unable to delete folders containing these invisible files without tenetting in and doing ...

    ls -al
    rm .DS*

    ... very dull I'm sure you'll agree.

    Yes, it would be great and very useful to have the option not to upload invisible files in folders that are drag/dropped (that's how they're getting uploaded).

    Regards

    Zim

    Posted 22 years ago #

  • Jim Matthews Administrator

    Hmm, Fetch isn't supposed to upload invisible files. What happens when you try to delete a directory containing .DS files with Fetch?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 22 years ago #

  • zim Member

    error: directory not empty

    Posted 22 years ago #

  • Jim Matthews Administrator

    Try running the following AppleScript:

    tell application "Fetch 4.0.1"
    set use LIST minus al to true
    end tell

    Then try to delete the directory -- does that work?

    Jim Matthews
    Fetch Softworks

    Posted 22 years ago #

  • zim Member

    Sorry to take so much time getting back on that one Jim, but yes, that does work nicely as a workaround.

    I'd like to see that (ls -al) option and "do not upload filenames starting with a period" as options.

    Thanks,

    Zim

    Posted 22 years ago #

  • sarneil Member

    I've been using a backup FTP package to back up files form my OS X machine to a win2000 server. OS X appears to create the following invsible three files and folder in every folder, which the backup program dutifully uploads:
    .DS_Store (file)
    .FBCIndex (file)
    .FBCLockFolder (folder)
    .FBCSemaphoreFile (file)
    When I later try to delete the folders containing these files using Fetch, it fails because the directory is not empty because Fetch won't delete the dot files, and of course doesn't display them either, so in the GUI of Fetch the text of the error message appears to contradict the directory listing.

    There are probably very good reasons not to delete dot files indiscriminantly, but is there any way to configure Fetch to delete all or maybe just these specific dot files?

    Posted 21 years ago #

  • zim Member

    Running the applescript that jim mentioned a couple of posts up (in this thread) worked for me :)

    Zim

    Posted 21 years ago #

  • philipmarch Member

    Is this a permanent fix or does this Applescript need to be run each time you run the application?

    Posted 20 years ago #

  • Jim Matthews Administrator

    The setting is stored in preferences, so it only needs to be set once. And as of Fetch 4.0.2 you don't need to use AppleScript; choose "Send LIST -al to UNIX Servers" from the Obscure Options pop-up menu in the Misc. section of Preferences.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 20 years ago #

Topic closed

This topic has been closed.