equal
deleted
inserted
replaced
279 TDriveNumber drive(static_cast<TDriveNumber>(iFramework.StorageMgr().DriveNumber(iStorageId))); |
279 TDriveNumber drive(static_cast<TDriveNumber>(iFramework.StorageMgr().DriveNumber(iStorageId))); |
280 User::LeaveIfError(drive); |
280 User::LeaveIfError(drive); |
281 TVolumeInfo volumeInfo; |
281 TVolumeInfo volumeInfo; |
282 User::LeaveIfError(iFramework.Fs().Volume(volumeInfo, drive)); |
282 User::LeaveIfError(iFramework.Fs().Volume(volumeInfo, drive)); |
283 |
283 |
284 if(volumeInfo.iFree < fileEntry.iSize) |
284 if(volumeInfo.iFree < fileEntry.FileSize()) |
285 { |
285 { |
286 result = EMTPRespCodeStoreFull; |
286 result = EMTPRespCodeStoreFull; |
287 } |
287 } |
288 else if (BaflUtils::FileExists(iFramework.Fs(), aNewName)) |
288 else if (BaflUtils::FileExists(iFramework.Fs(), aNewName)) |
289 { |
289 { |