Your best friend for file transfer.

Fetch application logoFetch

how can i change file attributes? (4 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 9 years ago by super1015
  • Latest reply 9 years ago from Jim Matthews
  • super1015 Member

    i am trying to run a script that tells me to:

    "Now execute the 'change file attributes'-command from the Commands menu. A box appears where you type in 644 where it says 'manual'. Now you change to the directory where you want to place the password information. To there you copy the file htpasswd.txt. You then rename it to .htpasswd (again don't forget the dot!!!)."

    i dont see this option anywhere in fetch... nothing in the top menus, it is not there when i right click. anyone know where i can find out how to change this?

    Posted 9 years ago #

  • Jim Matthews Administrator

    I think that script was written for a different FTP client, but you can do the same things in Fetch.

    To change the permissions on the file to 644 select the file in Fetch's file list and choose "Set Permissions..." from the Remote menu. Check the Owner Read and Write boxes, the Group Read box, and the Everyone Read box.

    To put the file htpasswd.txt on the server use the Put Files... button.

    To rename htpasswd.txt to .htpasswd select it in the file list and choose Rename Directory or File... from the Remote menu.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 9 years ago #

  • super1015 Member

    all of those boxes have been checked off... what about when it asks me to change the persmissions to a different number other than 644?

    --now it wont' even show the files i changed to .htaccess. it just shows my files htaccess.txt.

    where did they go? i went back and forth between the folders a couple of times. even logged off and then on again...??

    Originally posted by super1015:

    i am trying to run a script that tells me to:

    "Now execute the 'change file attributes'-command from the Commands menu. A box appears where you type in 644 where it says 'manual'. Now you change to the directory where you want to place the password information. To there you copy the file htpasswd.txt. You then rename it to .htpasswd (again don't forget the dot!!!)."

    i dont see this option anywhere in fetch... nothing in the top menus, it is not there when i right click. anyone know where i can find out how to change this?

    Posted 9 years ago #

  • Jim Matthews Administrator

    If you need to set the permissions to a different value check the boxes on and off until the number is what you want. The first digit is owner permissions, the second one group permissions and the last one everyone permissions.

    As for why .htaccess disappeared, some servers don't show file names that start with a period unless the FTP client sends a non-standard command. You can tell Fetch to send that command by choosing "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 9 years ago #

Topic closed

This topic has been closed.