A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: URLRequest with unmapped network drive

  1. #1
    Join Date
    Jul 2008

    URLRequest with unmapped network drive

    Hello all,
    I'm using Flash CS6 outputting to AIR to work on a shared network (not internet). I am trying to reference some files on a shared office server drive. I would usually just reference the mapped drive G:... but due to the amount of people using this, I cannot guarantee that everyone will name the server drive using the same letter. So, I need to reference using the long server name.

    Trying but failing (Main question is how to properly write this... if possible):
    var req:URLLoader = new URLLoader(new URLRequest("//serverName/rest-of-path-here"));
    instead of (which works for properly mapped):
    var req:URLLoader = new URLLoader(new URLRequest("G:/rest-of-path-here"));
    I get the following error:

    Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: //serverName/rest-of-path-here

    Thanks in advance!
    Last edited by jspears; 09-01-2013 at 11:04 PM. Reason: typo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center