Questions tagged [virtualfilesystem]

Use virtualfilesystem for questions related to APIs which facilitate the creation of data abstractions which behave like real file systems, such as accessing database records as virtual file resources, accessing network files as local files, or accessing compressed files as uncompressed files.

References

73 questions
0
votes
0 answers

Determine When File No Longer In Use Without Using Process Events

Is there a way to determine when a File is no longer in use other than using a Process.Exited(){} event and testing whether the file is locked? Is there a pattern or certain commands we are not using that will handle this better? Currently, we…
0
votes
1 answer

Run nodejs in sandbox with virtual filesystem

I am working on a project of online python compiler. When user sends a python, Server will execute it. What I want do is,create a sandbox with virtual filesystem, execute that script instide it, and that sandbox should far from real-server's…
0
votes
1 answer

How to develop an encrypted USB Flash Drive

I need to develop an encrypted USB Flash drive to protect my data. Here is the high level idea: When USB will be plugged in PC, it will show one application, for example "openfile.exe" When I run the "openfile.exe" it will open the USB (need to…
0
votes
1 answer

Improve CSV push to MySQL with virtual files in python

I am trying to find a way to improve the speed while pushing data to a MySQL database using pandas in python. After my performance tests I arrived to the same conclusion that other people did: the best way to push data to a MySQL database is to use…
Oscar Mike
  • 724
  • 3
  • 8
  • 22
0
votes
1 answer

Exchange contents in two files without copying

I want to exchange the contents in two files A and B. However, I do not want to use copy operation such as C <- A; A <- B; B <- C; In fact, I want to exchange contents of a hard disk page p1 in file A with contents of a hard disk page p2 ini file B.…
0
votes
1 answer

java.lang.IllegalArgumentException: Given parent is not an ancestor of this virtual file at org.jboss.vfs.VirtualFile.getPathNameRelativeTo

I am trying to deploy a WAR to JBoss, but it throws below exception: 13:47:05,031 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.deployment.subunit."Test.ear"."TestWeb.war".PARSE:…
0
votes
1 answer

Reading a file created using virtual filesystem JIMFS

I have created a VFS using JIMFS. FileSystem virtualFS = Jimfs.newFileSystem(Configuration.unix()); Path virtualPath = virtualFS.getPath("resources/virtualFolder"); Files.createDirectories(virtualPath); Path refData =…
Betafish
  • 1,212
  • 3
  • 20
  • 45
0
votes
1 answer

Does virtual file system lie on top of distributed file systems?

In Linux kernel, the virtual file systems lies on top of concrete file systems and device files, to provide a uniform interface to access those lying below it. Do distributed file systems lie below or above the virtual file system in each computer?…
0
votes
1 answer

.NET Windows API Check if folder accessed

I am searching for a function that allows me to put a dialog-window(w/ a password query) before the folder is accessed. Is there such a function? Also, this would be great if this protection is there before any program, even Windows Explorer/cmd.exe…
Felipe
  • 80
  • 7
0
votes
2 answers

Reading a file in internet explorer temp folder

I have A VBScript that navigates to an Internet Explorer page which stores a file called "123.txt" in my Temp internet Folder. In this text file is a line that reads "Key=1234567" I am trying to make a script that retrieves this key and displays…
cbkrunch
  • 45
  • 8
0
votes
1 answer

.htaccess / https redirection, virtual folder access with exceptions

/* THIS would appear to be a duplicate of another question I had asked 10 days back (.htaccess / redirecting to https://www.example.com and virtual folder access), but (a) I didnt get any responses to the changes I made to the question, and (b) this…
Steve
  • 1,857
  • 5
  • 32
  • 45
0
votes
1 answer

Data structure for content based search

I am implementing a virtual file system. As part of it, i am trying to add the content based search feature to it. Basically content based search feature allows user to search for a "word" and the system returns all the file names which contain the…
svKris
  • 783
  • 1
  • 7
  • 21
-1
votes
1 answer

how to map a file in RAM by offset and size in windows

I have a C++ programfind to delete files on hard drive. So the program starts reading from beginning of a partition and whenever it sees a valid signature it'll read that and find the file size according to the what kind of file is. Then it saves…
1 2 3 4
5