ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > FARR Plugins and Aliases

Upload plugin - for developers

(1/2) > >>

czb:
More info:
http://czb.dcmembers.com/upload_plugin.html
Download
http://czb.dcmembers.com/Plugins/Upload_plugin/Upload_plugin.zip

It is with limited testing. So backup!! before use.

mouser:
very interesting idea.

i wonder if it might be smart to developers write a special uploader config file for their plugins which tells the upload plugin where to work and some settings like ftp login and password info.

then you would ONLY display the plugin folders which have such a file (meaning they are the author of it), and you would get extra info you need from that file (ftp password, etc.).  just make sure not to bundle that file into the zip! (you should also not bundle the .cfi file, since that is users local options)

alternatively you could have the uploader config files not even be in the farr plugin directory, but let them be placed in users documents folder or someplace else and include info about the source directory.  the advantage of this is that the user could configure directories for uploading which arent even in the farr folder, and might be useful for other things.

there are TONS of potential uses for basic code you've just written to zip and upload.. i'm sure people will start making more requests for uploading type plugin.

czb:
cfi is corrected
the special file is good idea ;) I will do it

czb:
Ok new version:) every folder you would like to upload must have upload_setting.xml
with

--- ---<?xml version="1.0"?>
<options>
<author_web value=""/>
<ftp value=""/>
<ftpweb value=""/>
<ftpfolder value=""/>
<username value=""/>
<password value=""/>
</options>
and you have to set path (e.g. C:\Program Files\FindAndRunRobot\Plugins) of the plugin folder in upload plugin settings

mouser:
very cool.  and make sure not to pack that file when you zip :)

Navigation

[0] Message Index

[#] Next page

Go to full version