Version .3 Beta

Rating: No reviews yet
Downloads: 8
Released: Jan 8, 2008
Updated: Jan 8, 2008 by weloytty
Dev status: -not yet defined by owner-

Recommended Download

Source Code Smugmug applications and source
source code, 828K, uploaded Jan 8, 2008 - 8 downloads

Release Notes

Description

This is the second packaged release. I recommend that you either install the code itself and build your own, or build this from source with the code packaged in here. If the pre-compiled binaries work for you, that's great, but my testing has been limited to XP on a virtual PC. Please let me know what works and what doesnt, and I will package this up with fixes, etc.

Goals for this BETA release:

- Add a WPF sample
- recieve and integrate any feedback

- Included:

stsm.exe:
This used to be called sendtosmugmug.exe, but that was too close to Omar Shahine's sendtosmugmug, and I didnt want to confuse anyone, especially because his software works. It is a CLI app I use to exercise the API. Be careful with this BETA software. While I do not have support for deleting (anything) in this, please note that it is beta software, and while I've tried to make sure it wont break anything, and I will feel really bad if it destroys all of your photos, there are no guarentees.

FillMyMug.exe
WPF sample. It's a coffee cup that you can sit on your desktop and drag and drop pictures onto, to send to your smugmug account. I just got it working, so it's very rough, but it shows more of how to use the API from your own apps.

SmugMugAPIWrapper.dll
DLL that does the work.

I've also included source for the above, and debug symbols.


System Requirements:

Should work on anything that supports .NET Framework 2.0. My extensive testing facilities include a virtual PC image of XPSP2, and things seem to work on it.


How to use the software:

Usage:

D:\documents\Visual Studio 2008\Projects\FillMyMug\sendtosmugmug\bin\Debug>.\stsm.exe

There are 0 arguments


stsm -U username@example.com -P password -F filename -A albumname -C Create Album -L A
-U username
-P password
-F filename (fully qualified. Can be a wildcard
-D directory (fully qualified. Can't use with -F
-A albumname
-C Create album (if necessary)
-L A List Albums (if -L A) or Categories (if -L C)
-CAPTION "caption in quotes" (with -F or -D)
-KEYWORDS "keywords,separated,by,commas,and,in,quotes" (with -F or -D)
-DOWNLOAD directory. Downloads files from a given album to a directory. Must be used with -A


Samples:

stsm.exe -U whoever@example.com -P whatever -F c:\hold\whatever.jpg -A "My Album Name" will send file whatever.jpg to the album given

stsm.exe -U whoever@example.com -P whatever -D c:\hold\ -A "My Album Name" -CAPTION "Hi There"
will send all files in c:\hold to Album "My Album Name" and caption them "Hi There"

As I said, the CLI app is more of a tool I use to test the DLL. I'll make fixes anyone sends in (mainly because I will be so excited someone actually saw it and took the trouble to ask for them) as time permits. The DLL is my main interest, I have several other projects going (a screensaver, a WPF uploading tool, etc) that all rely on the functionality involved here.

Reviews for this release

No reviews yet for this release.