Showing posts with label ftp. Show all posts
Showing posts with label ftp. Show all posts

Thursday, February 7, 2013

vsftp anonymous user

$ sudo  vim /etc/vsftpd.conf


anonymous_enable=YES
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
no_anon_password=YES
local_root=/path/for/local/user
anon_root=/path/for/anon/user



"anon_root=/path/for/anon/user" değerini mutlaka eklemeniz gerek yoksa anonymous_enable olsa bile anonymous giriş yapamazsınız.

Friday, July 24, 2009

ftp sunucumu yerel bir dizine bağlamak

ÖĞRENDİM

Bazı sevdiğim php editörlerin ya ftp desteği yok ya da zahmetli bir eklentisi var. Ben de sıkıldım ve google'a sordum acaba bir ftp sunucusu en kolay nasıl yerel dosya sistemine bağlanır diye. Sonra baktım ki bunun çok kolay bir yolu varmış.

http://curlftpfs.sourceforge.net/

hemen şöyle indirdim kurdum. Ufacık bir şey zaten.

sudo apt-get install curlftpfs


sonra da şöyle bağladım :

curlftpfs ftp://kullanici:parola@sunucum.com/  /home/hasantayyar/public_html/sunucum


Artık /home/hasantayyar/public_html/sunucum dizinine girdiğimde ftp sunucumun içeriğini görüyorum.

Araştırırken bir de alternatif bulmuştum. Denemek için gözatılabilir.
http://www.howtogeek.com/howto/ubuntu/how-to-mount-a-remote-folder-using-ssh-on-ubuntu/

Konuyu irdelemek derinlemesine için:
http://www.belgeler.org/man/man8/man8-mount.html

http://en.wikipedia.org/wiki/Mount
http://wiki.linux-sevenler.org/index.php/Mount
http://www.linux-ntfs.org/doku.php?id=howto:mount
http://www.belgeler.org/glibc/glibc-Mount-Unmount-Remount.html