You Are Here:

Community: Developer Discussion Boards

#1 Old Multiple access to file on file system - 2008-05-22, 13:00

Join Date: Jun 2007
Posts: 534
Location: Mumbai
Send a message via Yahoo to prakash.raman
prakash.raman's Avatar
prakash.raman
Offline
Super Contributor
Hi, i am trying to write a file using FC on one thread and read the same from other. Well till one connection is open, it gives error for accessing from other on both S40 and S60 phone. I have also tried setting isReadable(true) for file connection but is not working. On S60 it give error with code -14 which is a symbian error and defined as KErrBusy.
since reading writing to same file at an instance should not be problem, i dont know why this problem coming and what will be the solution. it would be my pleasure if any one can put some light over this.

Prakash
Reply With Quote

#2 Old Re: Multiple access to file on file system - 2008-05-22, 13:16

Join Date: Nov 2007
Posts: 2,029
Location: Rome, Italy
Send a message via MSN to jappit Send a message via Skype™ to jappit
jappit's Avatar
jappit
Offline
Forum Nokia Champion
A possible workaround: you could try using Connector.READ_WRITE mode, and use the same FileConnection instance in both your threads to read and write the same file.

Pit


www.jappit.com - mobile and web blog
Reply With Quote

#3 Old Re: Multiple access to file on file system - 2008-05-22, 16:03

Join Date: Jun 2007
Posts: 534
Location: Mumbai
Send a message via Yahoo to prakash.raman
prakash.raman's Avatar
prakash.raman
Offline
Super Contributor
hi jappit, thanx for ur reply but i think this wont work in my case as both the threads are in differnt component of app, and cant share the members between these two.
Prakash
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Carbide.c++ 1.2为何不能update? 谁能给我一份能够安装在UIQ3.1手机上的TRK.sisx linlone Symbian 3 2008-01-10 07:31
File system fails on real device!! symbee Symbian User Interface 20 2006-11-14 07:37
file system access yosrime Mobile Java General 3 2006-10-17 02:44
Tips on using NDS 1.1 mitts Symbian Tools & SDKs 7 2006-01-18 17:07
nokia 7210 modem via IR doesn't work ! oussamaaiadi PC Suite API and PC Connectivity SDK 1 2003-03-06 11:46

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia