copy

Copy a dir from a webserver to a mapped networkdrive

Hi All, For a PHP project I'm working on, focussing on data homogenity, a certain directory structure can be managed. After a user completes a process creating an object (I won't bother you guys with all the project details;)) this directory structure should be copied to a mapped network drive. Since the users might have the networkdriv...

Persistent Shadow Copy in XP SP2?

I'm wondering if XP supports persistent shadow copying like Windows Vista/7 do. I read the wikipedia article about Shadow Copy and it had this paragraph (emphasis mine): The creation of persistent snapshots (multiple snapshots which remain available across reboots until specifically deleted from the system) has been added in Wi...

Transfer SQL Server Objects Task (SMO) fails 'Truncate data failed for Table' in SSIS

Hi I am getting below error in ssis package. Package contains Transfer SQL Server Object Task which Replace Data in destination table. I have source dimension table from which I am replacing data in destination dimension table.There is no FK constraint present on source & destination dimension table which may not allow truncate table. ...

Item groups in msbuild

Hi, I have the following item group: <ItemGroup> <ReleaseFiles Include="MyApp\*.ashx"/> <ReleaseFiles Include="MyApp\*.config"/> <ReleaseFiles Include="MyApp\bin\*.dll"/> <ReleaseFiles Include="MyApp\bin\*.exe"/> <ReleaseFiles Include="MyApp\bin\*.pdb"/> <ReleaseFiles Include="MyApp\bin\*.config"/> </Item...

Effective iPhone software copy protection solutions

Are there any effective copy protection solutions to protect iPhone software ? ...

Copy Database Data from Many DBs to One. Data Replication (sort of)

Hi all. This involves data replication, kind of: We have many sites with SQL Express installed, there is an 'audit' database on each site that has one table in 1st normal form (to make life simple :) Now I need to get this table from each site, and copy the contents (say, with a Date Time Value > 1/1/200 00:00, but this will change o...

Copy CD contents from cd storage server to network share

Hi all, I need to write a webapp (asp.net MVC) that copies the contents from a CD to a network share (eg. Z:\dir1). All servers are in the same domain. Process flow is as follows: - User inserts CD-ROM into cdserver1 (PrimeArray ProServer 3802 XT) - CD contents is copied to internal HDD automatically - User enters CD information in the ...

How to Copy Folder to System folder in Cocoa

Hi, I am developing an application in cocoa which needs to copy a set of files to the system folder. When copying files to system folder I am getting a "Permission denied " error message . How can I resolve this problem. Please any one help me... Thanks in advance ...

c# , checking is file correct

Hello, I have c# program , and one file from where it read-write some info. I need that user can not change that file's content, I need some way to chek is that file correct(not changed by user). Please if you have any ideas write, will discuss together. Many Thanks ...

How is MSBuild Incremental Building Different from Copy with SkipUnchangedFiles=true?

If I have an msbuild target that just copies changed files, why would incremental building be better than just using the Copy task and setting SkipUnchangedFiles = true? ...

How can I copy a file on Unix using C?

I'm looking for the Unix equivalent of Win32's CopyFile, I don't want to reinvent the wheel by writing my own version. ...

copy mysql blob field from one database to the other

Hi! I happen to have a database with pictures stored as blob fields. Can't help it, it was the previous developer's choice. Now I need that data in a new site and the provider won't let me copy the data the easy way (file has become 11Mb big - won't upload that and I don't have shell access). So I thought I'd write a script that opens...

Fireworks copying buttons.

In fireworks every time I copy a button and modify it, the original button is also changed as if they were being treated as the same instance. How do I copy a button and make it a seperate entity? ...

Applescript Help : Copy file to a new Pluged USB Device.

Hi there I wanna do an Artist Instalation, that invites ppl to plug in theyr USB drive into my Piece of Art, when they do that I copy to theyr USB some of my artowrk. I wanna do this usign apple script but im not a programer, digging arroudn found this code that copy files to a directory, what I wanna change now is that directory, I nee...

Bash: Copy a folder full of files and folders to an external hdd, but only if there is enough space to complete the copy.

I want to copy a folder from my X-Serve RAID to an external HDD on an X-Serve. Both disks are on the same server, so copying is fairly easy. I use the ditto command: ditto -rsrc /Volumes/WadXServeRaid/Users/ $destinationpath/Users/ However, I only want the copy to start if there is enough space on the destination disk. I know I can us...

Clone Winform control

I have a groupox in a VB.NET winform app. The groupbox contains a few Labels, Textboxes and Checkboxes. This was created by simply dragging the controls out of VS toolbox. What I need to do is take the 1 Groupbox and at runtime create multiple Groupboxes to display based on user selection. Instead of dynamically creating the Groupboxes ...

How do I copy an arraylist from one class to another in Java?

I understand that in order to copy an arraylist and have two lists independent of one another you must use a deep copy (copying the objects from one list to another not just the references), however is there a way this can be done cross-class? For example; I am calling Class2 from Class1. In Class2 objects are added to an ArrayList of c...

Scala script to copy files

I want to copy file a.txt to newDir/ from within a scala script. In java this would be done by creating 2 file streams for the 2 files, reading into buffer from a.txt and writing it to the FileOutputStream of the new file. Is there a better way to achieve this in scala? May be something in scala.tools.nsc.io._. I searched around but co...

Segfault Copy Constructor

My code is as follows: void Scene::copy(Scene const & source) { maxnum=source.maxnum; imagelist = new Image*[maxnum]; for(int i=0; i<maxnum; i++) { if(source.imagelist[i] != NULL) { imagelist[i] = new Image; imagelist[i]->xcoord = source.imagelist[i]->xcoord; imagelist[i]->ycoord = source.imagelist[i]->ycoord; ...

How to check Data Set In The Clipboard

Im copying data (text) to a clipboard but the data that I'm copying to the clipboard has a length of 30,500,000. This text is stored in a StringBuilder. These are may codes: StringBuilder sbText = new StringBuilder(); // Append text to sbText here!!! Clipboard.SetDataObject(sbText.ToString()); // In this line...