Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: CopyFile


Related Topics
GTO

In the News (Fri 18 Dec 09)

  
  CopyFile(LPCTSTR,LPCTSTR,BOOL) function [Files]   (Site not responding. Last check: 2007-10-25)
When CopyFile is used to copy an encrypted file, it attempts to encrypt the destination file with the keys used in the encryption of the source file.
Windows 2000:  When CopyFile is used to copy an encrypted file, the function attempts to encrypt the destination file with the default keys.
No attempt is made to encrypt the destination file with the keys used in the encryption of the source file.
msdn.microsoft.com /library/en-us/fileio/fs/copyfile.asp?frame=true   (526 words)

  
 FIX: QuickBasic CopyFile Routine May Return Bad Error Code
CopyFile is useful because it copies both the data and resource forks of a file to a destination file.
CopyFile is documented only in the README file on the QuickBasic 1.0 release disk (not in the manual).
If the disk containing the CopyFile's destination file is ejected after an error occurs, the disk icon is still displayed.
support.microsoft.com /default.aspx?scid=kb;EN-US;47752   (328 words)

  
 CopyFile
If the filename is qualified, that is, if it includes a path, CopyFile will copy the file to the location specified by the path.
For that reason, CopyFile cannot be used to copy and rename a group of files.
For file transfer, a preferable alternatives to CopyFile may be XCopyFile.
support.installshield.com /kb/isp/funcref/LangrefCopyFile.htm   (666 words)

  
 CopyFile.java—Copy and verify files
If the verify option that was already discussed is enabled, the program calls createChecksum in order to create a checksum by reading the entire file we just wrote, creating another checksum in the process and comparing it to the one we created when reading the source file in the copyFile method.
The program then prints if the two differ, which means that there was an error while copying, or it prints OK if the two values are equal.
This method is in some ways similar to copyFile, it just restricts itself to reading.
schmidt.devlib.org /java/copy-file.html   (1654 words)

  
 Jon's Commands Documentation   (Site not responding. Last check: 2007-10-25)
The destination is a folder, which you can specify either with a file reference, an alias or as a pathname string.
CopyFile uses temporary memory if available and tries to copy the file in 1 pass for maximum speed.
Made "copyFile" command unlock the leftover file before attempting to delete it.
www.seanet.com /~jonpugh/JonsCommandsDocs.html   (7610 words)

  
 CopyFile problem
When specifying the destination folder, it is important to include the trailing backslash (for example, D:\Archive\).
If the backslash is there, CopyFile will copy the file into the Archive folder.
If the backslash is not there, CopyFile will try to create a new file named D:\Archive.
www.visualbasicscript.com /fb.aspx?m=1679   (595 words)

  
 CodeGuru Forums - CopyFile and MoveFile do not release created file
For this purpose I use CopyFile or MoveFile functions.
It is possible to copy files using read and write but it is not good for run time.
I do not have the handle of the moved file because MoveFile and CopyFile functions receives file names as parameters.
www.codeguru.com /forum/showthread.php?t=237440   (217 words)

  
 ACC: Sample Function CopyFile() to Copy Disk Files
This article includes two variations of an Access Basic function called CopyFile(), both of which allow you to copy disk files.
If you receive the duplicate procedure name error message when you compile or run your code, remove or comment out the appropriate declarations statement from your code.
'************************************************************** Function CopyFile (ByVal Source$, ByVal Destination$) As Long Dim Index1 As Integer, NumBlocks As Integer Dim FileLength As Long, LeftOver As Long, AmountCopied As Long Dim SourceFile As Integer, DestFile As Integer Dim FileData As String Dim RetVal As Variant Const BlockSize = 32768 On Error GoTo Err_CopyFile ' Remove the destination file.
support.microsoft.com /default.aspx?scid=kb;EN-US;Q102671   (804 words)

  
 LWN: Patch: copyfile: copyfile
The system call would be needed for cifs, so they can optimize it and to the copyfile completely on the server.
It's also nice for testing, for people that don't want to use the madcow patches (I do, but I agree those should not go into mainline.
This syscall is a preparation for real cowlinks, but it might make sense on it's own as well.
lwn.net /Articles/100876   (234 words)

  
 CopyFile Method   (Site not responding. Last check: 2007-10-25)
Note that CopyFile will fail if destination has the read-only attribute set, regardless of the value of overwrite.
The CopyFile method stops on the first error it encounters.
No attempt is made to roll back or undo any changes made before an error occurs.
msdn.microsoft.com /library/en-us/vbenlr98/html/vamthCopyFile.asp?frame=true   (260 words)

  
 Visual Basic X Zone - information about Visual Basic and Visual Basic.NET
CopyFile API function is very similar to DeleteFile function i showed to You couple weeks ago.
You can use this function to copy files from one location to another fast and easy.
All this code above has to be declared in one line.
vbxzone.tripod.com /Api/05a1.html   (218 words)

  
 WPU Forums - Limit of COPYFILE command?
Both functions return 0 if there has been a problem with the operation (be sure to give each function the full path of both the destination and source files).
And since the Windows API routines you specify (CopyFile and MoveFile) both accept standard stings, there is no need to build a special binary structure using BinackPack.
But you will need to pass all 3 parameters to CopyFile whereas using a macro Function as a wrapper around it your method allows your Function to be called with 2 parameters, and it then calls the Windows API routine with 3.
www.wpuniverse.com /vb/showthread.php?postid=91492   (878 words)

  
 [VBnet File API]  CopyFile: Copy Files En-mass to a New Folder
CopyFile: Copy Files En-mass to a New Folder
This code demonstrates how to use the CopyFile() API to copy a set of files of the same filespec from the source folder to a new destination folder.
If he destination folder does not exist, it is created.
vbnet.mvps.org /code/fileapi/copyfile.htm   (299 words)

  
 C++ Builder Developer's Journal / File operations
The CopyFile function copies a file from one location to another.
The DeleteFile function is even easier to use than CopyFile.
You use this field to specify the files to copy, rename, move, or delete.
bcbjournal.com /articles/vol2/9806/File_operations.htm   (1580 words)

  
 CopyFile Method, Kernel class
The CopyFile method copies an existing file to a new file.
If this parameter is FALSE and the new file already exists, the function overwrites the existing file and succeeds.
Security attributes for the existing file are not copied to the new file.
www.motobit.com /help/asp-upload/cm432.htm   (275 words)

  
 VBScript Method: FileSystemObject.CopyFile   (Site not responding. Last check: 2007-10-25)
Note that if the source does contain wildcards, it is automatically assumed that the destination is an existing folder and any matching files are copied to it.
True allows the overwriting of existing files in the destination, providing that the permissions on the destination allow it (if the destination is set as read-only, the CopyFile method will fail).
An overwrite setting of False prevents existing files in the destination from being overwritten.
home.hetnet.nl /~r_bouman/filesystemobject_copyfile.html   (147 words)

  
 Search results   (Site not responding. Last check: 2007-10-25)
Chapter 11: Generating the Copyfile The seventh step in developing your Dialog System application is to generate a COBOL copyfile.
This copyfile, which is simply a file referenced in a COBOL COPY statement, is based...
Running the Screenset Programming Chapter 11: Generating the Copyfile The seventh step in developing your Dialog System application is to generate a COBOL copyfile.
docs.hp.com /cgi-bin/search?searchterms=ORD&BOOKFRAME=32650-90877   (578 words)

  
 copyFile function in Haddock, VSHaskell & Cabal   (Site not responding. Last check: 2007-10-25)
It uses the following > definition of copyFile function: > > copyFile f = do > s <- readFile (libdir ++ pathSeparator:f) > writeFile (odir ++ pathSeparator:f) s > > (See HaddockHtml.hs) > > This works well for text files but the function fails when it > is used to copy binary files under Windows.
I > propose to add copyFile function to System.Directory which > will take care of binary files.
If you received this in error, please contact the sender and delete the material from any computer.
www.haskell.org /pipermail/libraries/2004-July/002361.html   (282 words)

  
 CopyFile not blocking system, allowing cancel and progress bar - Feedback System   (Site not responding. Last check: 2007-10-25)
CopyFile not blocking system, allowing cancel and progress bar - Feedback System
CopyFile not blocking system, allowing cancel and progress bar
If this feature appeals to you please be sure to add your name to it.
www.realsoftware.com /feedback/viewreport.php?reportid=vbwurkcn   (247 words)

  
 Macro Scheduler and Windows Automation :: View topic - CopyFile TIP
Going back further, I found that it did not exist because the Source file was in use and the CopyFile did not copy to destination.
The simplified script above only does a check on the CopyFile instruction, but a verification could be done after each MoveFile, CopyFile, DeleteFile instruction.
I haven't done any test at this point to see what happens when CF_OVERWRITE is at default=0.
www.mjtnet.com /usergroup/viewtopic.php?p=811   (389 words)

  
 OSR's ntfsd List: Strange CopyFile API
CopyFile API correctly read/write tow CopyFile maps the source file to memory and then writes data from this memory to the destination file.
That is because the data of small file is residented in its File Record directly.
CopyFile API correctly read/write tow big > files.
www.osronline.com /showThread.cfm?link=543   (169 words)

  
 CopyFile   (Site not responding. Last check: 2007-10-25)
DESCRIPTION: The CopyFile command is used to copy a file on the computer.
The SourceFile will be copied to the TargetFile destination.
If Preserve is False, and the TargetFile already exists, then the TargetFile will be overwritten.
www.ensignsoftware.com /espldoc/copyfile.htm   (141 words)

  
 How to copy a file under Windows   (Site not responding. Last check: 2007-10-25)
It's only restriction is when LZCopy detects a COMPRESSed file, it will expand to the destination file.
The copyfile() routine can be pulled for use in your program.
This indicates that there is no more to read from the source file.
community.borland.com /article/0,1410,16994,0.html   (315 words)

  
 WebDeveloper.com - FSO CopyFile Question...Pls Help
I'm trying to use the FSO CopyFile method, but I'm having a problem.
I tried using a VBScript version of this method in a "runat=server" tag, but it wouldn't work well with the page's code.
So I found a JS option for the FSO CopyFile method.
www.webdeveloper.com /forum/showthread.php?threadid=27985   (676 words)

  
 UNCLASSIFIED :- A problem with CopyFile   (Site not responding. Last check: 2007-10-25)
Previous message: SEC: UNCLASSIFIED :- A problem with CopyFile
CopyFile is perfectly able to copy files to a network drive, so maybe there is a problem with permissions on the dir you want to copy files to.
If you are able to copy files using explorer, we might help you if you can provide a 'minimal example' of the code that is not working, e.g.
www.elists.org /pipermail/delphi/2000-May/008932.html   (156 words)

  
 Bright Bug Software - X Library Programming SDK, CopyFile Class Listing.
Bright Bug Software - X Library Programming SDK, CopyFile Class Listing.
Copies the file from the current string location to the passed new location.
Please report any problems with this documentation or with the X Library to support@Bright Bug.com.
www.brightbug.com /XLibrary/XString_CopyFile_1500025011393910996.html   (143 words)

  
 Copyfile Method   (Site not responding. Last check: 2007-10-25)
Method: Copyfile ([in] Source, [in] Destination, [in, optional] OverWrite)
Description: This method copies a file from the source to the destination location.
Set OverWrite to False to not overwrite the destination file.
www.intermedia.net /support/asp/SA-FileUp/prog_ref_filemgr_copyfile.htm   (40 words)

  
 filesystemobject copyfile server to client??
09-29-04 09:58 AM Re: filesystemobject copyfile server to client??
It will only run if the client has the page in question in the "Local intranet" or "Trusted sites" security zone.
It will only run if th e >client has the page in question in the "Local intranet" or "Trusted sites" >security zone.
www.codecomments.com /message289491.html   (752 words)

  
 WebDeveloper.com - FSO CopyFile Question...Almost There   (Site not responding. Last check: 2007-10-25)
I've created a script that uses the File System Object (FSO) CopyFile Method and VBScript to copy a file from our internal intranet server to our external web server, and it was working.
If I kept refreshing the page, it would change error messages until eventually the FSO CopyFile job was successful??
This totally confuses me. I throught that this might be because it can't find the file until after the page loads.
www.webdeveloper.com /forum/showthread.php?t=26623   (916 words)

  
 My.Computer.FileSystem.CopyFile Method
CopyFile does not preserve ACEs (Access Control Entries).
The newly created file inherits default ACEs from the directory in which it is created.
MSDN Library > Development Tools and Languages > Visual Studio > Visual Basic > Reference (Visual Basic) > Visual Basic Reference > Objects > My.Computer.FileSystem Object > CopyFile Method (My.Computer.FileSystem Object)
msdn2.microsoft.com /en-us/library/36xbexyf(d=robot).aspx   (428 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.