I am using NStask to get the folder size.Its working fine for normal file paths like home/ABC/Users/testUser/Documents. But it is not showing any output for file path like home/ABC/Users/testUser/Ω≈ç∂√√√∂ƒ∂.However I am getting proper output for the same file path on terminal. Any suggestion?
NSString* userName = @"test123_test123";
NSString* password = @"test";
NSString* serverIP = @"200.144.172.210";
NSString* sizeFolderPath = [[NSBundle mainBundle] pathForResource:@"demoUtilities" ofType:nil];
NSString* xml= @"--test";
NSString* passwordArg = [NSString stringWithFormat:@"--pwd-=%@",password];
NSString *filePath = @"UsersMac/Users/test/Ω≈ç∂√√√∂ƒ∂";
NSString* address = [NSString stringWithFormat:@"%@@%@::home/%@", userName, serverIP,filePath];
NSArray* arguments = [NSMutableArray arrayWithObjects:xml,passwordArg,address,nil];
TestCommandExcecuter *cmExec = [[TestCommandExcecuter alloc]init];
[cmExec setCommandString:sizeFolderPath];
[cmExec setCommandArguments:arguments];