topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday December 10, 2024, 9:01 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Upload plugin - for developers  (Read 8884 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Upload plugin - for developers
« on: February 15, 2008, 05:15 AM »
More info:
http://czb.dcmembers...m/upload_plugin.html
Download
http://czb.dcmembers...in/Upload_plugin.zip

It is with limited testing. So backup!! before use.
My open-source online piano game: https://github.com/musicope/game

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Upload plugin - for developers
« Reply #1 on: February 15, 2008, 06:06 AM »
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

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Upload plugin - for developers
« Reply #2 on: February 15, 2008, 06:12 AM »
cfi is corrected
the special file is good idea ;) I will do it
My open-source online piano game: https://github.com/musicope/game

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Upload plugin - for developers
« Reply #3 on: February 15, 2008, 07:06 AM »
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
My open-source online piano game: https://github.com/musicope/game
« Last Edit: February 15, 2008, 07:08 AM by czechboy »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Upload plugin - for developers
« Reply #4 on: February 15, 2008, 07:30 AM »
very cool.  and make sure not to pack that file when you zip :)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • View Profile
    • My open-source online piano game
    • Donate to Member
Re: Upload plugin - for developers
« Reply #5 on: February 15, 2008, 07:34 AM »
it is not packing it.. right?
My open-source online piano game: https://github.com/musicope/game