Subversion Repositories SmartDukaan

Rev

Rev 25404 | Rev 25409 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25404 Rev 25405
Line 299... Line 299...
299
			channelSftp.rmdir(folderName);
299
			channelSftp.rmdir(folderName);
300
		}
300
		}
301
 
301
 
302
		channelSftp.mkdir(folderName);
302
		channelSftp.mkdir(folderName);
303
		channelSftp.cd(folderName);
303
		channelSftp.cd(folderName);
304
		channelSftp.chmod(644, ".");
304
		channelSftp.chmod(755, ".");
305
 
305
 
306
		for (Map.Entry<String, InputStream> streamsFileEntry : streamsFileMap.entrySet()) {
306
		for (Map.Entry<String, InputStream> streamsFileEntry : streamsFileMap.entrySet()) {
307
			channelSftp.put(streamsFileEntry.getValue(), streamsFileEntry.getKey(), ChannelSftp.OVERWRITE);
307
			channelSftp.put(streamsFileEntry.getValue(), streamsFileEntry.getKey(), ChannelSftp.OVERWRITE);
308
		}
308
		}
309
 
309