Articles of ftp

将IIS帐户添加到IIS7中的网站

我正在尝试向我在IIS7中设置的网站添加一个FTP帐户。 这是我迄今为止所做的( 按照这些说明 ): 添加了Windows帐户“newFTP” 在IISpipe理器中find该网站,然后单击“添加FTP发布…” IP:unasigned 港口:21 选中“启用虚拟主机名称” [mydomain] .com为虚拟主机 选中“自动启动FTP站点” 选中“允许SSL” 为“SSL证书”select“未选中” 点击“下一步” 将身份validation设置为“基本” 将“允许访问:”设置为“指定用户”和“新FTP” 将权限设置为“读取”和“写入” 现在当我尝试从命令行用ftplogin时,我得到: Connected to [mydomain].com. 220 Microsoft FTP Service User ([mydomain].com:(none)): newFTP 331 Password required for newFTP. Password: 530-User cannot log in, home directory inaccessible. Win32 error: Access is denied. Error details: Authorization rules denied the access. 530 […]

Filezilla客户端无法从Filezilla服务器获取目录列表(Windows)

我已经在FileZilla服务器上设置了一个自签名证书,并通过SSL / TPS启用了FTP。 当我从客户端FileZilla连接时,我能够进行身份validation,但无法获取目录列表: Status: Connecting to MY_SERVER_IP:21… Status: Connection established, waiting for welcome message… Response: 220-FileZilla Server version 0.9.39 beta Response: 220-written by Tim Kosse ([email protected]) Response: 220 Please visit http://sourceforge.net/projects/filezilla/ Command: AUTH TLS Response: 234 Using authentication type TLS Status: Initializing TLS… Status: Verifying certificate… Command: USER MYUSER Status: TLS/SSL connection established. Response: […]

VSFTPD – 通过TLS的FTP – 上传停止后正好82K?

我在CentOS服务器上安装了VSFTP守护进程,使用RSA证书使用显式TLSlogin。 现在,我不能上传超过82K。 有了这个限制的文件,没有问题。 FTP就像一个魅力。 但是,一旦文件达到82k与FileZilla(准确的81,952字节),传输将停止,FTP客户端挂起,直到超时。 FTP客户端控制台: 15:10:21 Command: STOR jquery-1.7.2.min.js 15:10:21 Response: 150 Ok to send data. 15:11:21 Error: Connection timed out 15:11:21 Error: File transfer failed after transferring 82 KB in 60 seconds /var/log/vsftpd.log FTP command: Client "xxxx", "STOR jquery-1.7.2.min.js" FTP response: Client "xxxx", "150 Ok to send data." OK UPLOAD: Client "xxxx", "jquery-1.7.2.min.js", […]

SFTP:将多个文件从一个文件夹移动(重命名)到另一个文件夹(不是一个接一个)

我需要将所有文件从current_path移动到current_path / DestinationFolder 。 我使用的SFTP版本是: SFTP协议版本2 可用的命令是: sftp> help Available commands: cd path Change remote directory to 'path' lcd path Change local directory to 'path' chgrp grp path Change group of file 'path' to 'grp' chmod mode path Change permissions of file 'path' to 'mode' chown own path Change owner of file 'path' to 'own' […]

我如何在FreeBSD中创build一个仅限FTP的帐户?

我创build了一个仅用于FTP会话的帐户: # adduser Username: test Full name: Uid (Leave empty for default): Login group [test]: Login group is test. Invite test into other groups? []: Login class [default]: Shell (sh csh tcsh bash rbash nologin) [sh]: nologin Home directory [/home/test]: Home directory permissions (Leave empty for default): Use password-based authentication? [yes]: Use an empty password? […]

纯FTPd和MySQL,与sha512合作

我目前正在开发一个共享主机的应用程序,为机器使用一个完整的MySQL后端。 我已经build立了我的所有服务,而且他们运作得很好,但是我对pure-ftpd有点问题。 正如你可能知道的,Pure-FTPd可以使用pure-ftpd-mysql 。 以下是基本configuration的样子: MYSQLServer 127.0.0.1 MYSQLPort 3306 MYSQLSocket /var/run/mysqld/mysqld.sock MYSQLUser myftpdbuser MYSQLPassword myftpdbpassword MYSQLDatabase myftpdb MYSQLCrypt md5 # Here come the selection queries… 正如你所看到的,我select了md5作为encryptionalgorithm,但这是一个问题。 我正在使用Symfony2,并且我已经为我的用户设置了sha512的编码器,当我想创build一个与我的用户相同密码的FTP帐户时,我必须将sha512哈希值复制到FTP帐户。 然而,这是非常令人满意的,Pure-FTPd是为md5configuration的,因此它将无法检查这个密码。 我想尽可能保持sha512,因为使用md5将需要对我的代码进行一些修改以重新encryption。 以下是Pure-FTPdconfiguration示例所说的内容: # Mandatory : how passwords are stored # Valid values are : "cleartext", "crypt", "sha1", "md5" and "password" # ("password" = MySQL password() function) # […]

无法使用vsftpdlogin到Debian上的FTP

我试图设置FTP访问我的Apache服务器,但我收到530 Login Incorrect错误。 我通过sudo apt-get install vsftpd安装了vsftp软件包。 我已经尝试用我创build的用户连接到ftp://(my ip address) , andrew ,他是ftp用户组的成员。 我也试着用root连接。 我确定密码是正确的。 理想情况下,我希望能够连接到我的/var/www/目录通过FTP客户端上传文件。 这是我的vsftpd.conf文件没有注释的样子: listen=YES anonymous_enable=NO local_enable=YES write_enable=YES dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES chroot_local_user=YES secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd rsa_cert_file=/etc/ssl/private/vsftpd.pem 并与评论: # Example config file /etc/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to […]

寻找一个干净的方式来如何降低FTP服务器的维护

我正在考虑一个干净的方式,如何使一个FTP服务器停机维护。 我想知道,如果有人在那里可以给我一些如何解决这个问题的提示: 我不想中断任何当前的上传,但要阻止任何新的连接/上传,并等待,直到上传完成,然后取下FTP服务器 有没有办法dynamic阻止用户login,并显示一条消息,例如:“ftp目前停机维护”当用户尝试login? 这是我的想法,这是非常罕见的,或者别人怎么处理这个 – 我觉得,只是停止FTP服务器,并杀死任何当前的上传不是正确的方式,这… 我使用proftpd(与SQL后端)顺便说一句,也许有一些具体的解决scheme – 或者是否有任何通用工具来实现这一目标? 非常感谢!

如何从LFTP捕获输出? (输出没有写入STDOUT或STDERR?)

我想从lftp获得进度信息。 目前,我正在使用curl: curl http://example.com/file -o file -L 2> download.log 这将curl的进度信息写入download.log文件,我可以通过它来获取实时进度。 但是同样的方法对于lftp不起作用,无论是使用stdout还是stderr。 最后我会得到一个空的download.log文件,直到传输完成。 lftp -e 'get http://example.com/file;quit' 2> download.log lftp -e 'get http://example.com/file;quit' 1> download.log 当我不redirect输出,我看到在屏幕上的进展。 当我redirect输出时,我停止看到屏幕上的进度,但没有在download.log中显示。 文件传输完成后,我看到最后的结果,像这样 – 但没有任何事情: 97618627 bytes transferred in 104 seconds (913.1K/s) 是lftp做一些不寻常的输出 – 打印到屏幕没有打印到标准输出/标准错误? 捕获屏幕输出比redirect标准输出/标准错误还有其他方法吗?

太多的FTP连接导致错误421

我正在使用oXygen XML编辑器,经过一段时间后,我得到“ 错误:421从您的Internet地址有太多的连接。 我可以看到,oXygen正在创build一堆ftp连接,但我不确定如何杀死连接或使oXygen停止。 我正在运行Ubuntu 9.10。 有什么想法吗?