[mashup-dev] [jira] Closed: (MASHUP-19) File Host Object has no
direct way to determine whether a file exists or not.
Jonathan Marsh (JIRA)
jira at wso2.org
Wed Jun 6 13:33:15 PDT 2007
[ http://www.wso2.org/jira/browse/MASHUP-19?page=all ]
Jonathan Marsh closed MASHUP-19.
--------------------------------
> File Host Object has no direct way to determine whether a file exists or not.
> -----------------------------------------------------------------------------
>
> Key: MASHUP-19
> URL: http://www.wso2.org/jira/browse/MASHUP-19
> Project: WSO2 Mashup Server
> Issue Type: Improvement
> Environment: Private build 4/30, Windows Vista
> Reporter: Jonathan Marsh
> Assigned To: Thilina Gunarathne
> Fix For: alpha_1
>
> Attachments: storexml.js
>
>
> Per http://www.wso2.org/wiki/display/mashup/File+Host+Object there doesn't seem to be a way to determine whether a file exists before reading from it. A read returns an empty string, and a length zero, but also causes the file to come into existence. See the enclosed JavaScript, who's "retrieve" operation tries to determine whether a file exists or not prior to reading from it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Mashup-dev
mailing list