Page 1 of 1

Imageshack Direct Upload?

Posted: 26 Jan 2009 22:07
by jsc572
Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?

Re: Imageshack Direct Upload?

Posted: 26 Jan 2009 22:17
by jsc572
to be more clear, below is the screenshot of what DO upload command shows after images are successfully loaded to the site. I'm wondering if the same function can be replicated in XYP. Thanks.

Image

Re: Imageshack Direct Upload?

Posted: 26 Jan 2009 22:18
by admin
jsc572 wrote:Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?
How does this upload work? I only can answer this if I get some technical details.

But one thing in advance: FTP uploads are not supported by XY.

Re: Imageshack Direct Upload?

Posted: 26 Jan 2009 22:27
by jsc572
admin wrote:
jsc572 wrote:Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?
How does this upload work? I only can answer this if I get some technical details.

But one thing in advance: FTP uploads are not supported by XY.
Well, it's definitely NOT FTP:) the command in DO is "Image UPLOAD=imageshack", but I don't know the actual script behind it. Any DirectoryOpus user on the forum? I think it's a very handy feature for those upload tons of pictures to Imageshack.

Re: Imageshack Direct Upload?

Posted: 26 Jan 2009 22:38
by admin
jsc572 wrote:
admin wrote:
jsc572 wrote:Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?
How does this upload work? I only can answer this if I get some technical details.

But one thing in advance: FTP uploads are not supported by XY.
Well, it's definitely NOT FTP:) the command in DO is "Image UPLOAD=imageshack", but I don't know the actual script behind it. Any DirectoryOpus user on the forum? I think it's a very handy feature for those upload tons of pictures to Imageshack.
If they use the Http protocol it should be easily doable using scripting... I just need the magic imageshack upload formula...

Re: Imageshack Direct Upload?

Posted: 26 Jan 2009 22:42
by avsfan
admin wrote:If they use the Http protocol it should be easily doable using scripting... I just need the magic imageshack upload formula...
Even if the underlying mechanism is ftp, I would guess that it'd be a fairly straightforward script (for someone who knows what they're doing, of course! :) ) to integrate with one of the many good (and free) ftp clients (filezilla, coreftp lite, etc..) much as has been done with terra copy...

Perhaps someone will know what is going on behind the scenes -- then we'll know what we're up against!

Re: Imageshack Direct Upload?

Posted: 26 Jan 2009 22:48
by j_c_hallgren
I just did a bit of looking and found a nbr of various pgms/add-ons/BHO's/etc for this linked at their website..some require .NET, some are standalone, etc. .. but I'd say that this may be a tangent that may be only usable by a limited subset of those who use on-line photo storage...if we start down this "rathole", then what about other ones, like Smugmug, Flickr, etc? It could open up a box of snakes, maybe.

Just my $.01!

Re: Imageshack Direct Upload?

Posted: 27 Jan 2009 05:40
by serendipity
admin wrote:
jsc572 wrote:
admin wrote:
jsc572 wrote:Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?
How does this upload work? I only can answer this if I get some technical details.

But one thing in advance: FTP uploads are not supported by XY.
Well, it's definitely NOT FTP:) the command in DO is "Image UPLOAD=imageshack", but I don't know the actual script behind it. Any DirectoryOpus user on the forum? I think it's a very handy feature for those upload tons of pictures to Imageshack.
If they use the Http protocol it should be easily doable using scripting... I just need the magic imageshack upload formula...
There are several free uploaders out there, I guess in XY's case Don needs to request a XML API from Imageshack guys. I saw that here: http://reg.imageshack.us/content.php?page=developer
Hmmm not sure about that, unless there is a scripting way to do it.

Re: Imageshack Direct Upload?

Posted: 27 Jan 2009 09:15
by admin
serendipity wrote:
admin wrote:
jsc572 wrote:
admin wrote:
jsc572 wrote:Hi,

I'm looking for way to do one-click upload to my Imageshack account from XYPlorer. Currently, Directory Opus has such a command which is extremely handy, select image files and click the frog button and you are done. Can the same thing be accomplished with user command or script in XYP?
How does this upload work? I only can answer this if I get some technical details.

But one thing in advance: FTP uploads are not supported by XY.
Well, it's definitely NOT FTP:) the command in DO is "Image UPLOAD=imageshack", but I don't know the actual script behind it. Any DirectoryOpus user on the forum? I think it's a very handy feature for those upload tons of pictures to Imageshack.
If they use the Http protocol it should be easily doable using scripting... I just need the magic imageshack upload formula...
There are several free uploaders out there, I guess in XY's case Don needs to request a XML API from Imageshack guys. I saw that here: http://reg.imageshack.us/content.php?page=developer
Hmmm not sure about that, unless there is a scripting way to do it.
Ah, I see. Well, no time for this now. But it looks like it's doable. The other question is if I want to do this. Writing extra code to support a particular web business? ...hmmm...

Re: Imageshack Direct Upload?

Posted: 27 Jan 2009 09:42
by jacky
This can probably be done by launching an external app to do the upload. To do it within XY directly, e.g. in scripting, I think what would be needed in a way to POST a request. Currently we can do GET's with readurl, if there was support for a POST it could be possible to send the form with the file(s) to the website and show the results using html(). Of course, using some free uploader.exe sounds like a much easier solution though...

Re: Imageshack Direct Upload?

Posted: 27 Jan 2009 09:46
by admin
jacky wrote:This can probably be done by launching an external app to do the upload. To do it within XY directly, e.g. in scripting, I think what would be needed in a way to POST a request. Currently we can do GET's with readurl, if there was support for a POST it could be possible to send the form with the file(s) to the website and show the results using html(). Of course, using some free uploader.exe sounds like a much easier solution though...
But html() can be used to send POSTs using a <form>, can't it? God, I'm starting to ask questions about my own program... :)

Re: Imageshack Direct Upload?

Posted: 27 Jan 2009 10:17
by jacky
admin wrote:But html() can be used to send POSTs using a <form>, can't it? God, I'm starting to ask questions about my own program... :)
Well, yes in that you can use it to show a page with a <form>, fill it out and click submit of course, it's a full embedded IE we have there. So one can totally load the imageshack website (or a smaller redesigned page for that matter) and use that, but it's not possible to have the script fill it automatically and POST it.

I guess with a little javascript one could auto-submit the form, but for obvious security reason it's not possible to pre-fill any input type=file field, so we would still need the user to have a form, click browse to select the file and then hit submit. Which I don't think serves the purpose of auto-uploading, which is not to have to do all that I think.

Re: Imageshack Direct Upload?

Posted: 27 Jan 2009 10:45
by admin
Yes, right.