Language : C# (Visual studio 2005)
Hi , i have problem
I use File.Copy to copy from Local HDD to network HDD .
THe app on my side works , but on client's side , that operation hangs.
So , when program should start copying , the client just gets an hourglass cursor (indicating that it is busy).
File size is less than 1 MB .
Can it be permission issue , how can I find solution ?
Thanks-
stoymigo
-2
Junior Poster in Training
Recommended Answers
Jump to PostCan you post the entire method where you are calling
File.Copy()
? If it were a permission error you would typically see an exception thrown. The only reason that it would hang (that I know of) is because the operation is working but it is going very slowly, ie if …
Jump to PostPlease use code tags when posting code on daniweb:
[code=csharp] ...code here...
[/code]
By the way -- that looks like an incredibly dangerous way to assemble a file path so you could likely have a problem with the paths. Maybe have the application post the source and destination …
All 5 Replies
sknake
1,622
Senior Poster
Featured Poster
stoymigo
-2
Junior Poster in Training
sknake
1,622
Senior Poster
Featured Poster
stoymigo
-2
Junior Poster in Training
stoymigo
-2
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.