Houston we have upload !!!

devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
clap.gifclap.gif

Finally got uploads working icon10.gificon10.gificon10.gif

David
David Parry
SmugMug API Developer
My Photos

Comments

  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited March 11, 2005
    Congratulations!
    devbobo wrote:
    clap.gifclap.gif

    Finally got uploads working icon10.gificon10.gificon10.gif

    David
    So, what was the main problem? Just curious..

    Cheers!1drink.gif
    "May the f/stop be with you!"
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited March 11, 2005
    Nikolai wrote:
    So, what was the main problem? Just curious..

    Cheers!1drink.gif
    The main problem was understanding!!...i had to create the multi-part form data manually and i wasn't really sure how.

    Gotta love the internet.
    David Parry
    SmugMug API Developer
    My Photos
  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited March 11, 2005
    If it's any consollation to you
    devbobo wrote:
    The main problem was understanding!!...i had to create the multi-part form data manually and i wasn't really sure how.

    Gotta love the internet.
    Pretty much all SE xml/http stuff is done manually.
    Hence under 600Kb exe, which is pretty fast, too:-).
    Importing something like DOM as TLB (early binding) would make it possibly incompatible and bloated, doing late binding would make it slower..

    Gotta get your hands dirty if you want the results:-)

    Cheers!1drink.gif
    "May the f/stop be with you!"
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited March 11, 2005
    All my other XML-RPC calls were done by using a standard interface that comes with Mozilla.

    At present, my jar file is about 18KB, or about 100KB expanded. But I haven't done much optimisation.

    David
    Nikolai wrote:
    Pretty much all SE xml/http stuff is done manually.
    Hence under 600Kb exe, which is pretty fast, too:-).
    Importing something like DOM as TLB (early binding) would make it possibly incompatible and bloated, doing late binding would make it slower..

    Gotta get your hands dirty if you want the results:-)

    Cheers!1drink.gif
    David Parry
    SmugMug API Developer
    My Photos
  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited March 11, 2005
    18Kb jar
    devbobo wrote:
    All my other XML-RPC calls were done by using a standard interface that comes with Mozilla.

    At present, my jar file is about 18KB, or about 100KB expanded. But I haven't done much optimisation.

    David
    Does it mean there has to be java support installed on the client's machine?
    "May the f/stop be with you!"
  • onethumbonethumb Administrators Posts: 1,269 Major grins
    edited March 12, 2005
    Nikolai wrote:
    Does it mean there has to be java support installed on the client's machine?

    FYI, approximately 96.39% of those who browse smugmug have Java. So you're probably golden.

    Don
  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited March 12, 2005
    Thank you!
    onethumb wrote:
    FYI, approximately 96.39% of those who browse smugmug have Java. So you're probably golden.
    Don
    Can I have you take a look at this issue, please?

    Cheers!1drink.gif
    "May the f/stop be with you!"
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited March 13, 2005
    I may be wrong here, but while jar files are typically related to java. A jar file is actually just an archive format like zip, cab, etc.

    You can actually rename a jar with a zip extension and open it.

    So for the stuff I am doing, no I don't think they need java support.

    David

    Nikolai wrote:
    Does it mean there has to be java support installed on the client's machine?
    David Parry
    SmugMug API Developer
    My Photos
  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited March 13, 2005
    Is it a windows/vb/.. script?
    devbobo wrote:
    I may be wrong here, but while jar files are typically related to java. A jar file is actually just an archive format like zip, cab, etc.

    You can actually rename a jar with a zip extension and open it.

    So for the stuff I am doing, no I don't think they need java support.

    David
    The reason I'm asking is that 100Kb of yours is a fairly small deployable. Unless you do it in K&R C-style (or console app), windows exes are usually pretty hefty..
    The only option to do a lot of things in a such a small package is to rely on some sort of a runtime support (windows host, VBrun, Java, .NET, PHP, Perl, etc.) ...
    Just curious..headscratch.gif
    "May the f/stop be with you!"
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited March 13, 2005
    Nikolai wrote:
    The reason I'm asking is that 100Kb of yours is a fairly small deployable. Unless you do it in K&R C-style (or console app), windows exes are usually pretty hefty..
    The only option to do a lot of things in a such a small package is to rely on some sort of a runtime support (windows host, VBrun, Java, .NET, PHP, Perl, etc.) ...
    Just curious..headscratch.gif
    The reason why it's so small is that it's a Mozilla Firefox extension. So obviously it needs Mozilla Firefox installed, then it just uses javascript, xml and existing mozilla interfaces.

    It's pretty cool stuff.

    David
    David Parry
    SmugMug API Developer
    My Photos
  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited March 13, 2005
    Oh, a plug-in..
    devbobo wrote:
    The reason why it's so small is that it's a Mozilla Firefox extension. So obviously it needs Mozilla Firefox installed, then it just uses javascript, xml and existing mozilla interfaces.

    It's pretty cool stuff.

    David
    Gotchathumb.gif
    "May the f/stop be with you!"
Sign In or Register to comment.