Welcome Guest.   Make a donation to an author on the site July 29, 2010, 03:48:07 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2010! Download 24 new programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Upload plugin - for developers  (Read 2438 times)
czb
Moderator
*****
Posts: 330



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« on: February 15, 2008, 05:15:35 AM »

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

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

My Farr2 Plugins: http://czb.dcmembers.com/
mouser
First Author
Administrator
*****
Posts: 24,001



plarker mouser see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: February 15, 2008, 06:06:22 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.
Logged
czb
Moderator
*****
Posts: 330



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: February 15, 2008, 06:12:41 AM »

cfi is corrected
the special file is good idea Wink I will do it
Logged

My Farr2 Plugins: http://czb.dcmembers.com/
czb
Moderator
*****
Posts: 330



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: February 15, 2008, 07:06:21 AM »

Ok new version:) every folder you would like to upload must have upload_setting.xml
with
[copy or print]
<?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
« Last Edit: February 15, 2008, 07:08:57 AM by czechboy » Logged

My Farr2 Plugins: http://czb.dcmembers.com/
mouser
First Author
Administrator
*****
Posts: 24,001



plarker mouser see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: February 15, 2008, 07:30:21 AM »

very cool.  and make sure not to pack that file when you zip smiley
Logged
czb
Moderator
*****
Posts: 330



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: February 15, 2008, 07:34:02 AM »

it is not packing it.. right?
Logged

My Farr2 Plugins: http://czb.dcmembers.com/
Pages: [1]   Go Up
  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
SMF © 2006-2009, Simple Machines LLC

social bookmark this page