Index: programs/gnomevfs-copy.c
===================================================================
RCS file: /cvs/gnome/gnome-vfs/programs/gnomevfs-copy.c,v
retrieving revision 1.4
diff -u -p -r1.4 gnomevfs-copy.c
--- programs/gnomevfs-copy.c	5 Jun 2005 17:35:12 -0000	1.4
+++ programs/gnomevfs-copy.c	22 Aug 2005 14:41:25 -0000
@@ -28,6 +28,18 @@
 #include <stdlib.h>
 #include <unistd.h>
 
+static gint
+progress_cb (GnomeVFSXferProgressInfo *info,
+	     G_GNUC_UNUSED gpointer data)
+{
+	if (info->status != GNOME_VFS_XFER_PROGRESS_STATUS_OK) {
+		g_warning ("status %d, source: %s",
+			   info->status, info->source_name);
+		return FALSE;
+	}
+
+	return TRUE;
+}
 
 int
 main (int argc, char **argv)
@@ -90,9 +102,9 @@ main (int argc, char **argv)
 	
 	result = gnome_vfs_xfer_uri (src, dest,
 				     GNOME_VFS_XFER_RECURSIVE,
-				     GNOME_VFS_XFER_ERROR_MODE_ABORT,
+				     GNOME_VFS_XFER_ERROR_MODE_QUERY,
 				     GNOME_VFS_XFER_OVERWRITE_MODE_REPLACE,
-				     NULL, NULL);
+				     progress_cb, NULL);
 	
 out:
 	if (src) {
