Gang Of Coders
Home
About Us
Contact Us
All File Solutions on Gang of Coders
Total of 630 File Solutions
How do I check whether a file exists without exceptions?
Python
File
File Exists
How do I include a JavaScript file in another JavaScript file?
Javascript
File
Import
Include
Create and save a file with JavaScript
Javascript
File
Dialog
Save
Adding folders to a zip file using python
Python
File
Directory
Zip
Java - How to find out whether a File name is valid?
Java
File
Is there a C++ iterator that can iterate over a file line by line?
C++
File
Iterator
Newline
Line
PHP list of specific files in a directory
Php
File
List
Directory
Whole text file to a String in Java
Java
File
File Io
Find files in a folder using Java
Java
File
Search
For Loop
Directory
How to get the filename without the extension in Java?
Java
File
How to get the duration of an audio file in iOS?
Ios
File
Audio
Nsdictionary
Duration
Iterating on a file doesn't work the second time
Python
File
Iteration
Python - IOError: [Errno 13] Permission denied:
Python
File
Io
How to write to .txt files in Python 3
Python
File
Text
File Io
Get the current script file name
Php
File
Reading a resource file from within jar
Java
File
Jar
Resources
Embedded Resource
C++ class header files organization
C++
Class
File
Header
Organization
WPF/C#: Where should I be saving user preferences files?
C#
Wpf
File
Stream large binary files with urllib2 to file
Python
File
Streaming
Urllib2
How to open a file for both reading and writing?
Python
File
File Io
How to create a file -- including folders -- for a given path?
Java
Android
File
In CMake, how can I find the directory of an included file?
File
Cmake
How to construct a relative path in Java from two absolute paths (or URLs)?
Java
Url
File
Path
How can I create a temp file with a specific extension with .NET?
C#
.Net
File
Temporary Files
List files recursively in Kotlin
File
Kotlin
Recursion
Directory
Standard File Naming Conventions in Ruby
Ruby
File
Naming Conventions
Conventions
Create file with given size in Java
Java
File
Why should I use a human readable file format?
File
Encoding
Formatting
Binary
Abstraction
How do I open an already opened file with a .net StreamReader?
.Net
File
Streamreader
Readonly
Count number of files with certain extension in Python
Python
File
Count
Read, edit, and write a text file line-wise using Ruby
Ruby
File
Io
Delete files with string found in file - linux cli
Linux
File
Find
Command Line-Interface
Rm
File opening mode in Ruby
Ruby
File
Posix
Symfony2 file upload step by step
File
Symfony
Doctrine Orm
Upload
Formbuilder
Is there a need to close files that have no reference to them?
Python
Python 2.7
File
What is the best way to slurp a file into a string in Perl?
Perl
String
File Io
File
Finding Extension of uploaded file (PHP)
Php
File
GIT list of new/modified/deleted files
Git
File
List
Diff
File loading by getClass().getResource()
Java
File
Load
Embedded Resource
How to get the path string from a java.nio.Path?
Java
File
Nio
Why does Java read a big file faster than C++?
Java
C++
File
how to trigger click event of input file from button click in angular 2?
File
File Upload
Angular
Rename multiple files based on pattern in Unix
File
Unix
Rename
Batch Rename
What is the best/simplest way to read in an XML file in Java application?
Java
Xml
File
Best way to choose a random file from a directory
Python
File
Random
Best way to choose a random file from a directory in a shell script
Bash
File
Shell
Random
Change File Encoding to utf-8 via vim in a script
File
Encoding
Utf 8
Vi
Character Encoding
Search for a file using a wildcard
Python
File
Wildcard
How to move a file in Python?
Python
File
File Handling
Python Os
How to search and replace text in a file?
Python
Python 3.x
String
File
Replace
how to "execute" make file
File
Makefile
Execute
Splitting a file in linux based on content
Linux
File
Bash
Sed
Awk
Python convert csv to xlsx
Python
Excel
File
Csv
Xlsx
How does Java resolve a relative path in new File()?
Java
File
Relative Path
Add new line character at the end of file in bash
Bash
File
Command
Newline
Fastest way to tell if two files have the same contents in Unix/Linux?
Linux
File
Unix
Diff
Best way to read structured binary files with Java
Java
File
Binaryfiles
Exclude certain file extensions when getting files from a directory
C#
File
Directory
Run .jar from batch-file
Java
File
Batch File
Git log output to XML, JSON, or YAML?
Git
File
Logging
Version Control
Io
C++ string to double conversion
C++
String
File
Double
How to use logging with python's fileConfig and configure the logfile filename
Python
File
Logging
Console
Can I import a CSV file and automatically infer the delimiter?
Python
File
Csv
Import
Delimiter
Move_uploaded_file() function is not working
Php
File
Open existing file, append a single line
C#
File
Using MultipartPostHandler to POST form-data with Python
Python
File
Upload
Urllib2
Multipartform Data
How do I split a file into n no of parts
File
Split
How to do something to each file in a directory with a batch script
Windows
File
Loops
Batch File
Cmd
Golang Determining whether *File points to file or directory
File
Go
Difference between os.path.exists and os.path.isfile?
Python
File
Directory
Copy files from one directory into an existing directory
Bash
File
Directory
Copy
Cp
Use endswith with multiple extensions
Python
List
File
How can I serialize an input File object to JSON?
Javascript
Json
File
Determine path of the executing script
R
File
Path
Rscript
R Faq
Is close() necessary when using iterator on a Python file object
Python
File
Iterator
Remove a file from the list that will be committed
Git
File
Commit
Java 'file.delete()' Is not Deleting Specified File
Java
File
Delete File
How to unzip a file in Ruby on Rails?
Ruby on-Rails
Ruby
File
Zip
Can't find the file created by outfile in MySQL
Php
Mysql
File
File Io
Java Files.write NoSuchFileException
Java
File
File Io
Filenotfoundexception
Create intermediate folders if one doesn't exist
Java
File
Why can't I use System.IO.File methods in an MVC controller?
C#
asp.net Mvc
File
Add each array element to the lines of a file in ruby
Ruby
Arrays
File
Line
Output
Watching a Directory for Changes in Java
Java
File
java.nio.file
How do I get the file name from a String containing the Absolute file path?
Java
File
Filenames
Filepath
How do I get file creation and modification date/times?
Python
File
Remove a symlink to a directory
Linux
File
Symlink
What is simplest way to read a file into String?
Java
File
File Io
How to read specific lines from a file (by line number)?
Python
File
Line
How to check for file existence
Ruby
File
In Java, how do I parse XML as a String instead of a file?
Java
Xml
String
File
Parsing
Xcode: issue "file xxx.png is missing from working copy" at project building
Ios
Xcode
File
Best way to list files in Java, sorted by Date Modified?
Java
File
Sorting
Read only the first line of a file?
Python
File
How often does python flush to a file?
Python
File
Flush
Change default text in input type="file"?
Html
File
Input
Default Value
Confused by python file mode "w+"
Python
File
Io
How to open a file using the open with statement
Python
File
Python 3.x
File Io
Io
How to change the timeout on a .NET WebClient object
C#
.Net
File
Download
Webclient
Android; Check if file exists without creating a new one
Android
File
File Io
How to compare binary files to check if they are the same?
File
Binary
Compare
Diff
Writing data into CSV file in C#
C#
File
Csv
How I can delete in VIM all text from current line to end of file?
File
Vim
Text
Get java.nio.file.Path object from java.io.File
Java
File
Path
Java 6
How do I remove/delete a folder that is not empty?
Python
File
How can I read a whole file into a string variable
String
File
Go
PHP, get file name without file extension
Php
File
String
Pythonic way to check if a file exists?
Python
File
Git: copy all files in a directory from another branch
Git
File
Copy
Branch
How to create a file in memory for user to download, but not through server?
Javascript
File
Web Applications
Client Side
How do I check file size in Python?
Python
File
Keep CMD open after BAT file executes
File
Batch File
Cmd
Is it possible to define more than one function per file in MATLAB, and access them from outside that file?
Matlab
Function
File
Scope
Function Declaration
Get full path without filename from path that includes filename
C#
File
Path
Writing a Python list of lists to a csv file
Python
File
Csv
File Io
Python 2.7
How can I use a batch file to write to a text file?
File
Batch File
Text
Can't use forEach with Filelist
Javascript
File
How to copy files across computers using SSH and MAC OS X Terminal
Macos
Unix
File
Terminal
Copying
Java FileOutputStream Create File if not exists
Java
File
File Io
New Operator
Fileoutputstream
Git copy file preserving history
Git
File
Copy
Filenames
Looking for files NOT owned by a specific user
Linux
File
Shell
Search
Why does Path.Combine not properly concatenate filenames that start with Path.DirectorySeparatorChar?
C#
.Net
File
"Cross origin requests are only supported for HTTP." error when loading a local file
Javascript
File
Http
three.js
Cors
Is there a way to check if a file is in use?
C#
.Net
File
File Io
File Locking
How to get full path of a file?
Linux
File
Unix
Path
How to check the extension of a filename in a bash script?
Bash
Scripting
File
Write string to text file and ensure it always overwrites the existing content.
C#
File
Text
How to modify a text file?
Python
File
Text
Rename a file using Java
Java
File
Rename
File Rename
How to save a dictionary to a file?
Python
File
Dictionary
Python 3.x
How can I tell how many objects I've stored in an S3 bucket?
File
Count
Amazon S3
Amazon Web-Services
How to upload file with python requests?
Python
File
File Upload
Python Requests
How to copy files?
Python
File
Copy
Filesystems
File Copying
Writing a list to a file with Python
Python
File
List
File Io
Newline
How do I move files in node.js?
File
node.js
Express
How can I convert a file pointer ( FILE* fp ) to a file descriptor (int fd)?
C
Linux
Unix
File
Posix
Importing variables from another file?
Python
File
Variables
Import
Get last n lines of a file, similar to tail
Python
File
File Io
Tail
Logfile
How to read first N lines of a file?
Python
File
Head
How to get all of the immediate subdirectories in Python
Python
File
How to create a file in Ruby
Ruby
File
Io
Errno
How to delete a specific line in a file?
Python
File
Input
Limit file format when using <input type="file">?
Html
File
Types
__FILE__ macro shows full path
C
File
Macros
Path
Git undo changes in some files
Git
File
Version Control
Undo
Revert
How to read a (static) file from inside a Python package?
Python
File
Package
Dynamically load a JavaScript file
Javascript
File
Import
Include
Print a file's last modified date in Bash
Bash
Shell
File
Date
Unix
How to open every file in a folder
Python
File
Pipe
Stdout
Stdin
Find file name from full file path
File
R
Path
How do you read a file into a list in Python?
Python
File
Basic http file downloading and saving to disk in python?
Python
File
Download
Save
How do I move a file with Ruby?
Ruby
File
How to find files that match a wildcard string in Java?
Java
File
Wildcard
Printing the last column of a line in a file
File
Awk
Tail
What are the pros and cons of parquet format compared to other formats?
File
Hadoop
Hdfs
Avro
Parquet
TypeError: a bytes-like object is required, not 'str' when writing to a file in Python 3
Python
Python 3.x
String
File
Byte
Convert DOS line endings to Linux line endings in Vim
Linux
Vim
File
Editor
Dos2unix
Flask raises TemplateNotFound error even though template file exists
Python
File
Templates
Flask
How do I check if a given string is a legal/valid file name under Windows?
C#
Windows
File
Filesystems
Python list directory, subdirectory, and files
Python
File
Path
Open file in a relative location in Python
Python
File
Path
Relative Path
Get data from file input in JQuery
Jquery
File
File Upload
Base64
Html Input
Why do I get "Pickle - EOFError: Ran out of input" reading an empty file?
Python
File
Pickle
Copying files from one directory to another in Java
Java
File
Directory
Copy
Batch: Remove file extension
File
Batch File
Android: Getting a file URI from a content URI?
Android
File
Uri
How do I save a String to a text file using Java?
Java
File
File Io
Text Files
How to find out mount/partition a directory or file is on? (Linux Server)
Linux
File
Directory
Mount
Disk Partitioning
Java NIO FileChannel versus FileOutputstream performance / usefulness
Java
Optimization
File
Nio
Operations
How to copy a file from one directory to another using PHP?
Php
File
File Io
Copy
Filesystems
Android: android.content.res.Resources$NotFoundException: String resource ID #0x5
Android
String
File
How to read all files in a folder from Java?
Java
File
Io
Directory
filename and line number of Python script
Python
Debugging
File
Is explicitly closing files important?
Python
File
Garbage Collection
How to compare two files in Notepad++
File
Compare
Notepad++
How to find the extension of a file in C#?
C#
File
File Extension
In Clojure 1.3, How to read and write a file
File
Clojure
Io
Get file name from URL
Java
File
Parsing
Url
Filenames
Check if a path represents a file or a folder
Java
Android
File
Path
Directory
How can I extract the folder path from file path in Python?
Python
File
Path
Directory
Extract
Get file version in PowerShell
File
Powershell
Versioninfo
How to find the most recent file in a directory using .NET, and without looping?
C#
.Net
File
Loops
Last Modified
Where does this come from: -*- coding: utf-8 -*-
Python
File
Text
Encoding
Emacs
Record file copy operation with Git
Git
File
Copy
How can I get the list of files in a directory using C or C++?
C++
C
File
Directory
How to upload a file in Django?
Django
File
Upload
Rename a file in C#
C#
File
Rename
PHP script to loop through all of the files in a directory?
Php
File
How do you determine the size of a file in C?
C
File
Io
Filesize
How to export data as CSV format from SQL Server using sqlcmd?
Sql Server
File
Csv
Sqlcmd
Loop through all the files with a specific extension
Bash
File
Glob
Generate an integer that is not among four billion given ones
Algorithm
File
Search
Out of-Memory
Memory Limit
Call a function from another file?
Python
File
Function
Import
Get file name and extension in Ruby
Ruby
File
Ant task to run an Ant target only if a file exists?
File
Ant
Build Automation
How to read a file in reverse order?
Python
File
Reverse
C# - How to get Program Files (x86) on Windows 64 bit
C#
Windows
File
64 Bit
Java : How to determine the correct charset encoding of a stream
Java
File
Encoding
Stream
Character Encoding
How to check whether a file or directory exists?
File
Go
How to delete the contents of a folder?
Python
File
Choose File Dialog
Android
File
User Interface
Dialog
Code Snippets
Diff output from two programs without temporary files
Bash
File
Diff
How to write into a file in PHP?
Php
File
Open files in 'rt' and 'wt' modes
Python
File
File Io
Read Write
What is an MDF file?
Mdf
Sql Server
Database
File
How to compare 2 files fast using .NET?
C#
File
Compare
Checksum
How to force file download with PHP
Php
File
Download
Convert Bitmap to File
Android
File
Bitmap
What is the perfect counterpart in Python for "while not EOF"
Python
File
Iteration
Eof
Does Java have a path joining method?
Java
File
File Io
Path
Delete files older than 3 months old in a directory using .NET
C#
.Net
File
Directory
How do I find files that do not contain a given string pattern?
File
Grep
Directory
Find
Why is “while ( !feof (file) )” always wrong?
C
File
While Loop
Eof
Feof
Find duplicate lines in a file and count how many time each line was duplicated?
File
Count
Find
Duplicates
Lines
What's the difference between the four File Results in ASP.NET MVC
asp.net Mvc
File
Resulttype
What does 'wb' mean in this code, using Python?
Python
File
Syntax
Python - When to use file vs open
Python
File
Natural Sort Order in C#
C#
Sorting
File
Natural Sort
Can you attach Amazon EBS to multiple instances?
Linux
File
Amazon Ec2
Amazon Web-Services
PHP filesize MB/KB conversion
Php
File
Filesize
Getting file size in Python?
Python
File
Size
How can I split a large text file into smaller files with an equal number of lines?
Bash
File
Unix
Writing JSON object to a JSON file with fs.writeFileSync
Json
node.js
File
Fs
Where are the recorded macros stored in Notepad++?
File
Macros
Notepad++
File Location
Reading a huge .csv file
Python
Python 2.7
File
Csv
Using Server.MapPath in external C# Classes in ASP.NET
C#
asp.net
File
Path
Relative Path
How to read file from relative path in Java project? java.io.File cannot find the path specified
Java
File
Reading and writing binary file
C++
File
Binary
Buffer
How do I rename all files to lowercase?
Macos
File
Bash
Append TimeStamp to a File Name
C#
.Net
File
Datetime
File Io
Java FileReader encoding issue
Java
File
Unicode
Encoding
How can I safely encode a string in Java to use as a filename?
Java
String
File
Encoding
How to list the files inside a JAR file?
Java
File
Jar
Java Io
Getresource
How link to any local file with markdown syntax?
File
Hyperlink
Markdown
Open a file with Notepad in C#
C#
File
Copy folder structure (without files) from one location to another
Linux
File
Copy
Directory
Save byte array to file
C#
File
Stream
Save
Byte
How to create a file in Android?
Android
File
What is the difference between .py and .pyc files?
Python
File
c# open file with default application and parameters
C#
File
How to rename a directory/folder on GitHub website?
Git
File
Github
Directory
Rename
Writing a dictionary to a text file?
Python 3.x
File
Dictionary
File Writing
Read and overwrite a file in Python
Python
File
Overwrite
Loading and parsing a JSON file with multiple JSON objects
Python
Json
File
Jsonlines
Python module os.chmod(file, 664) does not change the permission to rw-rw-r-- but -w--wx----
Python
File
Permissions
Chmod
How to get names of classes inside a jar file?
Java
File
Class
Jar
Classloader
How to declare a structure in a header that is to be used by multiple files in c?
C
File
Header
Structure
In C# check that filename is *possibly* valid (not that it exists)
C#
Validation
File
is_file or file_exists in PHP
Php
File
Exists
Open file dialog box in JavaScript
Javascript
File
Dialog
Creating an empty file in Ruby: "touch" equivalent?
Ruby
File
Parse large JSON file in Nodejs
Javascript
Json
File
node.js
How to create an empty file with Ansible?
File
Ansible
How to write to a JSON file in the correct format
Ruby
Json
File
How to read the content of a file to a string in C?
C
String
File
How do I change read/write mode for a file using Emacs?
Emacs
File
File Permissions
How to create a new java.io.File in memory?
Java
File
Java Io
Directory-tree listing in Python
Python
File
Directory
Subdirectory
Directory Tree
How do I get the directory from a file's full path?
C#
.Net
File
File Io
Directory
When should I use File.separator and when File.pathSeparator?
Java
File
Path Separator
What happens to an open file handle on Linux if the pointed file gets moved or deleted
Linux
File
File Io
Linux Kernel
Systems Programming
Download File Using jQuery
Jquery
File
Download
How to detect when cancel is clicked on file input?
Html
File
Input
Count how many files in directory PHP
Php
File
Count
Directory
How do I append text to a file?
Linux
File
Text
File Io
Append
How to write to a CSV line by line?
Python
String
File
Csv
Io
Retrieve filename from file descriptor in C
C
Linux
File
File Descriptor
How to extract filename.tar.gz file
Linux
File
Gzip
Tar
os.walk without digging into directories below
Python
File
os.walk
recursively add file extension to all files
Bash
File
Shell
Command Line
File Extension
Best way to resolve file path too long exception
C#
.Net
String
File
Sharepoint
Write variable to a file in Ansible
File
Ansible Playbook
How can I create an empty file at the command line in Windows?
Windows
File
Cmd
Command Line
Fastest way to check if a file exists using standard C++/C++11,14,17/C?
C++
C
File
Stream
How can I catch all the exceptions that will be thrown through reading and writing a file?
Java
Exception
File
Exception Handling
Replace input type=file by an image
Css
Image
File
Button
Input
read complete file without using loop in java
Java
File
Io
Determining Whether a Directory is Writeable
Python
File
Permissions
Directory
Operating System
In C, how should I read a text file and print all strings
C
File
Text Files
How to iterate over the files of a certain directory, in Java?
Java
File
Directory
How to check if a file exists in Go?
File
Go
Standard Library
Create a File object in memory from a string in Java
Java
File
File Io
How to get absolute path to file in /resources folder of your project
Java
Maven
File
Resources
Notification when a file changes?
C#
File
Filesystemwatcher
How do I get a file's directory using the File object?
Java
File
How to check command line parameter in ".bat" file?
Windows
File
Batch File
Cmd
How to list the size of each file and directory and sort by descending size in Bash?
Linux
File
Bash
How can I detect if a file is binary (non-text) in Python?
Python
File
Binary
Java, List only subdirectories from a directory, not files
Java
File
How to write file if parent folder doesn't exist?
node.js
File
File Io
How to convert Base64 String to javascript file object like as from file input form?
Javascript
Html
Forms
File
Base64
Copy multiple files in Python
Python
File
Copy
how to read all files inside particular folder
C#
Xml
File
How do I get the file extension of a file in Java?
Java
File
Io
Clear file cache to repeat performance testing
Performance
File
Caching
Disk
How to check if a file exists in a folder?
C#
Xml
File
Fileinfo
How to RSYNC a single file?
Linux
File
Rsync
How to empty ("truncate") a file on linux that already exists and is protected in someway?
Linux
File
Command Line
How do I move a file from one location to another in Java?
Java
File
Move
Define all functions in one .R file, call them from another .R file. How, if possible?
R
File
Scope
Namespaces
User Defined-Functions
Bundle.main.path(forResource:ofType:inDirectory:) returns nil
Ios
Swift
Macos
File
Swift3
Wait until file is unlocked in .NET
.Net
.Net 3.5
File
How do I join two paths in C#?
C#
File
Path
Python: How to create a unique file name?
Python
File
Unique
How to find the largest file in a directory and its subdirectories?
File
Bash
Directory
Find
Large Files
How to sparsely checkout only one single file from a git repository?
Git
File
Git Checkout
Sparse Checkout
How can I get Eclipse to show .* files?
Eclipse
File
Hidden
How do I wrap a string in a file in Python?
Python
String
File
Stringio
How to read one single line of csv data in Python?
Python
File
Csv
Iterator
Next
download file using an ajax request
Javascript
Php
Ajax
File
Download
Batch files: How to read a file?
File
Batch File
File changed listener in Java
Java
File
Listener
How can I randomize the lines in a file using standard tools on Red Hat Linux?
Linux
File
Random
Redhat
Shuffle
FileNotFoundError: [Errno 2] No such file or directory
Python
File
Find
Import CSV file to strongly typed data structure in .Net
C#
vb.net
File
Csv
Import
What should a Multipart HTTP request with multiple files look like?
Http
File
Multipart
Check if object is file-like in Python
Python
File
Should a directory path variable end with a trailing slash?
Unix
File
Variables
Path
How to filter files when using scp to copy dir recursively?
File
Shell
Filter
Directory
Scp
SVN- How to commit multiple files in a single shot
Svn
File
Commit
Getting files by creation date in .NET
C#
.Net
File
PHP: How to check if image file exists?
Php
Image
File
File Io
Quickly create a large file on a Linux system
Linux
File
Filesystems
How do I get the path and name of the file that is currently executing?
Python
Scripting
File
Copy file with pathlib in Python
Python
File
Copy
Python 2.x
Pathlib
Pick any kind of file via an Intent in Android
Android
File
Android Intent
Intentfilter
How do I use Java to read from a file that is actively being written to?
Java
File
File Io
Using cURL to upload POST data with files
Shell
File
Curl
Post
File Upload
logger configuration to log to file and print to stdout
Python
File
Logging
Stdout
Writing to a new file if it doesn't exist, and appending to a file if it does
Python
Python 3.x
File
Append
How to convert a file into a dictionary?
Python
File
Dictionary
How to perform file system scanning
File
Go
Directory
Set Django's FileField to an existing file
Python
Django
File
Difference between getExternalFilesDir and getExternalStorageDirectory()
Java
Android
File
Force flushing of output to a file while bash script is still running
Bash
File
Flush
How do I load a PHP file into a variable?
Php
File
Efficiently counting the number of lines of a text file. (200mb+)
Php
File
Memory
Text
Memory Leaks
How to create a file in Linux from terminal window?
Linux
Bash
File
Command Line-Interface
Compare two files in Visual Studio
Visual Studio
File
Compare
Comparison
Diff
What’s the best way to check if a file exists in C++? (cross platform)
C++
File
File Io
How to get all files under a specific directory in MATLAB?
Matlab
File
Recursion
File Io
Directory
Two way sync with rsync
File
Sync
Rsync
Two Way
Get a list of all the files in a directory (recursive)
File
Groovy
Directory Listing
How to programmatically move, copy and delete files and directories on SD?
Android
File
Directory
Copy
Move
How to get file length in Go?
File
Go
How to determine the OS path separator in JavaScript?
Javascript
File
Directory
How to read a file line-by-line into a list?
Python
String
File
Readlines
linux command to get size of files and directories present in a particular folder?
Linux
File
How do I add PHP code/file to HTML(.html) files?
Php
Html
Apache
File
open() gives FileNotFoundError/IOError: Errno 2 No such file or directory
Python
File
File Io
Filenotfoundexception
File Not-Found
Difference between java.io.PrintWriter and java.io.BufferedWriter?
Java
File
Stream
Filereader
Bufferedreader
Python 2.7: Print to File
Python
File
Python 2.7
What are .S files?
File
Assembly
File Extension
SHA-256 or MD5 for file integrity
File
Hash
Md5
Sha256
Reliable File.renameTo() alternative on Windows?
Java
Windows
File
File Io
Getting the names of all files in a directory with PHP
Php
File
Directory
Filenames
Image convert to Base64
Javascript
Jquery
File
Input
Base64
How to remove unused objects from a git repository?
Git
File
Object
Binary
How to do unit testing of functions writing files using Python's 'unittest'
Python
Unit Testing
File
How to save all console output to file in R?
File
R
Console
Logging
Convert file: Uri to File in Android
Android
File
Uri
File Uri
VS 2012: Scroll Solution Explorer to current file
File
Visual Studio-2012
Solution Explorer
Ruby's File.open and the need for f.close
Ruby
File
How can one check to see if a remote file exists using PHP?
Php
File
Networking
Testing
Getting a directory name from a filename
C++
File
Directory
find difference between two text files with one item per line
Bash
File
Scripting
Sed
Awk
Java: splitting the filename into a base and extension
Java
File
HTTP requests with file_get_contents, getting the response code
Php
File
Http
Stream
python: delete non-empty dir
Python
File
Easiest way to check if an arbitrary String is a valid filename
C#
.Net
File
Java's createNewFile() - will it also create directories?
Java
File
Io
Directory
Is the MIME type 'image/jpg' the same as 'image/jpeg'?
File
Mime Types
How to force Logstash to reparse a file?
File
Logstash
How to use Javascript to read local text file and read line by line?
Javascript
Html
File
Log4Net config in external file does not work
File
Logging
Configuration
Log4net
External
Can I edit an iPad's host file?
Ipad
File
Ios
Edit
Hosts
How to append one file to another in Linux from the shell?
Linux
Shell
File
Ubuntu
Append
Reading a file line by line in Go
String
File
Parsing
Go
Line
What are the WCF Service Reference .datasource files?
Wcf
File
Datasource
Service Reference
How to get file name when user select a file via <input type="file" />?
Javascript
Html
File
Check last modified date of file in C#
C#
Windows
File
Last Modified
Max files per directory in S3
Performance
File
Amazon S3
Limit
Directory
Mirroring console output to a file
C#
.Net
File
Text
Console
Has Windows 7 Fixed the 255 Character File Path Limit?
File
Windows 7
Filesystems
Reading integers from binary file in Python
Python
File
Binary
Integer
deleting folder from java
Java
File
Directory
What is the difference between Reader and InputStream?
Java
File
Inputstream
Filereader
Fileinputstream
PHP: how can I get file creation date?
Php
File
How to limit the maximum files chosen when using multiple file input
Html
File
Unix - copy contents of one directory to another
File
Unix
Copy
Directory
Simple way to copy a file
File
Copy
Go
How to upload file in angularjs e2e protractor testing
Angularjs
File
File Upload
Gruntjs
Protractor
How can I separate the functions of a class into multiple files?
Python
File
Object
Decorator
file.delete() returns false even though file.exists(), file.canRead(), file.canWrite(), file.canExecute() all return true
Java
File
Fileoutputstream
Can we import XML file into another XML file?
Xml
File
Import
Merge
How do I get Django Admin to delete files when I remove an object from the database/model?
Django
File
Storage
Django Models
Imagefield
Is there a "Find in Files" shortcut in Eclipse?
Eclipse
File
Find
Shortcut
Android saving file to external storage
Android
File
Storage
External
How can I get the count of line in a file in an efficient way?
Java
File
Including #includes in header file vs source file
C++
File
Header
Include
Move files directly from one S3 account to another?
File
Amazon S3
Amazon Web-Services
Transfer
File Uri Scheme and Relative Files
File
Uri
Relative Path
Url Scheme
File Uri
Better way to check if a Path is a File or a Directory?
C#
.Net
File
Path
Directory
How do I extract a single chunk of bytes from within a file?
Linux
File
Split
Clear the Contents of a File
C#
.Net
File
<0xEF,0xBB,0xBF> character showing up in files. How to remove them?
File
Unicode
Utf 8
Utf
How to remove a single Attribute (e.g. ReadOnly) from a File?
C#
.Net
File
File Attributes
Do I understand os.walk right?
Python
File
Python using basicConfig method to log to console and file
Python
File
Logging
Console
Screen
Save a large file using the Python requests library
Python
File
Http
Download
Request
Create a file from a ByteArrayOutputStream
Java
File
File Io
Io
Bytearrayoutputstream
Make all opened document tabs visible
Visual Studio
File
Tabs
Document
Show Hide
How to split a file and keep the first line in each of the pieces?
Linux
Bash
File
Shell
Text
Using File.listFiles with FileNameExtensionFilter
Java
File
Filter
Java 6
Does Ruby have mkdir -p?
Ruby
File
Path
Directory
Mkdir
How to do virtual file processing?
Python
File
Virtual
File exists and IS directory, but listFiles() returns null
Java
Android
File
Io
File Permissions
How to get File Created Date and Modified Date
C#
File
Io
Last Modified
Datecreated
Is it a bad practice to have multiple classes in the same file?
File
Class
Oop
Language Agnostic
Writing to files in Node.js
Javascript
node.js
File
Express
Fs
How do you append to a file?
Python
File
Append
Undo working copy modifications of one file in Git?
Git
File
Version Control
Dvcs
Undo
Why should text files end with a newline?
File
Unix
Text Files
Newline
see if two files have the same content in python
Python
File
rails - Redirecting console output to a file
Ruby on-Rails
Ruby
File
Console
Best method for reading newline delimited files and discarding the newlines?
Python
File
Readline
Getting the filenames of all files in a folder
Java
File
Directory
Filenames
How to check if a directory/file/symlink exists with one command in Ruby
Ruby
File
Directory
Symlink
Exists
How to join filesystem path strings in PHP?
Php
String
File
How to download a file from a URL in C#?
C#
File
Url
How to get the size of a file in MB (Megabytes)?
Java
File
Url
Filesize
ajax formdata : Illegal invocation
Ajax
File
How to edit/save a file through Ubuntu Terminal
File
Ubuntu
Terminal
Save
Edit
Read a file/URL line-by-line in Swift
Macos
File
Input
Stream
Swift
database vs. flat files
Database
File
How can I get a file's size in C?
C
File
Size
Downloading a file from spring controllers
Java
Spring
File
Download
Controller
Standard concise way to copy a file in Java?
Java
File
Copy
How to convert InputStream to virtual File
Java
File
Inputstream
In MATLAB, can I have a script and a function definition in the same file?
File
Matlab
Function
How to save a list to a file and read it as a list type?
Python
List
File
Python 3.x
Pickle
Find a file by name in Visual Studio Code
File
Search
Visual Studio-Code
Find
Portable way to check if directory exists [Windows/Linux, C]
C
File
Directory
File Exists
Changing Vim indentation behavior by file type
File
Vim
Settings
Indentation
How to find out whether a file is at its `eof`?
Python
File
Eof
Wait Until File Is Completely Written
C#
File
Io
Filesystems
Copy
Reading UTF-8 - BOM marker
Java
File
Encoding
Download a file from NodeJS Server using Express
Javascript
node.js
File
Express
Download
Batch file stops running after the first command
File
Batch File
Python error message io.UnsupportedOperation: not readable
Python 3.x
File
Get names of all files from a folder with Ruby
Ruby
File
Directory
Filenames
Limit on file name length in bash
Linux
Bash
File
Maxlength
Get the file size in android sdk?
Java
Android
File
How to limit the number of dropzone.js files uploaded?
File
File Upload
Upload
Limit
dropzone.js
What is double dot(..) and single dot(.) in Linux?
Linux
File
Unix
Directory
Command line tool to delete folder with a specified name recursively in Windows?
Windows
File
Utilities
Administration
How to save a NSImage as a new file
Cocoa
Image
Macos
File
Nsimage
Platform independent paths in Java
Java
File
Cross Platform
Easiest way to read from and write to files
C#
.Net
String
File
File Io
How to remove files and directories quickly via terminal (bash shell)
File
Terminal
Directory
Rm
Rmdir
Write a file on iOS
Ios
Iphone
File
Nsbundle
C++ Filehandling: Difference between ios::app and ios::ate?
C++
File
Fstream
C++ Standard-Library
How to get folder directory from HTML input type "file" or any other way?
Html
File
Input
Directory
Lost code lines when Notepad++ crashed
File
Notepad++
Lines
Loss
Getting a FILE* from a std::fstream
C++
C
File
File Io
Fstream
.NET How to check if path is a file and not a directory?
.Net
File
Directory
How to create a temporary directory/folder in Java?
Java
File
File Io
Directory
Temporary Directory
How to test if string exists in file with Bash?
String
Bash
File
How can we check if a file Exists or not using Win32 program?
Windows
Winapi
File
What are the pros and cons of fs.createReadStream vs fs.readFile in node.js?
Javascript
File
node.js
Fs
Find all CSV files in a directory using Python
Python
Csv
File
Directory
Find
Create a directory if it doesn't exist
C++
Windows
File
Directory
Copy
Skip first couple of lines while reading lines in Python file
Python
File
Lines
Skip
CMake check that a local file exists
File
Cmake
File Exists
How can I save a text block in visual mode to a file in Vim?
File
Vim
Save
Selection
How do I create a Java string from the contents of a file?
Java
String
File
File Io
Io
What is the fastest hash algorithm to check if two files are equal?
File
Hash
Crc
What is the most efficient way to get first and last line of a text file?
Python
File
Seek
How to get diff between all files inside 2 folders that are on the web?
Linux
Svn
Git
File
Diff
Creating a simple configuration file and parser in C++
C++
File
Parsing
Configuration
Settings
Check if a filename is a folder or a file
Ruby
File
Reading text file with multiple space as delimiter in R
R
File
Space
Delimited
How to read/write files in .Net Core?
C#
File
Stream
.Net Core
How to set file input value when dropping file on page?
Javascript
Jquery
Forms
File
Events
What is the best way to generate a unique and short file name in Java
Java
File
What is the difference between File and FileInfo in C#?
C#
File
Python - Move and overwrite files and folders
Python
File
Move
Overwrite
ReadAllLines for a Stream object?
C#
File
Text
Stream
Determine if two files store the same content
Java
File
Comparison
Java IO implementation of unix/linux "tail -f"
Java
File
File Io
Iostream
Tail
What is the difference between File.ReadAllLines() and File.ReadAllText()?
C#
File
.Net
file.readalllines
How to delete many 0 byte files in linux?
Linux
File
Find
Xargs
Delete File
Elegant way to read file into byte[] array in Java
Java
Android
File
File Io
How do I create crossplatform file paths in Go?
File
Io
Directory
Go
Android : How to read file in bytes?
Java
Android
File
How to Delete a directory from Hadoop cluster which is having comma(,) in its name?
File
Hadoop
Comma
Finding duplicate files and removing them
Python
File
Duplicates
what's the differences between r and rb in fopen
C
Windows
Linux
File
JVM property -Dfile.encoding=UTF8 or UTF-8?
File
Encoding
Utf 8
Jvm
Git show files that were changed in the last 2 days
Git
File
Logging
Git Log
Fileupdate
Run bash commands from txt file
Linux
File
Bash
What characters should be restricted from a Unix file name?
Validation
Unix
File
Read from File, or STDIN
Python
File
Command Line
Arguments
Stdin
byte[] to file in Java
Java
Arrays
File
Io
Inputstream
std::fstream buffering vs manual buffering (why 10x gain with manual buffering)?
C++
File
C++11
Buffer
Fstream
How to open local files in Swagger-UI
File
Swagger
Swagger Ui
Swagger 2.0
"restricted" folder/files in OS X El Capitan
Macos
File
Permissions
Osx Elcapitan
How should I load files into my Java application?
Java
File
Loading
How to convert a file to utf-8 in Python?
Python
Encoding
File
Utf 8
How do I delete a read-only file?
C#
.Net
File
Counting the number of files in a directory using Java
Java
Performance
File
Directory
Clearing content of text file using C#
C#
.Net
Text
File
Automatically Delete Files/Folders
R
File
Path
Directory
Delete File
How do I watch a file for changes?
Python
Windows
File
Pywin32
Watch
Size of an open file object
Python
File
File Io
Filesize
Tarfile
Move / Copy File Operations in Java
Java
File
Copy
Move
Fastest way to write huge data in text file Java
Java
File
Resultset
log4j redirect stdout to DailyRollingFileAppender
Java
File
Redirect
Log4j
Stdout
Getting filename (or deleting file) using file handle
Php
File
Check if a file is not open nor being used by another process
Python
File
How can I find encoding of a file via a script on Linux?
File
Shell
Unix
Encoding
Best way to require all files from a directory in ruby?
Ruby
File
Directory
Require
How do I find the current directory of a batch file, and then use it for the path?
File
Batch File
Directory
Find
Cd
python copy files by wildcards
Python
File
Copy
Glob
Shutil
The easiest way to write NSData to a file
File
Cocoa
File Io
Save
Find a line in a file and remove it
Java
File
Editing
How to get the HTML's input element of "file" type to only accept pdf files?
Html
Validation
File
Input
practical examples use dup or dup2
C
File
Unix
System Calls
Dup
SQLite3 database or disk is full / the database disk image is malformed
File
Sqlite
Filesystems
Corruption
Append lines to a file
R
File
Large Data
In Python, is there a concise way of comparing whether the contents of two text files are the same?
Python
File
Compare
Download a single folder or directory from a GitHub repo
Git
File
Github
Directory
Repository
C# - Get a list of files excluding those that are hidden
C#
.Net
File
How do I create an empty file in emacs?
File
Emacs
Elisp
Dired
Check if an executable exists in the Windows path
C#
.Net
File
Eclipse reading stdin (System.in) from a file
Java
Eclipse
File
Stdin
system.in
Quickly read the last line of a text file?
Java
File
Io
How to touch a file in C#?
C#
.Net
File
How to read whole file in Ruby?
Ruby
File
How to read numbers from file in Python?
Python
File
Python 3.x
How can I overwrite file contents with new content in PHP?
Php
File
cProfile saving data to file causes jumbles of characters
Python
File
Command Line
Profiling
Cprofile
How to check whether a file is empty or not
Python
File
File Length
ASP.Net MVC - Read File from HttpPostedFileBase without save
File
C# 4.0
File Io
asp.net Mvc-2
Stream
How to write and read java serialized objects into a file
Java
File
Serialization
Error when creating a new text file with python?
Python
File
Python 3.x
File Io
How do I delete files programmatically on Android?
Java
Android
File
Uri
Delete File
How do you get a directory listing in C?
C
File
Directory
Cross Platform
Common Tasks
What's a reasonable way to read an entire text file as a single string?
Ruby
String
File
Io
Why when I transfer a file through SFTP, it takes longer than FTP?
Performance
File
Ftp
Sftp
Transfer
Java sending and receiving file (byte[]) over sockets
Java
File
Sockets
Client
Find all files in a folder
C#
File
Directory
reading and parsing a TSV file, then manipulating it for saving as CSV (*efficiently*)
Python
File
Csv
Python: read all text file lines in loop
Python
File
How to check if a file exists and is readable in C++?
C++
Linux
File
Fstream
Exists
Read from a log file as it's being written using python
Python
File
Logging
File Io
Monitoring
Using bash, how do you make a classpath out of all files in a directory?
Java
Bash
File
Directory
Classpath
copy all files and folders from one drive to another drive using DOS (command prompt)
File
Filesystems
Backup
Dos
Copy Paste
Retrieving files from directory that contains large amount of files
C#
File
Directory
Getfiles
Nested using statements in C#
C#
.Net
File
Using
how to add lines to existing file using python
Python
File
How to find lines containing a string in linux
Linux
String
File
Search
Replace or delete certain characters from filenames of all files in a folder
Windows
File
Powershell
Batch File
Cmd
Load node.js module from string in memory
String
node.js
File
Require
How do I get the time a file was last modified in Python?
Python
File
Time
What is the difference between read() and fread()?
C
File
File Io
check what files are open in Python
Python
Debugging
Exception
File
PHP: Read Specific Line From File
Php
File
Line
watchdog monitoring file for changes
Python
File
File Io
Monitoring
Watchdog
Read/write to file using jQuery
Jquery
File
Download file using libcurl in C/C++
C
File
Download
Libcurl
Read large files in Java
Java
Memory Management
File
Deleting all files from a folder using PHP?
Php
File
Directory
Glob
Search and replace a line in a file in Python
Python
File
How to restore the permissions of files and directories within git if they have been modified?
Git
File
File Permissions
How to rename a file in Ruby?
Ruby
File
Dir
how to save DOMPDF generated content to file?
Php
File
Pdf Generation
Save
Dompdf
Reading two text files line by line simultaneously
Python
File
Io
Readfile
how to delete a file with R?
R
File
File Manipulation
How to Write text file Java
Java
File
File Io
How to download file in swift?
Ios
Swift
File
Download
How to read a file in Groovy into a string?
File
Groovy
Angular: How to download a file from HttpClient?
Angular
Typescript
File
Blob
Angular Httpclient
Difference between the access modes of the `File` object (ie. w+, r+)
Ruby
File
File Io
Io
How to dump raw RTSP stream to file?
File
Ffmpeg
Save
Rtsp
How to convert a string to UTF8 in Ruby
Ruby
File
Encoding
Utf 8
Dump
How to scan a folder in Java?
Java
File
Directory
Monitoring contents of files/directories?
Python
File
Cross Platform
Filesystems
Monitoring
Read Text file Programmatically using Objective-C
Iphone
Text
File
ifstream: how to tell if specified file doesn't exist
C++
File
How to run a system command in Qt?
Qt
File
Qt4
System
Get Line Number of certain phrase in file Python
Python
File
The correct way to delete all files older than 2 days in PHP
Php
File
Caching
How to copy a file along with directory structure/path using python?
Python
File
Directory
Copy
determine if file is an image
C#
Image
File
How do I load a file from resource folder?
Java
File
Maven
Save and load MemoryStream to/from a file
C#
File
Io
Stream
Memorystream
File.OpenWrite appends instead of wiping contents?
C#
File
How to detect a USB drive has been plugged in?
C#
File
Usb Drive
Convert URL to normal windows filename Java
Java
File
Url
Path
Filenames
Visual Studio does not let me drag drop items into it?
Visual Studio-2010
File
Visual Studio-2012
Drag and-Drop
Trying to create a file in Android: open failed: EROFS (Read-only file system)
Android
File
File Io
Filesystems
Android File
What is the difference between rb and r+b modes in file objects
Python
File
File Io
Pickle
Compressing / Decompressing Folders & Files
C#
.Net
File
Compression
Are there any invalid linux filenames?
Windows
Linux
File
Filesystems
Filenames
Java: Find .txt files in specified folder
Java
File
How to read/write from/to a file using Go
File
Go
Read a plain text file with php
Php
File
Text
Quickest Way to Read First Line from File
Php
File
Can't get value of input type="file"?
Javascript
Jquery
File
Input
Create a patch including specific files in git
Git
File
Patch
Method to get all files within folder and subfolders that will return a list
C#
File
Methods
Recursion
Directory
Choose a file starting with a given string
Python
File
Append to the end of a file in C
C
File
Append
Fseek
How to do integration testing in .NET with real files?
C#
.Net
File
Unit Testing
Integration Testing
How to create new file from dired mode?
File
Emacs
Dired
How to truncate a file in C?
C
File
Truncate
Truncation
Count the number of times a word appears in a file
Linux
File
Recursively list files in Java
Java
File
Recursion
Java 7
Nio
How to check if a file exists from a url
Php
File
Curl
Fsockopen
File Exists
Are there performance issues storing files in PostgreSQL?
File
Postgresql
Blob
Bytea
How to copy file inside jar to outside the jar?
Java
File
Jar
Copy
Working Directory
Kotlin File vs Class. Whats the difference?
File
Class
Kotlin
Simulate touch command with Java
Java
File
Touch
File I/O with streams - best memory buffer size
C#
Optimization
File
Size
Buffer
How do I read an image file using Python?
Python
Image
File
Creating a directory in /sdcard fails
Android
File
Directory
Io
TypeError: expected a character buffer object - while trying to save integer to textfile
Python
File
Parsing
c# open file, path starting with %userprofile%
C#
File