Top "File-copying" questions

The filesystem operation whereby the contents of a disk file are duplicated exactly and stored in a different location.

How do I copy a file in Python?

How do I copy a file in Python? I couldn't find anything under os.

python file copy filesystems file-copying
Docker: Copying files from Docker container to host

I'm thinking of using Docker to build my dependencies on a Continuous Integration (CI) server, so that I don't have …

docker docker-container file-copying
Permission denied on CopyFile in VBS

I'm trying to automate pushing a file into my users' home directories, but am stuck on a "Permission Denied" error — …

vbscript permission-denied file-copying
File Copy with Progress Bar

I used this code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.IO; …

c# file-io progress-bar backgroundworker file-copying
How to copy a file while it is being used by another process

Is it possible to copy a file which is being using by another process at the same time? I ask …

c# .net file-access file-copying
Copy a file from one location to another in Python

I have a list called fileList containing thousands of filenames and sizes something like this: ['/home/rob/Pictures/some/…

python python-3.x file-copying
Moving files between folders

I want to copy/paste a file from one folder to another folder in windows using R, but it's not …

r file-io file-copying
How to copy file from smb share to local drive using jcifs in Java?

Could anybody help me to copy file from shared folder to local drive? My code is: import jcifs.smb.NtlmPasswordAuthentication; …

java smb jcifs file-copying
How to know that File.Copy succeeded?

The static method File.Copy(String, String) doesn't return a value. How can I know programatically if that function succeeded …

c# .net exception return-value file-copying
How to copy a file to a specific folder in a Python script?

I have the path of a file stored in a variable (say) filePath. I would like to copy that particular …

python file copy filesystems file-copying