DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Upload plugin - for developers  (Read 11,301 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Upload plugin - for developers
« on: February 15, 2008, 11:15 AM »
My open-source online piano game: https://github.com/musicope/game

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Upload plugin - for developers
« Reply #1 on: February 15, 2008, 12:06 PM »
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
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: Upload plugin - for developers
« Reply #2 on: February 15, 2008, 12:12 PM »
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
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: Upload plugin - for developers
« Reply #3 on: February 15, 2008, 01:06 PM »
Ok new version:) every folder you would like to upload must have upload_setting.xml
with
Code
<?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, 01:08 PM by czechboy »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Upload plugin - for developers
« Reply #4 on: February 15, 2008, 01:30 PM »
very cool.  and make sure not to pack that file when you zip :)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: Upload plugin - for developers
« Reply #5 on: February 15, 2008, 01:34 PM »
it is not packing it.. right?
My open-source online piano game: https://github.com/musicope/game

Original address: https://www.donationcoder.com/forum/index.php?topic=12304.0