Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Upload from Windows XP without user intervention  (Read 10761 times)

0 Members and 1 Guest are viewing this topic.

KurtAlden

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Upload from Windows XP without user intervention
« on: January 15, 2007, 01:49:06 pm »

Hello there

I've written a program (in vb.net) to generate image files and need the ability to upload to Coppermine without user intervention, ie with a single click (after the user specifies name, password and gallery). FTP is not allowed. There appear to be a couple of options but I can't get any of them working. The options are..

1) Running Web Publishing Wizard with paramaters so it uploads automatically

Problem - can't get parameters right, not sure if this is possible

2) Directly injecting the images into the MySql database using the mysql dll

Problem - Seems a bit risky, not sure how user id and password and albums would work

Does anyone have any other suggestions for this, or maybe suggestions on how I can get 1) working (or maybe 2) though 1) is my preferred option).

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upload from Windows XP without user intervention
« Reply #1 on: January 16, 2007, 12:11:07 am »

Try the Coppermine API (originally designer for Koppermine, a KDE uploading client): http://forum.coppermine-gallery.net/index.php?topic=17097.0
Logged

KurtAlden

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Upload from Windows XP without user intervention
« Reply #2 on: January 18, 2007, 04:23:21 pm »

Try the Coppermine API (originally designer for Koppermine, a KDE uploading client): http://forum.coppermine-gallery.net/index.php?topic=17097.0

I've actually already tried that - there's no documentation though so I have no idea where to start with it. I'm currently trying to start XP Publishing Wizard with paramaters to upload automatically but that's not working. I'm still having a play with the API though but I'm not a php guy so I'm a bit stuck.
Logged

Nibbler

  • Guest
Re: Upload from Windows XP without user intervention
« Reply #3 on: January 18, 2007, 04:53:58 pm »

Can you http post the file to db_input.php?
Logged

KurtAlden

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Upload from Windows XP without user intervention
« Reply #4 on: January 19, 2007, 10:51:13 am »

Can you http post the file to db_input.php?

Hey fella

Mmm, that's an idea. I'm looking into that one as it could be a working route for my program, I'm just struggling a bit to work out what the parameters are for db_input.php - as I said, I'm not really a PHP person so it's a bit of a struggle. However, using that does obviate the need for the api so it could be the route to follow so people can use it for vanilla Coppermine installs.

Thinking ahead slightly, I was hoping to write a dll for .net so it would be easier to develop a desktop application to manage your Coppermine pics (Woppermine maybe :-) but using db_input.php wouldn't do as we'd need to get a list of albums, etc so I think it's back to the API for that part.

In the mean time though it would be great if you could help me out a little with db_input parameters - this is really frustrating me as it should be easy but I seem to get stumped at every hurdle - the only way to upload with my app is ftp - someone has offered me free hosting on a Coppermine install and I'd love to be able to offer people the chance to upload their pics to Coppermine with one click as it's make life much easier for them.

Cheers
K
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 21 queries.