ファイルのダウンロード

サンプル

保存先ディレクトリを指定
@"デフォルトのディレクトリ/tmp"

というパスを文字列で作り出す。

NSString *directoryPath = [[NSHomeDirectory() stringByAppendingPathComponent:@"tmp"] retain];
ファイル名まで込みのパスを指定
@"デフォルトのディレクトリ/tmp/test.zip"
    NSString *fileName = @"test.zip";
    NSString *filePath = [[[directoryPath stringByAppendingPathComponent:fileName] stringByStandardizingPath] retain];