Questions tagged [file-management]

File Management relates to the efficient control over, usage of and access to files by users and computer operating systems

File Management topics covered by this tag include

  • Popular computer operating systems
  • Project management software and processes
  • Web server caching algoritms
  • Software development tools, such as XCode and phpCake
538 questions
2
votes
1 answer

How to natively show the Save Changes Dialog when closing an Electron app?

Im creating an Electron app. I save the user progress in a file. I want the app to show the usual 'Save changes before closing' when the user has not saved and tries to close the App. I could show a custom dialog, however, I would want to do it the…
David Cruz
  • 2,995
  • 3
  • 28
  • 41
2
votes
1 answer

renameTo not working for renaming files

I am trying to rename an image file in my app . But the code is not working . Basically, I want user to click on Rename button , pop up an alert dialog with an editText, user enters the new name of the image , and selects Rename option. This should…
2
votes
2 answers

Should I store file information in a database for a php based file manager?

I'm looking to build a basic file management component for the system I'm working on (php, javascript, sencha). I'm trying to convince myself one way or the other on whether I need to store extra information in a database about files being managed…
bender
  • 3,586
  • 2
  • 21
  • 21
2
votes
1 answer

How do I compile multiple .c files into one executable

I am creating a File Management System in my Operating Systems Project. I have different C files for copying a file, deleting a file, changing extension, displaying content and many more. Now, I want to run all of these files as one file/program. Is…
2
votes
1 answer

Move file and rename with Date and Time Stamp using a batch file

I'm using below script to move file of any name from one place and rename it in a same time to File and date stamp. @echo off for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a" set "YY=%dt:~2,2%" & set…
Turpan
  • 491
  • 2
  • 8
  • 17
2
votes
1 answer

Django multiple files in one field

I am trying to make a database using sqlite3 with a field for multiple files so that i can have a file list on mt model info page. For example if the model is student and he needs to store an unspecified number of homework files and needs to be able…
Rudra Mutalik
  • 372
  • 4
  • 17
2
votes
1 answer

Can I synchronize files between remote folders using native Python/pywin32?

I am on a desktop machine with access to a remote file server (both Windows). Read/write access is granted on login, I do not need to re-enter username and password. I want to: copy several very large files from one remote folder to another (the…
lofidevops
  • 15,528
  • 14
  • 79
  • 119
2
votes
1 answer

Java/JSP Web File Manager like CKFinder or KCFinder

I like CKFinder, but it is a commercial product. I also like KCFinder, but it works on PHP only, I need it to run on Java/JSP. Know any open source Java/JSP web file manager? Edit: The next best thing I found is this,…
Rosdi Kasim
  • 24,267
  • 23
  • 130
  • 154
2
votes
4 answers

How do I recursively delete all files in a folder that begin with "._"?

As the title states, I'm trying to recursively delete all files in a folder that begin with ._. For each file on my site, there exists a file with the same exact name, but with ._ appended to it. How do I get rid of these?
Ray Brown
  • 650
  • 1
  • 8
  • 16
2
votes
1 answer

Why doesn't this assembly code delete the file with ".lnk" extension?

I am trying to delete a file that has ".lnk" extension using assembly 8086 architecture. When I write "jmp DELETE" after "mov si, dx" and skip the inner, back1, back2, back3 part, my code deletes all the file, but when it checks if it has .lnk…
harmione
  • 21
  • 3
2
votes
2 answers

How to read a text file from X line in Java?

How can I read a text file starting at X number line? I can start reading the file and do nothing until X line is reached but I'm wondering if theres a better way to do it.
2
votes
2 answers

Proper method of storing private images on server?

I have written a PHP script to retrieve images that are NOT under the public_html folder. The script authenticates the user has permission to view the image then displays it. The image permissions are set to "0755" Is this a secure method to prevent…
superkayrad
  • 168
  • 1
  • 10
2
votes
1 answer

List most recent files in ASP Classic

I am redesigning our department website and our IT department does not support the intranet development. The server runs ASP Classic and is able to run VB scripts and Javascript to an extent (somethings work others don't). So here is my problem: I…
Matt
  • 483
  • 1
  • 4
  • 22
2
votes
2 answers

R: efficiently delete all empty files in a directory

I am on the lookout for an efficient way to delete all empty files in a directory & subdirectories in R - what would be the best way forward? (I have directories with 100 000s of files, so it would have to be fast)
Tom Wenseleers
  • 7,535
  • 7
  • 63
  • 103
2
votes
2 answers

Location of my own directories

I am trying to understand how to create my own directory tree and access it from my application. I am doing some kind of learning program and want to create a directory structure like…
Nicsoft
  • 3,644
  • 9
  • 41
  • 70