any way to get or catch the last error generated by a running application through code
any way to get or catch the last error generated by a running application through code
- Subject: any way to get or catch the last error generated by a running application through code
- From: "Amit Jain" <email@hidden>
- Date: Mon, 21 Aug 2006 21:23:53 +0530
Hi All,
In my application, I am trying to transfer a file through network.
There are two cases of failure:
1.If the file already exisits there then method returns NO.
2. IF network goes of ....but how to check this...
if iam transferring a long file and the network goes of in between then i am
unable to get this information
here whta i am tryin g to do is using this method..
NSFileManager *transferNetManager = [NSFileManager defaultManager];
NSDictionary *fsattrsInTransfer = [transferNetManager
fileSystemAttributesAtPath:sharedPath];
where sharedPath is the path where iam trying to transfer the file...
but at that time the Dictionary shud contain the 0 key-value pairs as there
is no file system existing at that path
but it returns 5 key-values (which this method returns when there is
network).
So is there any other way to do that or any mprovement in my coding ...
Waiting for the reply..
Thanks in avance.
Best Regards...
AmitJain
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden