![]() |
|
A way to authorize and upload pictures from a desktop application? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: A way to authorize and upload pictures from a desktop application? (/thread-9655.html) |
A way to authorize and upload pictures from a desktop application? - eugene - 2012-02-17 Hi all, I am developing a photo application which should be connected to a web gallery, so that the users should be able to upload the images from the application to the gallery. Is there a way to authenticate and upload the photos to zenphoto powered gallery from a C/C++ application? Any API or example code? Thanks in advance, A way to authorize and upload pictures from a desktop application? - acrylian - 2012-02-17 We don't have an API for that. But you can use FTP directly. A way to authorize and upload pictures from a desktop application? - sbillard - 2012-02-18 There was once apon a time an implemetaton of such a feature for Windows systems. Unfortunately I could never get it to work for me. And I no longer remember what it was called. Anyway, your application will have to issue a "POST" to the server passing the logon credentials. Take a look at the logon form for what gets posted. You will also have to provide a php script (plugin, I presume) to handle the upload since our upload handlers are pretty touchy about where they get their Probably implementing an FTP protocol is a better approach. A way to authorize and upload pictures from a desktop application? - eugene - 2012-02-18 Thanks all for replies. Am I right that I can use FTP with the user's login/pwd (those he uses to login to the gallery)? A way to authorize and upload pictures from a desktop application? - acrylian - 2012-02-18 No, FTP is of course completely independent from Zenphoto as it is direct access to the server/webspace bypassing anything.w The old windows tools are listed here: |