New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

ftp problems on intel imac


Post Reply New Thread Subscribe

 
Thread Tools
Texasmeat

 
Texasmeat's Avatar
 
Member Since: Feb 20, 2004
Location: Texas
Posts: 277
Texasmeat is on a distinguished road
Mac Specs: Mid-2011 MBP 13" i5

Texasmeat is offline
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.
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks
Texasmeat

 
Texasmeat's Avatar
 
Member Since: Feb 20, 2004
Location: Texas
Posts: 277
Texasmeat is on a distinguished road
Mac Specs: Mid-2011 MBP 13" i5

Texasmeat is offline
Can you explain that a bit? I'm new to web hosting stuff...
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks
Texasmeat

 
Texasmeat's Avatar
 
Member Since: Feb 20, 2004
Location: Texas
Posts: 277
Texasmeat is on a distinguished road
Mac Specs: Mid-2011 MBP 13" i5

Texasmeat is offline
I tried using terminal to view the ownership and it keeps telling me that I'm not connected! I am really confused here.
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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;
hosting files on ftp

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

Post Reply New Thread Subscribe


« iweb - ilife | Help With Streaming On Mac »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Is it worth to switch from iMac G4 to iMac G5?? Mainyehc Apple Desktops 12 03-13-2006 06:21 PM
20" iMac G5 or iMac intel?? macinwyo Apple Desktops 12 02-16-2006 11:42 AM
Appleworks on my Intel Dc imac Smartz Apple Desktops 3 01-31-2006 02:12 PM
OS X.26 - FTP allows login, but then closes after cwd to folder funky Web Design and Hosting 2 01-27-2005 11:43 PM
Hotmail & FTP problems Bluewolf Switcher Hangout 4 08-21-2004 08:24 PM

All times are GMT -4. The time now is 03:58 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?