C
cyberco
When I try to copy a very large file (>8mb) using File.Copy() I get the
following error (may contain spelling errors, I typed it over):
=============================
OutOfMemoryException
IOException
at System.IO.__Errot.WinIOError()
at System.IO.File.InternalCopy()
=============================
How can I prevent those exceptions? What is sane to do? First check the
file size before copying? But what would be the maximum possible size?
I'm using:
WM5 PPC
..Net CF 2.0
following error (may contain spelling errors, I typed it over):
=============================
OutOfMemoryException
IOException
at System.IO.__Errot.WinIOError()
at System.IO.File.InternalCopy()
=============================
How can I prevent those exceptions? What is sane to do? First check the
file size before copying? But what would be the maximum possible size?
I'm using:
WM5 PPC
..Net CF 2.0