• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
any way to get or catch the last error generated by a running application through code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: RE: NSPopupButtonCell bindings issues
  • Next by Date: Re: Which approach is the best one
  • Previous by thread: Re: Many-to-many relationships with bindings?
  • Next by thread: Menu Items "Save" "Save As" and "Revert" won't enable for Document
  • Index(es):
    • Date
    • Thread