View Single Post
  #4   Spotlight this post!  
Unread 26-02-2014, 19:10
Joey1939's Avatar
Joey1939 Joey1939 is offline
Registered User
AKA: Joey Holliday
FRC #1939 (Kuhnigits)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Kansas City, Missouri
Posts: 139
Joey1939 has a spectacular aura aboutJoey1939 has a spectacular aura aboutJoey1939 has a spectacular aura about
Re: Creating a folder on the cRIO

Maybe, instead of calling .delete() and .create() on the same object, try making a new instance of the FileConnection with the same file path to call .create() after you called .delete() on the first FileConnection. (Don't forget to close the first file connection before you make a new one; FileConnection.close()).

I don't know exactly how the delete() method works, but it may make the create() method then unusable.
Reply With Quote