通过php连接到Filezilla ftp客户端 [英] connect to filezilla ftp client by php

查看:140
本文介绍了通过php连接到Filezilla ftp客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我买了一个VPS,并在此vps上安装了wampserver,然后写了一个php代码
在这个vps(我的意思是wampserver)上,我在PHP中使用ftp_put()函数来ftp_upload
2GB的文件可能会共享帐户,但文件上传速度非常慢,但是当我使用
时 我的vps上的"filezilla ftp客户端",我的文件上传非常快,如何在我的php代码中连接到filezilla ftp客户端以强制Filezilla上载我的文件而不是php的ftp_put()函数?php或apache可以连接到filezilla ftp吗? client ???

i bought a VPS and i install wampserver on this vps,then i wrote a php code
on this vps(i mean wampserver),i use ftp_put() function in php to ftp_upload
a 2GB file to may bitshare account but file uploaded very slow but when i use
"filezilla ftp client" on my vps ,my file uploaded very fast,how can i connect to filezilla ftp client in my php code to inforce filezilla upload my file instead of ftp_put() function of php?can php or apache connect to filezilla ftp client???

推荐答案

不清楚这是什么意思.通常,客户端连接到服务器.对于Filezilla,这是一个分为两部分的软件:FTP/SFTP/FTPS服务器和客户端:
http://en.wikipedia.org/wiki/Filezilla [
如果这是您想要的,则可以找到合适的PHP FTP客户端.请参阅:
https://github.com/suin/php-ftp-client [ http://freecode.com/projects/asukphpftp [ http://webscripts.softpedia.com/script/Internet- Browsers-CC/FTP/PHP-FTP-Client-42153.html [ http://lmgtfy.com/?q=FTP+client+PHP [
Not clear what do you mean by this. Normally, a client connects to the server. As to Filezilla, this is a two-part software: an FTP/SFTP/FTPS server and a client:
http://en.wikipedia.org/wiki/Filezilla[^].

I never knew that Filezilla client part could act as a server. I also never saw a PHP API for the Filezilla client; even if it does exist, I never heard of it.

So, if you want to "connect" to Filezilla client part, I don''t know what it supposed to mean. However, if you want to connect to Filezilla server, you can always do it, but, first, you will need a PHP FTP client, and, second, then it would not matter if you are using Filezilla or not; it would work for any valid FTP server.

If this is what you want, you can find a suitable PHP FTP client. Please see:
https://github.com/suin/php-ftp-client[^],
http://freecode.com/projects/asukphpftp[^],
http://webscripts.softpedia.com/script/Internet-Browsers-C-C/FTP/PHP-FTP-Client-42153.html[^].

Try to find some more if you need:
http://lmgtfy.com/?q=FTP+client+PHP[^].

Good luck,
—SA


这篇关于通过php连接到Filezilla ftp客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆