Home > php > Copy File With PHP By copy() function so slow

Copy File With PHP By copy() function so slow

December 6Hits:7
Advertisement

I use windows 7 ultimate and xampp in my computer. I use copy() function to copy file with PHP. But, When I tested it with same device and same file, copy function from Windows Explorer Faster than when I copy file with php by copy() function.

(525MB take about 5minutes with Windows Explorer and 25Minutes With PHP, my files located in HTDOCS folder. And the destination is Flashdisk).

Is there anyway to make copy() function in php more fast? Or maybe is there any other function to copy file in php that run faster?

Thank you anyway.

Tags:php, function, copy

Related Articles

  • Copy File With PHP By copy() function so slowDecember 6

    I use windows 7 ultimate and xampp in my computer. I use copy() function to copy file with PHP. But, When I tested it with same device and same file, copy function from Windows Explorer Faster than when I copy file with php by copy() function. (525MB

  • Why can't I copy this iTunes folder on Windows XP?: "Cannot copy file or folder: Cannot copy file:"July 3

    I'm moving an iTunes library for a friend from a XP computer to a new Dell. I've made sure to consolidate the library and make sure that nothing is read only (suggested online, don't know why that would affect it), but it still gives me this error ev

  • Copying files into a virtual PC is very slowApril 20

    I have a winXP virtual PC running on a powerful win7 x64 (4 cores 8Gb RAM) workstation. When I'm copying files in the virtual PC, from my workstation (\\<my computer name>\c$\etc.) to the virtual, it goes extremely slow even for a 500kb file. I can,

  • Windows bug? Freeze while copying files. Parallel another copy may unfreeze

    Windows bug? Freeze while copying files. Parallel another copy may unfreezeJanuary 8

    How to debug problems with simple copying files? I often have a problems when just copying many files from one disk to another. Probably the problem occurs only with ONE of hard drives, installed on my computer, only if copying FROM any drive TO this

  • Copying file from NAS to same NAS extremely slowJanuary 12

    If I copy a file from a NAS to another folder on the same NAS, copying process is extremely slow ( several minutes for a few MB ). It's even faster if I copy the file from NAS to client PC and back to NAS. Is this the normal behaviour or may there be

  • Copy files after the current copy operation is completed

    Copy files after the current copy operation is completedJanuary 4

    I sometimes need to copy a lot of files from here and there to an external drive. What I do is copy some files, paste it in the drive, copy some more files, then paste again etc. But this makes the files copy parallelly which slows down the drive. Is

  • How to copy a directory structure without copying files?

    How to copy a directory structure without copying files?January 8

    I have a folder with a lot of subfolders and files in them. Is there a way to copy the folder and subfolders directory structure without copying the files they contain, using cmd or powershell? --------------Solutions------------- Yup. XCOPY XCopy so

  • Copied files from mac partition to /root. But the /-partition is still full?November 10

    Help! Using gksu-nautilus I managed to look at files on my Mac partition via as simple right-click. However, at first journaling was still enabled on the Mac partition. Therefore any copied file would not be copied to where I wanted, but only to the

  • Workflow only runs successfully once after publishing, then fails until I republish (on new copied files)June 21

    I have a workflow which runs a series of complicated steps (not sure it's necessary for me to sum them up, but please ask if it might help). My workflow runs on "create" and my users copy files from different subsites (which are set up exactly t

  • copying file from UNC path to startup folder on Windows 7 machinesJuly 22

    I have sucessfully figured out how to copy a file to "\machinename\C$\ProgramData\Microsoft\Windows\Start Menu\Programs\startup" however I want to run this as part of an existing startup batchfile. I would like it to be able to find out if the f

  • How can I copy files from a Google Cloud Compute Server to my local machineJuly 23

    I'm trying to download all of the server files from Google Cloud Compute (running Linux Debian). I'm extremely unfamiliar with SSH and Google Cloud Compute as a whole. I'd prefer either copying all of the files (similar to a git pull request) or crea

  • Ansible: copy file depending on hostname or roleNovember 21

    What's the best way to copy over a file depending on a hostname? I need to copy over files with different content but with the same filename to several machines. I have several files: file.role1 file.role2 file.role3 Depending on hostname and/or role

  • SSIS File System Task (Copy File Operation) OverWriteDestination functionalityAugust 20

    I was unable to find any documentation on the SSIS File System Task component OverWriteDestination property functionality for a Copy File Operation. I understand what it is used for but how does it actually cause the component to behave when the Over

  • What is the windows command line command to copy files?May 5

    What is the windows command prompt command to copy files? I need to move a file from location A to location B. Also if the folder for location B doesn't' exists I want to have it created. I need this to be a command line so I can automate it. The ver

  • How do I queue files instead of simultaneously copying them with Windows?

    How do I queue files instead of simultaneously copying them with Windows?September 11

    Windows does not allow me to copy multiple files... Well ofcourse it does when the files are in the same folder however it fails miserably when the files are in seperate folders. Is there any utility tool that would allow me to keep adding the select

  • Windows 7 Copy File dialog keyboard accelerators

    Windows 7 Copy File dialog keyboard acceleratorsFebruary 4

    In Windows XP, when copying/overwriting multiple files, you could press Alt + A to copy/replace all. These keyboard shortcuts don't seem to be available in Windows 7. I have to press Alt + D then Tab, Tab, Tab, Space to get the same effect with the k

  • Windows - Copying files to multiple computersJanuary 28

    I have several virtual machines (all running windows) based on different servers. I need to copy some files to all these computers. I have admin userid and passwords for all these machines. Some times I need to execute a silent installers on these ma

  • MSBUild: Copy files with a name based on the original (following a pattern)March 21

    I have a set of files inside a folder. They all have a name which matches the pattern DR__.*. I want to copy them to another folder, but removing the DR__ prefix. How can I do this with MSBuild? I used to do it like this using NAnt: <mkdir dir="${

  • Check the correctness of copied files

    Check the correctness of copied filesApril 28

    After I copy say 50+ GB(30,000 files including different formats) of files from an internal hard drive to an external drive is there any way to find out if everything has been copied correctly? Also if I stop in between by canceling the operation and

  • Copy files with renamingJuly 14

    I have a huge file tree. Some files have same name but in different case, e.g. 'some_code.c' and 'Some_Code.c'. So when I'm trying to copy it to NTFS/FAT filesystem it asks me about whether i'm gonna replace it or skip. Don't you know is there any wa

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 1.323 s.