LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-08-2009, 04:41 AM   #1
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Rep: Reputation: 31
Can I mount ftp server in fstab?


Can I mount ftp server in fstab?
I have a ftp server and I want to mount it in fstab to /mnt/myftp

Is that possible?

Last edited by miros84; 09-09-2009 at 10:58 AM.
 
Old 09-08-2009, 06:43 AM   #2
rizwanrafique
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147

Rep: Reputation: 19
google for curlftpfs. You can use it with fusermount. And mount it same as sshfs etc. Sorry, not enough time on my side to wirte an example. You should be able to find one easily though.
 
Old 09-08-2009, 11:25 AM   #3
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Original Poster
Rep: Reputation: 31
So, can I do it this way?

Code:
//xx.xx.xx.xx/somefolder   /mnt/ftpfolder   cifs defaults,user,rw   0    0
Is that correct to mount ftp server folders on your computer?
 
Old 09-08-2009, 01:57 PM   #4
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Original Poster
Rep: Reputation: 31
I have a web server in www.fatcow.com and there I created a ftp folder that I want to mount to my computer, but I cannot. I tried this. I typied it in FSTAB

Code:
//65.254.254.77 	/mnt/ftpfiles	-o password="somepass"	    username="someuser"	  user,auto,rw	  0	  0
When when I type mount -a in terminal, it tells me that my 17 line, which is line above is incorrect.

Any solution to my problem?
 
Old 09-08-2009, 02:28 PM   #5
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
ftp is not a file system. It is a simple transfer protocol with a listening server, so it cannot be mounted. Run `cat /proc/filesystems` - these are the filesystems that your computer can mount. As an alternative you can use NFS or even better SSHFS.
 
Old 09-08-2009, 03:16 PM   #6
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Original Poster
Rep: Reputation: 31
Ok, thank you. Now I know It is impossible to mount it in /mnt as it was a folder from you PC
 
Old 09-08-2009, 03:37 PM   #7
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Original Poster
Rep: Reputation: 31
I just have seen that it is possible. Look at this link

http://ubuntuforums.org/showthread.php?t=1036636

But I have one problem when I try mount

Code:
Error connecting to ftp: QUOT command failed with 500
Any idea?

Last edited by miros84; 09-08-2009 at 03:38 PM.
 
Old 09-09-2009, 01:02 AM   #8
miros84
Member
 
Registered: Aug 2009
Location: Spain
Distribution: Debian stable, squeeze
Posts: 501

Original Poster
Rep: Reputation: 31
Look at this link

http://curlftpfs.sourceforge.net/

There explain how to mount ftp folder to your computer, but I still have problems. If somebody know how to do it?
 
Old 09-09-2009, 09:44 AM   #9
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Quote:
Originally Posted by miros84 View Post
I just have seen that it is possible. Look at this link

http://ubuntuforums.org/showthread.php?t=1036636

But I have one problem when I try mount

Code:
Error connecting to ftp: QUOT command failed with 500
Any idea?
You will still need to install the fuse on the client; fuse is the file system in user space (FUSE). However with fuse you should really use SSHFS and not FTP. sshfs will do everything that ftp does an better and more secure. Another alternative is NFS or CIFS.
 
  


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
mount --bind on my FTP server LUB997 Linux - Server 2 02-26-2008 12:19 PM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
/etc/fstab to mount /dev/hdc1 to FTP GregSims Linux - Newbie 5 08-05-2005 10:09 PM
/ect/fstab to Mount /dev/hdc1 to FTP GregSims Linux - General 1 08-05-2005 09:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration