Service for file writing?

Jay Garcia6 Oct 2009 7:29 AM
Just now learning Browser plus for an ExtJS.com blog post. I think it would be nice to be able to write files on the disk where the user has given BP permission to write.


Thanks,
-Jay
Steve6 Oct 2009 8:36 AM
Hi Jay.

Do you have a specific use case you're thinking of? Offline caching??

Also, please note there are a number of experimental Ruby and C++ services on GitHub. None quite fill the bill, but with those links and the Service Explorer you get an idea of some other features possible.

Regards,

Steve


QUOTE (tdginnovations @ Oct 6 2009, 06:29 AM) <{POST_SNAPBACK}>
Just now learning Browser plus for an ExtJS.com blog post. I think it would be nice to be able to write files on the disk where the user has given BP permission to write.


Thanks,
-Jay
Jay Garcia6 Oct 2009 1:06 PM
Hi Steve,

My first kneejerk reaction was to provide ability to write cropped images to disk. The photodrop demo allows the ability to read the images, crop and upload. But what if one wanted to save the changes to the local disk? :)
Steve6 Oct 2009 3:43 PM
QUOTE (tdginnovations @ Oct 6 2009, 12:06 PM) <{POST_SNAPBACK}>
Hi Steve,

My first kneejerk reaction was to provide ability to write cropped images to disk. The photodrop demo allows the ability to read the images, crop and upload. But what if one wanted to save the changes to the local disk? :)Steve
Jay Garcia13 Oct 2009 9:57 AM
QUOTE (steven_spencer @ Oct 6 2009, 02:43 PM) <{POST_SNAPBACK}>
Good idea and in theory, something like that may be possible right now. We haven't tried yet, but a scenario like this may be possible:

  1. Image Alter provides a local URL that points to the modified image
  2. Stuff above URL in "iframe src=url width=0 height=0" tag
  3. In theory, browser automatically pops up save as dialog from iframe, and user saves file
  4. ... Can iframe be forced to pop up save as dialog, or is it going to want to display image. Don't know. But I know you can put *.exe type files in iframe and it'd work that way. This may be worth testing :)-Jay