Is it possible to write to a file in a native iPhone application and have a Safari browser read from that file after having the browser opened from the native app?
Alternatively (and this would be great!), would it be possible to launch a mobile Safari webapp from a native iPhone app, and have that application access the OS 3.0 External...
How to find all files in directory? I have HTML page in some directory. Using JavaScript I want to get all existing files in some subdirectory ( get all file names or relative links to them, on a local machine)
...
Hi all,
I'm trying to pass some files from one app to another. I communicate the path (via a custom URL). The target application cannot read the file, citing errno 13 (permission denied).
I've checked the permissions on file - they're 0644 (O+R), the permissions on directories all the way up to the root are 755 (O+RX). From a POSIX per...
Hey Stack Overflow community,
Another Adobe AIR question for you:
Can we write files to the file system and leave them as read-only in Adobe AIR?
In the future, we would overwrite these files (or delete them and write a new one).
Thanks,
Mauricio
Update:
I tried the following approach, but I was still able to open the file, edit,...
how to get a list of files / folders as an IEnumerable and not an array?
the reason I want to do this is a have many folders with 20,000+ files in them, and i need to loop through all of them but do not want to wait for them to be compiled into an array. but just want to go through one at a time.
also i'm using .net 3.5 not v4
...
I'm using WinXP on clients and Win2003 on a server.
I need do atomic actions: create-moving files, insert-update database.
Are there any good practices for file system transactions using WinXP?
I know in Vista/Win2008/Win7 there are TxF transaction (NTFS) but not in WinXP.
I don't want use COM+, neither other complex solutions. Only n...
I've installed RAD Studio 2009 for Delphi & I want to be able to step in the system library units, such as SysUtils.pas & alike, but it seems that they where not installed with the IDE.
Is there any installation option to do this? Appreciate any help with this issue.
...
I work on a Mercurial repository that is checked out onto an Unix filesystem such as ext3 on some machines, and FAT32 on others.
In Subversion, I can set the svn:executable property to control whether a file should be marked executable when checked out on a platform that supports such a bit. I can do this regardless of the platform I'm ...
Hi,
is the iPhone's filesystem or the use of NSFilemanager restricted to any characters or is everything allowed (this is what I'm currently assuming after doing some research).
...
I am trying to write to a file. I do a file_exists check on it before I do fopen and it returns true (the file does exist).
However, the file fails this code and gives me the error every time:
$handle = fopen($filename, 'w');
if($handle)
{
flock($handle, LOCK_EX);
fwrite($handle, $contents);
}
else
{
echo 'ERROR: Unable to ...
Hi,
I need to accomplish the following task:
Attempt to move a file. If file is locked schedule for moving as soon as it becomes available.
I am using File.Move which is sufficient for my program. Now the problems are that:
1) I can't find a good way to check if the file I need to move is locked. I am catching System.IO.IOException b...
In my app I'm creating folders for archiving old stuff from a harddisc.
When creating a new folder I must copy all NTFS rights (Groups / Users) from the source folder to the newly created destination folder.
Here is what I've written so far:
FileSecurity fileSecurity =
File.GetAccessControl(filenameSource, AccessControlSections.Al...
Submitted for your approval, a story about a poor little java process trapped in the twilight zone...
Before I throw up my hands and just say that the NTFS partition is borked is there any rational explanation of what I am seeing. I have a file with a path like this
C:\Program Files\Company\product\config\file.xml
I am reading this ...
In Linux (CentOS 5.4), how do you force a process to stop locking a file system without killing the process?
I am trying to get my Java Webstart Application, running locally, to eject a CD. I do not have this problem if I am just browsing through the files using a JFileChooser, but once I read the contents of a file, I can no longer eje...
I'm writing an application that catalogs files, and attributes them with extra meta data through separate "side-car" files. If changes to the files are made through my program then it is able to keep everything in sync between them and their corresponding meta data files. However, I'm trying to figure out a way to deal with someone modif...
I want to search for files on the users mobile with specific extensions.
I tried searching but could not find any direct API's.
Is there a specific API's or is there tedious way of achieving the same.
Or is there a mechanism to call linux calls for find or something similar
Thanks
...
so I have a delete.php in folder abc so i call localhost/abc/delete.php . I want to be able to delete abc folder and all its contents from server when I call localhost/abc/delete.php How to do such thing?
...
I'm using a files system task inside a for each loop container, just as described here:
link text
However, when I execute the package I get this error:
[File System Task] Error: An error occurred with the following error message: "The process cannot access the file 'C:\Book1.xlsx' because it is being used by another process.".
I do no...
I'm working on an embedded project that has no file system, and our kludge of a database has ballooned in functionality. It's now so inefficient, we can't stand it any longer.
I'm trying to figure out if there's built-in support for a flat file system in SQLite. I've dug around http://sqlite.org for a while now, but haven't found anyt...
I am wondering what the stats are for different ways of storing (and therefore retrieving) content. Are there any charts out there, or do you guys have any quick tests to show, the requests per second, etc., of:
Direct (local) database access, vs.
HTTP Access to cached data, vs.
HTTP Access to uncached data (remote database), vs.
Dire...