C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Windows »

Connect to remote machine


Posted Date: 31 Dec 2008      Posted By: Hashen      Member Level: Gold     Points: 1   Responses: 1



Hi All,
I used below code for copying my file from local machine to remote machine but it showing the error is "Unknown Username and bad Password".

File.Copy("Sorcepath","DestinationPath");





Responses

Author: Tejinder Singh Barnala    31 Dec 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

either use net use command on your machine for adding that machine in your network friend list, or supply credential for that machine where you pasting that file.

Many Thanks
Tejinder Singh Barnala
/*I have the simplest tastes. I am always satisfied with the best*/



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : how to selet the whole week dates in Monthly calender
Previous : crystal reports deployement problem
Return to Discussion Forum
Post New Message
Category: Windows

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use