[分享]菜鸟简单建立FTP的方法

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
猫猫摸鱼
帖子: 3
注册时间: 2010-06-02 0:40

Re: [分享]菜鸟简单建立FTP的方法

#166

帖子 猫猫摸鱼 » 2010-06-05 11:21

菜鸟 ,拜读LZ的贴~~~~~~~去 ,試~~~ :em38
头像
xbcrown
帖子: 229
注册时间: 2009-09-26 11:01
来自: 古都西安

Re:

#167

帖子 xbcrown » 2010-06-13 14:53

hatoyu 写了:我用建的那个 ftp 用户 连不上

倒是用ubuntu的登录用户 和密码一下子就连上了。


我的也是阿!高手来解答下。。。。


而且用自己的电脑可以进去,其他电脑连接不上。。。。
:em20
有时候,别人突然对你说,我觉得你变了,然后自己开始百感交集。
头像
xbcrown
帖子: 229
注册时间: 2009-09-26 11:01
来自: 古都西安

Re: [分享]菜鸟简单建立FTP的方法

#168

帖子 xbcrown » 2010-06-13 15:00

zzyy 写了:按着楼主的方法,home目录下没有生成ftp文件夹,运行命令sudo useradd -m ftp,提示useradd: user 'ftp' already exists,但home目录下确实没ftp文件夹,不知道问题出那里了。帮帮忙,谢谢!


我的8.10下面也是这样,后来我自己用mkdir建立ftp文件,


然后在自己机器上可以正常访问,但是用户名和密码竟然是我系统的用户名和密码,用那个ftp和我创建的密码不行。。。。。
:em20 :em20


在其他电脑上尝试没法连接上。。。


求高手解答 :em20
有时候,别人突然对你说,我觉得你变了,然后自己开始百感交集。
ycerror
帖子: 98
注册时间: 2006-08-30 12:56
来自: 大县城

Re: [分享]菜鸟简单建立FTP的方法

#169

帖子 ycerror » 2010-06-13 22:52

不知道为什么,我安装配置一路正常,最后也能匿名连接上去,可是却不显示任何目录和文件,然后本地匿名登录用gFTP上传文件的时候说553 Could not create file.这是怎么回事……

我设置的local_root=/media/BT/,之前的目录是/home/ftp/,也不显示目录和文件。
至于那些该YES的一律YES,求帮助。

/media/BT/的权限是777的。
ycerror
帖子: 98
注册时间: 2006-08-30 12:56
来自: 大县城

Re: [分享]菜鸟简单建立FTP的方法

#170

帖子 ycerror » 2010-06-14 4:46

瞎折腾了一通,终于可以显示并且匿名下载了,但是还是无法上传,明天接着折腾…… :em06
头像
xbcrown
帖子: 229
注册时间: 2009-09-26 11:01
来自: 古都西安

Re: [分享]菜鸟简单建立FTP的方法

#171

帖子 xbcrown » 2010-06-21 17:37

ycerror 写了:瞎折腾了一通,终于可以显示并且匿名下载了,但是还是无法上传,明天接着折腾…… :em06

怎么弄呢?? :em06 交流下
有时候,别人突然对你说,我觉得你变了,然后自己开始百感交集。
头像
playeryang
帖子: 249
注册时间: 2009-04-04 12:55
来自: 四川...泸州||江苏...镇江

Re: [分享]菜鸟简单建立FTP的方法

#172

帖子 playeryang » 2010-06-21 20:35

mark
shouyu924
帖子: 1
注册时间: 2009-02-14 10:13

Re: [分享]菜鸟简单建立FTP的方法

#173

帖子 shouyu924 » 2010-06-22 11:10

有乱码撒。望及时解决了~~~
ycerror
帖子: 98
注册时间: 2006-08-30 12:56
来自: 大县城

Re: [分享]菜鸟简单建立FTP的方法

#174

帖子 ycerror » 2010-06-22 23:59

xbcrown 写了:
ycerror 写了:瞎折腾了一通,终于可以显示并且匿名下载了,但是还是无法上传,明天接着折腾…… :em06

怎么弄呢?? :em06 交流下
额……忘记了 :em20 就是放狗搜了一下,改了一通= =,我猜关键是那个配置文件。
贴出我的供参考。
(目前还是只能下载不能上传,不管它了)
附件
vsftpd.conf.zip
我的vsftpd.conf
(2.44 KiB) 已下载 160 次
pestd
帖子: 5
注册时间: 2006-08-16 16:17

Re: [分享]菜鸟简单建立FTP的方法

#175

帖子 pestd » 2010-06-25 15:24

mark
头像
xbcrown
帖子: 229
注册时间: 2009-09-26 11:01
来自: 古都西安

Re: [分享]菜鸟简单建立FTP的方法

#176

帖子 xbcrown » 2010-06-25 16:26

ycerror 写了:
xbcrown 写了:
ycerror 写了:瞎折腾了一通,终于可以显示并且匿名下载了,但是还是无法上传,明天接着折腾…… :em06

怎么弄呢?? :em06 交流下
额……忘记了 :em20 就是放狗搜了一下,改了一通= =,我猜关键是那个配置文件。
贴出我的供参考。
(目前还是只能下载不能上传,不管它了)

谢谢了~下载先试试~。。。
有时候,别人突然对你说,我觉得你变了,然后自己开始百感交集。
sinoyang
帖子: 1
注册时间: 2009-06-25 9:53

Re: [分享]菜鸟简单建立FTP的方法

#177

帖子 sinoyang » 2010-07-01 21:39

我照着做了,也不行。

正在连接到 192.168.88.142 -> IP=192.168.88.142 PORT=20 (尝试 # 7)
[R] 连接失败 (连接超时)
[R] 等待 120 秒后再进行第 8 次重新连接
xiexbb
帖子: 11
注册时间: 2007-09-09 10:41

Re: [分享]菜鸟简单建立FTP的方法

#178

帖子 xiexbb » 2010-08-05 11:39

请教各位大虾!
我在XP上面安装了虚拟机 VMWare Player,并且在虚拟机上面安装了ubuntu虚拟系统。由于无法VMWare Player下载并且安装VMware Tools,所以无法共享文件。没有办法,只能在ubuntu上面安装一个ftp服务器vsftpd。
在ubuntu上面直接可以访问ftp的:
kevin@ubuntu:~$ ftp ubuntu
Connected to ubuntu.
220 (vsFTPd 2.0.7)
Name (ubuntu:kevin): ftp
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
但是在XP上却访问不了:
C:\Documents and Settings\kevin.xie> ping 192.168.174.1

Pinging 192.168.174.1 with 32 bytes of data:

Reply from 192.168.174.1: bytes=32 time<1ms TTL=128
Reply from 192.168.174.1: bytes=32 time<1ms TTL=128
Reply from 192.168.174.1: bytes=32 time<1ms TTL=128
Reply from 192.168.174.1: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.174.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\kevin.xie>ftp 192.168.174.1
> ftp: connect :Unknown error number
ftp> by

C:\Documents and Settings\kevin.xie>ping 192.168.26.1

Pinging 192.168.26.1 with 32 bytes of data:

Reply from 192.168.26.1: bytes=32 time<1ms TTL=128
Reply from 192.168.26.1: bytes=32 time<1ms TTL=128
Reply from 192.168.26.1: bytes=32 time<1ms TTL=128
Reply from 192.168.26.1: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.26.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Documents and Settings\kevin.xie>ftp 192.168.26.1
> ftp: connect :Unknown error number
ftp> by

C:\Documents and Settings\kevin.xie>
下面是XP的ip配置:
C:\Documents and Settings\kevin.xie>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : hz.boldtech.internal
IP Address. . . . . . . . . . . . : 192.168.8.129
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.8.1

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.174.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.26.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

C:\Documents and Settings\kevin.xie>
下面是ubuntu的IP配置:
kevin@ubuntu:~$ more /etc/hosts
127.0.0.1 localhost
127.0.1.1 ubuntu
#192.168.8.254 ubuntu

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
kevin@ubuntu:~$
kevin@ubuntu:~$
数据仓库/架设hadoop环境/
QQ:95359646
头像
Echol
帖子: 16
注册时间: 2010-07-24 16:02

Re: [分享]菜鸟简单建立FTP的方法

#179

帖子 Echol » 2010-08-08 12:04

不错,收藏 :em02
Pain is short and joy is eternal.
BLOG: http://hi.baidu.com/mcmlxxxviii
suwill
帖子: 20
注册时间: 2008-03-10 22:27

Re: [分享]菜鸟简单建立FTP的方法

#180

帖子 suwill » 2010-08-10 23:56

请问乱码的问题是怎么解决的?
回复