0

I'm writing an iPad App, which downloads Files from a DMS (over https). This works fine. But now I need to download large video files from a shared network drive over a vpn connection.

When I create an NSURL object with

[NSURL fileURLWithPath:@"\\\\filer1\shareName\myFoler\movie.mp4" isDirectory:NO];

and a NSURLRequest with

[NSURLRequest requestWithURL:url];

it results in the following URL:

file://localhost/%5C%5Cfiler1%5CshareName%5CmyFolder%5Cmovie.mp4

Why does it add "localhost" before my \filer1?

And how can i download Files from a shared network drive?

Thank you for your help! cheers, mike

mike
  • 15
  • 3
  • possible duplicate of [Does iOS support file operations via SMB?](http://stackoverflow.com/questions/3660795/does-ios-support-file-operations-via-smb) – Bastian Feb 07 '13 at 15:55

1 Answers1

0

ios has no support for direct access for files on windows network shares.

see also this question: SMB/samba support on iOS? or Does iOS support file operations via SMB?

Community
  • 1
  • 1
Bastian
  • 10,403
  • 1
  • 31
  • 40