I have a windows application that uploads an image to the form and
will save the image to a specific folder on the server the application
is running on (ServerA)

If I upload the image from ServerA I have no problems copying the file
over however if I upload the image from my own local machine (c:
\Image) when copying hte file it is trying to find the image on the c
drive on serverA. Is there a way to work around this or do I have to
make my users browse to a floder on ServerA when uploading the image.

This is the code I am using

File.Copy("C:\Image.jpg", "\\ServerA\TargetFolder\")

Thanks Mia

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---

Reply via email to