title: Problem in NSData in downloading
body: <p>i have one file with name My book.doc .but at time of downloading from url ,NSData showing 0 bytes.
  Here is my code </p>
  
  <pre><code>   NSString *imagelist = @"http://SomeUrl/My book.doc";
  NSData *yourdoceFileData = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:imagelist]];
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask, YES);
  NSString *documentsDirectory = [paths objectAtIndex:0];
  NSString *yourFilePath = [documentsDirectory stringByAppendingPathComponent:reString];
  [yourdocFileData writeToFile:yourFilePath atomically:YES];
  </code></pre>
  
  <p>if i remove whitespace in filename and also in string ,then it works properly.
  tell me 1 thing is it possible for download with whitespace between filename. </p>