Questions tagged [files]

Organized data encoded in a pre-defined format and stored on a filesystem.

In the computational sense, one-dimensional array of bytes stored in a filesystem, typically encoded a pre-defined format, often indicated by a file-extension or "magic number". More "durable" than in-memory storage.

677 questions
0
votes
4 answers

Iterating through folders and files in batch file?

Here's my situation. A project has as objective to migrate some attachments to another system. These attachments will be located to a parent folder, let's say "Folder 0" (see this question's diagram for better understanding), and they will be…
Will Marcouiller
  • 256
  • 2
  • 5
  • 16
0
votes
3 answers

Encrypt uploaded pdf files with mcrypt and php

I'm currently set up with a CentOS box that utilizes mcrypt to encrypt/decrypt data to/from the database. In my haste, I forgot that I also need a solution to encrypt files (primarily pdf, with a xls and txt file here and there). Is there a way to…
stormdrain
  • 1,439
  • 7
  • 28
  • 52
0
votes
3 answers

releasing file locks from OS X shell script

Files can be locked on OS X by going to the "Get Info" panel for the specific file and clicking the lock button. I would need to remove locks from a shell script. What unix command can do that?
lajos
  • 1,345
  • 4
  • 14
  • 8
0
votes
2 answers

Making folder available offline - Access denied (Windows XP)

I have a drive on a server called "filestore" This has a folder called "users" in here, theres is a "users" folder. In there are folders such as - jsmith, jblogs, abrown - which correspond to usernames of our active directory. When a user logs on,…
alex
  • 1,720
  • 15
  • 43
  • 63
0
votes
1 answer

Moving file security from one server to another (asp.net sites, IIS)

I am running windows server with asp.net websites and sql server 2008 and IIS 6. It is working fine. Now I need to move my asp.net websites to another windows server and I have hard time setting correct file security for the new server. Is there…
Imageree
  • 161
  • 2
  • 2
  • 9
0
votes
3 answers

May the file size returned by stat be compromised?

I want to make sure that nobody changed a file. In order to accomplish that, I want not only to check MD5 sum of the file, but also check its size, since as far as I understand this additional simple check can sophisticate falsification by several…
codeholic
  • 134
  • 5
0
votes
1 answer

JBoss 5.1.0.GA and huge vfs-nested.tmp

I noticed this while running a performance test with JMeter. For first half an hour everything was fine and the /server/all/tmp directory size was around 36M. Then suddenly the tmp directory grew up to 6.1G. The space was taken by jar files inside…
Petteri H
  • 227
  • 5
  • 12
0
votes
1 answer

Is it safe to delete MSP files from c: drive on Windows 2008 Server?

I have a server (actually it's my development VM) that's quite space-limited, and a significant proportion of the c: drive is being used by Windows to store MSP files. A bit of searching has told me these are MS-patch files for installations. Are…
0
votes
1 answer

How To Parse PHP Inside Other Filetypes On Windows Server 2008 IIS7?

How would one treat a common .html file or .js file as .php in windows 2008 server running IIS 7? I only want a specific filetype treated as .php - not all of them.
darkAsPitch
  • 1,931
  • 4
  • 25
  • 42
0
votes
0 answers

How to save my files from initramfs for Ubuntu 22.04, which is unable to boot?

My Ubuntu got broken because UUID isn't correct, and I try all the ways but not fix it, so I decided to reinstall Ubuntu again. However, I need the old files in Ubuntu, is there any way for me to copy it without booting Ubuntu, namely, can I copy my…
0
votes
0 answers

Duplicate files with the server name on a File Server

For some time it has been happening to me that in a file server, where I have a shared folder with the departments of the company, in some folders it has been duplicating some files by adding the name of the server to final. It does not happen…
0
votes
0 answers

NGINX - How to serve file with filename that begins with the last segment of uri?

I have many PDFs in a \drawings folder on my server. The filename structure is: 8 digits, underscore, Rev level letter -- i.e. \d{8}_[A-Za-z]\.pdf. These files are organized in subfolders that match the first 4 digits of the filename --…
Sean O
  • 277
  • 4
  • 5
  • 16
0
votes
1 answer

How are files routed through the network when using a copy command with UNC paths as the source and destination?

Given a command like robocopy "\\UNC1" "\\UNC2" /E /MT:128 /R:0 /W:0 executed from a workstation. Do files move like this or more like
d12
  • 103
  • 2
0
votes
0 answers

Serving Static files from different folders

How can I publish multiple folders on a server to different locations or disks on a server? Example... mydomain.com/files I want /files to be able to see the contents of folders in c:/myvideos or f:/mymusic or / d:/myfiles/myshows like alias in FTP.
0
votes
1 answer

Permission for Users group successfully modified via code, but change is not reflected in Security tab for the Users group

I have C# code (at the end) which: Creates a file Prints the current ACL Gives the builtin users group "write permissions" to the previously created file Prints the current modified ACL The write permissions are successfully assigned via code as…
Legenda
  • 89
  • 7