Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9223457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:05:11+00:00 2026-06-18T04:05:11+00:00

I’ve got an Air application that needs to reference files located in a shared

  • 0

I’ve got an Air application that needs to reference files located in a shared network folder. From within the Air application running on Windows I can access the share through a File object as follows:

var folder:File = new File("file:///\\\\server\\share\\parent_folder\\folder");

On a Mac, that doesn’t work, and I can’t find any variation on the path that does. I can connect to the server through the Finder using the path “smb://server/share/parent_folder/folder”, and then I can construct a File object through some (seemingly) convoluted volume mount with a name that seems to vary depending on how many existing mounts there are to “//server/share” (e.g., “/Volumes/share”, “/Volumes/share-1”, etc.)

Is there a way from within an Air application to connect to a shared server folder on a Mac, without the user needing to connect through the Finder first? Worst case, is there a way to execute a console command from within Air? Presumably I could then mount the share myself. I can’t think of a work-around other than requiring Mac users to first manually connect to the server through the finder, then supply the app with the share path every time they run the app!

Thanks in advance for any workable solution!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:05:13+00:00Added an answer on June 18, 2026 at 4:05 am

    If I remember correctly, you have to mount the network path. But a user can mount a network drive and have it reconnect automatically when the user logs in so they don’t have to reconnect every time they use your app. Take a look at http://osxdaily.com/2010/09/20/map-a-network-drive-on-a-mac/ which has instructions for automatically connecting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a bunch of posts stored in text files formatted in yaml/textile (from
I am currently running into a problem where an element is coming back from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a small JavaScript validation script that validates inputs based on Regex. I
I am doing a simple coin flipping experiment for class that involves flipping a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.