Closed (fixed)
Project:
Save to FTP
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
16 Apr 2009 at 21:17 UTC
Updated:
23 Feb 2010 at 01:50 UTC
HTML Export (on which I am now a co-maintainer, and also by the way which only saves files locally so isn't the same functionality) has a function to copy over all the css from the drupal sites from the themes and modules and also automatically takes care of any stray pointing links. I think this would be a good feature to incorporate as an optional checkbox on the publish to ftp form. That way you could either export based on your current site or you could set your HTML in the admin settings.
Comments
Comment #1
coderintherye commentedThis feature has been added to the latest dev release. However, it is still in need of some testing and I need to figure out a way to cut down on the amount of time it takes to get all the files copied over, otherwise a php timeout error can occur. Currently, this module won't copy over the sites folder, but it will copy over the js and css from everything else. I think one solution will be zipping all the files up and then putting the zip file on the server and unzipping using a system() function, but this seems like it could be a potential security issue if done that way.
Comment #2
coderintherye commentedRevisting this, it doesn't seem that zipping is a viable solution either, unless I make the stipulation that you will have to manually unzip on your target the server. The reason is that although php 5.2 has zipping functionality, there isn't any way to ensure that the target ftp server will be able to unzip the files (unless perhaps adding a zip program along with any zipped files, but that would create even more overhead...)
Comment #3
coderintherye commentedFixed in 6.x-2.x release