Home  >  Article  >  Backend Development  >  php上传文件到本地电脑搭建的ftp服务器

php上传文件到本地电脑搭建的ftp服务器

WBOY
WBOYOriginal
2016-06-06 20:24:051310browse

文件上传的时候,不想上传到当前服务器,而是上传到我本地用自己电脑搭建的ftp服务器上,请问该如何实现

回复内容:

文件上传的时候,不想上传到当前服务器,而是上传到我本地用自己电脑搭建的ftp服务器上,请问该如何实现

走中转咯 还是要你后台的服务器转一道
还没听说过这么干的 太危险

你把上传文件的php程序放在你的本地电脑就好了

题主,我是这样理解的,网站发布在服务器上面,你访问的也是服务器的网站,而上传的时候,你是想让程序上传文件直接上传到你的电脑而不是服务器的网站目录,是这样吗?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn