Results 1 to 6 of 6
  1. #1

    Texasmeat's Avatar
    Member Since
    Feb 20, 2004
    Location
    Texas
    Posts
    277
    Specs:
    Mid-2011 MBP 13" i5
    ftp problems on intel imac
    Im having a problem when connecting to my ftp host to update my website files. It keeps saying I cannot because "blank" cannot be modified.

  2. #2

    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    That sounds like a permission problem.

    Do a 'ls -l' at the prompt and see who owns the file.

    Also, I wonder if your in you own directory. Type 'pwd' at the prompt to see your current remote working directory. Perhaps you need to change it.

  3. #3

    Texasmeat's Avatar
    Member Since
    Feb 20, 2004
    Location
    Texas
    Posts
    277
    Specs:
    Mid-2011 MBP 13" i5
    Can you explain that a bit? I'm new to web hosting stuff...

  4. #4

    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    You probably understand this, but read this whole thing...

    Your hosting company supports many users like you on the machine your connecting to. To do that they will create a folder structure similar to your Mac which is /Users/username, where username on the hosting site is likely the first part of your domain.com name ,or perhaps another name you told them to use. The name your logging in with anyway.

    When you connect, it is normal for ftp to connect at the top level of your directory structure, so really you shouldn't have a permission problem. This is because each user should be able to read/add/remove/alter their own files. Your username has unique ids that are associated with the files you create and own.

    First you need to know if you are ending up in your directory. It would be odd not to. If your using the Terminal command line tool 'ftp' then the 'pwd' command tells you what directory your in. If your using a GUI tool then it should say that somewhere or via a button. You need to be in or below your top level (known as root is the biz) directory.

    The ls command, an 'ftp' Terminal command, I gave you will list several important things. A GUI tool may not list those items, but might have an option to show the information, such as a "Get Info" or "Show Properties" button.

    The important bits are, owner, read permission, and write pemission. There is also execute permission so your scripts will run, but I doubt that is important here.

    An ftp ls command will display something like this;
    -rw-r--r-- 1 xstep guest 317 Jan 22 2003 fdev.txt

    The first character, a dash says this is a normal file. A d would say it is a directory/folder. The next three charactes, rw- tells me that the owner, 'xstep' of group 'guest' has no execute permission but does have read and write permission. So I can edit and delete this file. The next 'r--' says the group can read the file. The last 'r--' says the world can read the file, which of course needs to be true for you to serve the page. ie; The web server needs to be able to read the file to present it to the browser asking for it.

    Finally we get to your problem, '"blank" cannot be modified'. The words 'cannot be modified' suggest your trying to put a file onto the server. Only two things would stop this. 1) Your trying to replace a file you don't have permission to write to. 2) The directory your writing into is not owned by you or you worse, you do not belong to a group that can modify the directory meaning your someplace you don't belong.

    If the "blank" is litteral, then perhaps you are not actually connecting to the server. When you post, you should post the exact message.

    One final note. Often the server company sets up a directory within your top level directory that they say is where your web files are to be placed. The common name is the past has been public_html so if you see that or they told you another name, enter that directory.

    I also suggest you review any notes or FAQs your provider has.

  5. #5

    Texasmeat's Avatar
    Member Since
    Feb 20, 2004
    Location
    Texas
    Posts
    277
    Specs:
    Mid-2011 MBP 13" i5
    I tried using terminal to view the ownership and it keeps telling me that I'm not connected! I am really confused here.

  6. #6

    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    Are you entering the terminal and then typing something like 'ftp myhost'? If so then you should be asked for a username and password specific to the host your connecting to.

    See this answer on another thread;
    http://www.mac-forums.com/forums/sho...58&postcount=4

    You might want to look into a GUI tool such as RBrowser or Fetch. They make like much easier, especially for inexperienced users.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help! Display problems IMAC 24" intel
    By floyd in forum Apple Desktops
    Replies: 0
    Last Post: 12-15-2010, 03:31 PM
  2. imac non intel problems installing 10.5
    By AlanD in forum OS X - Operating System
    Replies: 7
    Last Post: 09-18-2009, 05:30 PM
  3. Acrobat 7 with Intel iMac problems
    By Dingbat in forum OS X - Apps and Games
    Replies: 0
    Last Post: 10-19-2006, 10:16 AM
  4. intel imac problems
    By paulgroovy in forum Switcher Hangout
    Replies: 10
    Last Post: 10-13-2006, 11:41 PM
  5. Intel iMac - wireless problems
    By kaidomac in forum Apple Desktops
    Replies: 4
    Last Post: 07-06-2006, 08:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •