Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [files]

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

0
votes
0answers
9 views

Error uploading file to server from localhost [on hold]

pscp C:\xampp\htdocs\fashe-colorlib\ImagesVideosThumbnails\Images\ root@hosting.com:/public_html/ImagesVideosThumbnails/Images/ Am trying to upload files to server using pscp but am getting an error. ...
0
votes
1answer
67 views

.htaccess password protect a file in a certain directory

I have files with the same name in different directories on the serves (example: stats.php), and I want to password protect some of them (.htaccess file in the root directory). I tried "FilesMatch" ...
-4
votes
1answer
47 views

Rename and replace parts with different filenames [closed]

I know there are different questions about this topic but I have found nothing that fits my question: I want to replace a part of a name in a folder but there are different files with different names....
0
votes
0answers
64 views

File Server Resource Manager (FSRM) inconsistently triggering on a file screen rule

I've been exploring the capabilities of the FSRM -- specifically the File Screen Management feature -- to see how it works and what it can do. To test it out, I set up in a lab with some VMs. I ...
0
votes
1answer
41 views

NGINX Not showing directory contents

I have some trouble with NGINX on my server. I previously used Apache. When I try to request folder contents on my server (like, 192.168.0.128/files), I get a 403 Forbidden error. Anyone know how to ...
0
votes
2answers
83 views

Windows search cannot find files in current directory

We have a windows server 2012 r2 that has the file server role and windows search installed. The drives with the shared folders are indexed and the shares folders are mapped on all clients. I can ...
0
votes
0answers
11 views

Slow on Write File

i got problem when my web server write data on a file it's very slow. can take 5 second to write simple session data. i'm using php to write on file.. this code for save public static function ...
0
votes
0answers
7 views

The resulting output file sizes of Powershell GetDatastoreItem command are smaller than the associated input file

The resulting output file from a PowerCLI GetDatastoreItem command produces a file that is smaller than the input file. This is especially true for vmdk files. The output file is about 75% the size ...
0
votes
1answer
6 views

find: equal file size limit but different unit returns different result

I noticed that the these two commands to list files below 5 GiB produce different results: find . -type f -size -5368709120c find . -type f -size -5G Specifically the one that uses kilobyte unit (...
0
votes
1answer
121 views

Files Not Appearing in S3 File Storage Gateway Bucket

I created an AWS S3 File Storage Gateway and mounted it to a Linux server on-prem. On that same server where the file gateway is mounted I have a separate NFS share mounted. My goal is to copy files ...
1
vote
0answers
34 views

Restore AWS Storage Gateway Server

I just setup an AWS File Storage Gateway server on-prem. I was able to connect it to an S3 bucket and I can mount it as an NFS share to Linux servers which is great. My concern though is this - if for ...
0
votes
0answers
33 views

Understanding some of my linux process file descriptors

Looking to some of my production processes, I realize that I can't understand what exactly some of its file descriptors are and/or what are they used for. More specifically those with TYPE sock and ...
0
votes
1answer
29 views

extend file system size on cloud server

On my 1and1 root cloud server I'm trying to extend my file system size after an upgrade. I should have 120gb instead of 70gb. I'm not very experienced with filesystem extending I'm on Ubuntu 16.04.3 ...
0
votes
1answer
55 views

Migrate over 1 million file with ~150 GB from 1 server to another

Tell me Guys, how would you transfer more than one million files, witch have a summarized size of about 150 GB from A servers (KVM) VM to another (let's call it B, XenCenter) servers other VM in ...
0
votes
1answer
44 views

How to back up MySQL data files directly (physically) yet consistently on Windows?

MySQL comes with "dump" commands and utilities that convert a database to text form and store that text somewhere on disk. For a large database, converting to text can be a slow operation and generate ...
0
votes
3answers
58 views

offload serving dynamic files from app server to nginx

I'm using Nginx as Reverse Proxy for my App Server. The App Server receives file download requests via this route: /files/:id Then the app finds the file path on the File System i.e. /path/to/file/...
1
vote
4answers
116 views

why does a file sometimes appear empty when being written to by another process

We have a situation where files are uploaded to a folder by FTP and then served by nginx. We've found that if the GET request immediately follows the modification of the file nginx returns files with ...
0
votes
0answers
47 views

PHP block file editing outside of webroot

Is in Apache2 way to restrict php file editing or file creating only to webroot? I want to block file editing outside of webroot. I'm using more virtual hosts and server is running at Debian 8.
0
votes
2answers
57 views

Windows - How to allow clients to access their files across all machines connected to AD domain?

I have a Windows Server 2008 server and have Windows 7 client machines. Is it is possible for all clients to log in to their accounts on any computer in the network and be able to access their files/...
-2
votes
1answer
22 views

Deleting orphaned .msp and .dll files

I have two terminal servers that I need to clear room off of. I have 35.8gb of .dll's and 15.5gb of .msp's. I need to clear these en masse, as there are literally thousands of files that I would have ...
0
votes
1answer
73 views

Make IIS server max_file_upload size 10GB

I am working on a website that is hosted with the company's own server, using IIS. I was wondering if it's possible to make the make file upload size 10GB? Their assets they send and receive to ...
0
votes
1answer
40 views

Can the last modification date of standalone.xml file be changed alone?

In our production envirement (jboss wildfly 8.2), Windows server 2012 R2, I noticed that all of the date of creation, modification and access of the configuration file Standalone.xml was changed to ...
0
votes
0answers
36 views

Best -practice “cloud way” for customer storage

We are working with a lot of clients, each having a lot of files for our saas platform. Currently these files reside in Azure File Storage, and are mounted to Linux VM's with SAMBA/CIFS - BUT heck, it'...
1
vote
0answers
20 views

How to find complete installer location which is installed using small size initiator .exe on Windows 10

Some time companies give small setup.exe file, for example 2 MB .exe of Kaspersky which we run and that will connect to the company server, download complete installer/setup and install the software. ...
0
votes
0answers
30 views

How to search for all files owned by a particular user in SAN

My question might be confused you but honestly that very straight forward. I have a SAN with many terabytes of data. All users have their own home directory or share directory on that (And most ...
19
votes
7answers
2k views

Linux mv file with long name

In Linux I sometimes rename files like this: mv dir1/dir2/dir3/file.txt dir1/dir2/dir3/file.txt.old Note that I want to just rename the file, not move it to another directory. Is there a command ...
0
votes
1answer
17 views

compare 2 directories with different files names and locations of the files

I'm currently having 2 (top level) directories with a lot of sub directories and files. There are a lot of duplicate files between those directories but there is one problem with it, the names of the ...
0
votes
1answer
24 views

Remove files from directory path B which are not found in path A on Linux

I have two paths on same system for example: \mnt\a\data \mnt\b\data There are some directories and/or files in b\data which are not present in a\data. How can I remove those extra directories and/...
-1
votes
1answer
108 views

Sync files between centOS (ec2) & a NAS

I have made a cronjob, that takes backup locally - of some diffrent files. But i would like to have them copied to a remote server aswell. The problem is the "remote" server is a NAS server, and im ...
0
votes
0answers
296 views

Copy file from remote SSH to local without SSH client on remote

Suppose this setting: Full access on local machine The proxy server is accessible via SSH but only allows 2 specific commands: exit - closes the connection ssh remote - establishes an SSH connection ...
0
votes
1answer
41 views

ls *.csv --ignore=“*pattern*” returns files which contain “pattern”

Why does ls --ignore not ignoring the pattern? Looking at the below example: mkdir books cd books touch books_abby.csv touch books_karen.csv touch books_david.csv touch books_tom.csv This creates ...
0
votes
2answers
73 views

ubuntu - get size of directory of empty files

I am testing a flat design to be used instead of sql db, it uses a nested directory structure with files. First I was thinking to store the data inside of the file but it's not more than 40 sign per ...
5
votes
3answers
156 views

Can I validate a large file download piecemeal over http

I'm downloading a large file over http via wget, 1.2TB. The download takes about a week and has contained corruptions twice now (failed md5 check, which takes days to run by itself). Is there a good ...
-1
votes
1answer
90 views

How can I check that all files on copied partitions are OK? [closed]

I've moved my OS and copied another data partition to new SSD with AOMEI Assistant's "Migrate OS to SSD" and "Partition copy" respectively. How can I check that every copied file and partitions in ...
0
votes
1answer
18 views

ASP.NET file created by one AppPool not readable from another

I have two ASP.NET applications, configured to have a read/write access to a shared NAS location that they use as a simple key-value file store. The NAS location is mapped locally to each application ...
2
votes
0answers
467 views

Virtualbox shared folder file permission

On windows host I run a debian server on virtualbox and I share a folder which is working mount -t vboxsf -o rw,,dmode=777,uid=33,gid=33 share /var/www/share I already done sudo usermod -aG ...
0
votes
1answer
429 views

How to find duplicate files against a reference directory structure in Linux

There are a couple of duplicate file finders for Linux listed e.g. here. I have already tried fdupes and fslint. However, from what I have seen, these will find all duplicates of the selected ...
2
votes
1answer
57 views

Is there a standard tool to trim cache directories?

I want to run a cron job that removes old entries in a cache directory, so that its total size is reduced to a certain amount of bytes. I've concocted this one line shell command, but I was wondering: ...
-1
votes
1answer
22 views

Removing IP Address From Files On Site (IIS)

I have an IIS server set up hosting my website (only 2 files now: index.htm and banner.png). I have a domain set up with GoDaddy and have forwarding set up in GoDaddy as well. So, when I type http://...
0
votes
1answer
28 views

Linux, search for extended attribute value

When a directory contains some files with non-empty extended attributes, all the attribute values can be shown as follows: $ getfattr -d * # file: file1 user.comment="comment1" # file: file2 user....
-2
votes
2answers
72 views

Which protocol to use for a barebones LAN file upload with mixed Unix and Windows clients

I have a set of about 20 embedded Unix clients who physically move from time to time. When they move into the range of a specific wireless AP, they will push a certain set of files to a Windows file ...
2
votes
1answer
68 views

Where's the global inputrc file in AIX?

I want to save my Readline settings globally for all bash users (it is installed on the system), but I cannot find the global configuration path, neither in /etc nor in /usr/etc. I also couldn't find ...
0
votes
1answer
428 views

Open files inside Windows Recycle Bin

I've done lots of research on trying to recover files from another user's recycle bin (Windows 10). They can just log in themselves, but I wanted to work on their ticket while they're out of office. ...
1
vote
1answer
229 views

nginx try_files not finding files in large directory (86k files)

To start out, the nginx config: server { listen 443 ssl; server_name example.com; ssl_certificate /example/fullchain.pem; ssl_certificate_key /example/privkey.pem; ...
0
votes
0answers
183 views

Delete my unison folder cant find how to sync again all

I run unison sync and it works perfect, but accidentally dropped the folder and now I cannot recover it. I tried to run unison again, but it returned Nothing to do: replicas have not changed since ...
0
votes
1answer
37 views

filenames including “/bin/sh” pattern are not served by apache

I have been tracking down a bug which I have reduced to the following case. We have a web server running apache and it doesn't serve filenames including "/bin/sh" pattern outside of the campus in ...
0
votes
1answer
42 views

File overwriting vs. Creating a new file

I have some utility, which should regularly create medium-sized plain-text file, every 10 minutes. As I understand, it will increase HDD wearout. (I use NTFS, i.e. NT file system). The question ...
1
vote
0answers
35 views

Is it possible to append to a file, by piping between servers/scp/etc.? [duplicate]

Short version How can I pipe text from a local machine/server and append it (not overwrite) to a file in a remote machine/server? Long version I wished to append my ~/.ssh/rsa_pub (public key) from ...
0
votes
1answer
312 views

.flg File Extension on Windows

Can someone please explain to me what are .flg files and why they might be used for on Windows Machines (servers). I have been googling for it, but can´t find relevant infos. I found the files on ...
1
vote
1answer
200 views

Pruning of backup files as they get older

I'm looking for a tool (for Linux) that will prune my backup files, not like the standard logrotate that completely deletes them after defined number of rotations, but where the files are basically ...