简体   繁体   English

如何仅通过管理员访问权限来复制Drupal 7站点而没有FTP

[英]How to Copy Drupal 7 site with only Admin access No FTP

I broke up with my boyfriend so he changed the FTP password to my Drupal 7 website he was hosting through his host. 我和男朋友分手,所以他将FTP密码更改为他通过主机托管的我的Drupal 7网站。

I still have admin access but that's about it. 我仍然拥有管理员权限,仅此而已。

I can get the database(s). 我可以获得数据库。

But without FTP I can't get the files. 但是,如果没有FTP,我将无法获取文件。

Ran this on a Drupal basic page 在Drupal基本页面上运行

echo ini_get("disable_functions");

The following functions are disabled 以下功能被禁用

exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd, proc_close,proc_open,dl,popen,show_source exec,系统,通过,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source

Is there anything I can do!? 有什么我可以做的!?

Without shell access or ftp access no. 没有外壳访问或ftp访问。 You can try and contact the host and ask for a dump, but if it is under his name I doubt they would do anything for you. 您可以尝试与主持人联系并要求进行转储,但是如果它是他的名字,我怀疑他们会为您做任何事情。 Or even just ask your boyfriend to be nice and see what comes of it (never know till you ask). 甚至只是请你的男朋友变得友善,看看会带来什么(直到你问了才知道)。

Other then that sounds like you are out of luck. 除此之外,这听起来好像您不走运。

If you've got backup_migrate you could get the database. 如果您具有backup_migrate,则可以获取数据库。 If you've got views you could build a view to list the files or anything else you need. 如果您有视图,则可以构建视图以列出文件或其他所需的视图。 This would be difficult but it could work. 这将是困难的,但可能会起作用。

Edit: 编辑:

From memory, a user can browse their files with IMCE if that is installed. 如果已安装,则用户可以从内存中使用IMCE浏览其文件。 You could get it to browse the same directory that the file field uses. 您可以获取它来浏览文件字段使用的相同目录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM