LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-13-2006, 03:22 PM   #1
jon23d
Member
 
Registered: May 2006
Location: Kennewick, WA - USA
Distribution: Ubuntu
Posts: 129

Rep: Reputation: 15
local folder mounted as ftp


I am using bluefish for web development, but it lacks ftp integration. I would like to have a local folder with mounts for all of my ftp servers. They require user and pass, but from what I understand NFS doesn't support this. Is there another way of doing this?

ex:

/home/user/ftp_folders/site1->ftp://www.site1.com
/home/user/ftp_folders/site2->ftp://www.site2.com
/home/user/ftp_folders/site3->ftp://www.site3.com
 
Old 06-14-2006, 09:49 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Funny I tried to do exactly the same a few days ago.
I also use bluefish, quite nice.

For the ftp stuff, you need to have FUSE enabled in your kernel
To verify if you have this feature:
Code:
zgrep FUSE /proc/config.gz
or grep FUSE /boot/config-`uname -r`
should give
Code:
CONFIG_FUSE_FS=y
what follows is debian specific, adapt it to your distro :you have to find fuse-utils (which does sshfs, an ssh server mapping to a directory) and fuseftp for the ftp part.

Code:
apt-get install fuse-utils

add this to sources.list:

deb http://debian.jox.be ./
deb-src http://debian.jox.be ./

apt-get update
apt-get install fuseftp

mkdir -p /mnt/ftpfs/site1
chown -R root:fuse /mnt/ftpfs
chmod g+rx /mnt/ftpfs
chmod go+rwx /mnt/ftpfs/site1
addgroup deb_user fuse

$fuseftp /mnt/ftpfs/site1 myuser:mypass@ftp.site1.com:/web/
and then you have your ftp site on /mnt/ftpfs/site1

As a side note, grsync is good for syncing two directories, so combined with the above trick, you can synchronise local dir with a ftp site.
 
Old 06-14-2006, 04:26 PM   #3
jon23d
Member
 
Registered: May 2006
Location: Kennewick, WA - USA
Distribution: Ubuntu
Posts: 129

Original Poster
Rep: Reputation: 15
Thanks! That's definately what I'm looking for. While I haven't been able to get it to work yet, I'm sure that I will!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Documents Folder Mounted BarfBag Ubuntu 0 03-09-2006 12:44 PM
Problem in using chmod with mounted folder casper234 Linux - General 5 02-13-2006 08:45 AM
Apache can not run when I use for Documentroot folder in which mounted a partition rustam Linux - General 1 12-09-2005 05:48 AM
(re)sharing an nfs-mounted folder with samba rtspitz Linux - Networking 1 02-13-2005 01:36 PM
Changing permissions of mounted folder of XP box owain Linux - Networking 1 06-12-2004 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration