copy files to a server

145 pts.
Tags:
File transfers
Windows File Server
Windows Server
I have a windows C# form and copy files from the local drive to the server by using its IP address (//11.111.11.111c$test) I don't know where to use the server's username and password to be able to copy the files! Thanks.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Please post more details, code snippets etc to provide a much better overview of what you’re trying accomplish.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Ellie
    I am just using C# code to copy a file from my local drive to a remote server (File.copy("c:testtest.txt","\111.11.111.111c$testtest.txt")) Of course when I am connected to the server before running the program, since the username and password were already entered the program works fine otherwise I get a permission error. I hope it is clear otherwise please let me know. Thanks.
    145 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following