Results 1 to 5 of 5

Thread: Unable to download files via FTP into local www directory

  1. #1
    Join Date
    Feb 2010
    Beans
    39

    Unable to download files via FTP into local www directory

    When I try to transfer files from my remote web server into my local www directory it doesn't let me. I imagine it has something to do with permissions but I can't seem to figure out what the issue is.

    I'm using Filezilla to try and transfer them. I can transfer them into my home directory though.

  2. #2
    Join Date
    Oct 2005
    Location
    Wabasha MN
    Beans
    2,571
    Distro
    Ubuntu

    Re: Unable to download files via FTP into local www directory

    Yes it is a rights issue. I have a scrip file I will attach which will allow you to open the var folder with root right and allow you to change the www folder rights.
    Here is what you need to do: copy the script file into a hidden folder in your home folder. The folder name is .gnome2. Don't forget the dot before the name.
    When you go the var folder, right click on the www folder and you will see a popout menu goto the scripts and choose “root-nautilus-here”. You will be asked for your password and then will be able to change the rights on the folder www. When you are done I would change it back.
    By the way I use fireFTP right out of Firefox. Once you set it up it is easy to transfer files.
    Screenshot.jpg Screenshot-nautilus-scripts.png Screenshot-root-nautilus-here (~-.gnome2-nautilus-scripts) - gedit.png
    Code:
    #!/bin/sh
    # root-nautilus-here
    # opens a root-enabled instance of a nautilus window in selected location
    # requires sudo priviledges and gksudo, which may involve security risks.
    #Install in your ~/Nautilus/scripts directory.
    #
    # Placed in the public domain by Shane T. Mueller 2001
    # Fixes provided by Doug Nordwall
    #
    # 2004.04.18 -- keith@penguingurus.com - Added gksudo usage to provide popup
    #               password window if sudo has expired.  Line only echos got
    #               root to std output.  But gksudo updates your sudo access
    #               privs, so running nautilus with sudo will succeed
    #               without asking for a password.
    
    
    foo=`gksudo -u root -k -m "enter your password for nautilus root access" /bin/echo "got r00t?"`
    sudo nautilus --no-desktop $NAUTILUS_SCRIPT_CURRENT_URI
    If you are interested in other scripts for this purpose, here is a link on my server. http://wabasha-server.net/Nautilus%20Scripts/
    Information on my Main laptop. Information on my small laptop Dell 11 3000
    Using a Asus 3632QM laptop with 8gig RAM, 250 SSD.
    Machine Registered 366271, 366273, 366275.
    Registered Ubuntu user number 18630. Registered Linux user number 458093.

  3. #3
    Join Date
    Apr 2010
    Location
    40 cm from the screen
    Beans
    130
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unable to download files via FTP into local www directory

    or the simple way..

    sudo nautilus in terminal.
    navigate to var/www/ right click and set permissions..
    Free tips & tricks for you PC www.justrehhoff.org
    Tips for both linux and windows !
    Missing a guide for ubuntu ? don't hestitate we have that to !

  4. #4
    Join Date
    Oct 2005
    Location
    Wabasha MN
    Beans
    2,571
    Distro
    Ubuntu

    Re: Unable to download files via FTP into local www directory

    Quote Originally Posted by kukker32 View Post
    or the simple way..

    sudo nautilus in terminal.
    navigate to var/www/ right click and set permissions..
    I will agree with you it is the simple way, but I like to find ways to do things via the GUI so I can show people you can do things just like you do in Windows. Most people are spoiled because of using Windows. That's why I show them the long way, but I am glad you posted the simple way so others can see the great advantage of using Linux.
    Thanks
    Information on my Main laptop. Information on my small laptop Dell 11 3000
    Using a Asus 3632QM laptop with 8gig RAM, 250 SSD.
    Machine Registered 366271, 366273, 366275.
    Registered Ubuntu user number 18630. Registered Linux user number 458093.

  5. #5
    Join Date
    Feb 2010
    Beans
    39

    Re: Unable to download files via FTP into local www directory

    Just wanted to thank everyone.

Tags for this Thread

Bookmarks

Posting Permissions

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