Loading ...
Sorry, an error occurred while loading the content.

Re: Aborting file upload

Expand Messages
  • Thomas S. Sha
    ... As file upload makes use of an iframe to facilitate the transaction, there is no provision to abort it as with XHR-facilitated transactions. The
    Message 1 of 2 , Sep 26, 2006
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "psa_cs" <psa_cs@...> wrote:
      >
      > Hi all,
      > How can i abort the file upload process? According to documentation,
      > abort(connectionObj) will abort the async transaction. but in file
      > upload case no transaction objects are returned from asyncRequest().
      > So how can i use that abort method to cut-off the connection?
      >
      > Is der any shortcut method to this? i'm waiting for ur reply.

      As file upload makes use of an iframe to facilitate the transaction,
      there is no provision to abort it as with XHR-facilitated
      transactions. The documentation could be better improved to
      communicate this limitation; it will be updated shortly.

      Regards,
      Thomas
    Your message has been successfully submitted and would be delivered to recipients shortly.