Index: /issm/trunk-jpl/src/m/os/issmbbftpin.m
===================================================================
--- /issm/trunk-jpl/src/m/os/issmbbftpin.m	(revision 22301)
+++ /issm/trunk-jpl/src/m/os/issmbbftpin.m	(revision 22302)
@@ -10,13 +10,9 @@
 
 %first be sure packages are not in the current directory, this could conflict with pscp on windows. 
-%get initial warning mode
-state=warning('query', 'all');
-%remove warnings in case the files do not exist
-warning off
 for i=1:numel(packages),
-	delete(packages{i});
+	if exist(packages{i},'file'),
+		delete(packages{i});
+	end
 end
-%back to initial warning state
-warning(state);
 
 %if hostname and host are the same, do a simple copy
@@ -31,5 +27,5 @@
 	%build a string of the type: bbftp -s -u elarour -e 'setnbstream 8; cd /nobackupp10/elarour/Testing/Interactive3/; get Antarctica.outbin' pfe1.nas.nasa.gov
 	command=['!bbftp -s -V -u ' login ' -e ''setnbstream 8; cd ' path '; '];
-	for i=1:length(packages),
+	for i=1:numel(packages),
 		command=[command 'get ' packages{i} ';'];
 	end
@@ -40,8 +36,7 @@
 	%check bbftp worked
 	for i=1:numel(packages),
-		if ~exist(['./' packages{i}]),
+		if ~exist(['./' packages{i}],'file'),
 			error('scpin error message: could not call scp on *nix system');
 		end
 	end
-
 end
Index: /issm/trunk-jpl/src/m/os/issmscpin.m
===================================================================
--- /issm/trunk-jpl/src/m/os/issmscpin.m	(revision 22301)
+++ /issm/trunk-jpl/src/m/os/issmscpin.m	(revision 22302)
@@ -10,13 +10,9 @@
 
 %first be sure packages are not in the current directory, this could conflict with pscp on windows. 
-%get initial warning mode
-state=warning('query', 'all');
-%remove warnings in case the files do not exist
-warning off
 for i=1:numel(packages),
-	delete(packages{i});
+	if exist(packages{i},'file'),
+		delete(packages{i});
+	end
 end
-%back to initial warning state
-warning(state);
 
 %if hostname and host are the same, do a simple copy
@@ -50,6 +46,5 @@
 
 	else
-		%just use standard unix scp
-		%string to copy multiple files using scp: 
+		%just use standard unix scp string to copy multiple files using scp: 
 		if numel(packages)==1,
 			string=packages{1};
