Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / March 2008

Tip: Looking for answers? Try searching our database.

Copy file from a computer not in the domain

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
karl - 31 Mar 2008 19:42 GMT
I have a vendor PC on our network that is not part of our domain. I
need to kick off a daily process that can copy a file from that
machine to our domain. The machine running the process will part of
our domain.

How can I specify the user credentials for the machine that is not a
domain member for use in the file copy operation? I have the local
administrator account information I just need a way to specifiy it.

Thanks
Karl
kimiraikkonen - 31 Mar 2008 20:01 GMT
> I have a vendor PC on our network that is not part of our domain. I
> need to kick off a daily process that can copy a file from that
[quoted text clipped - 7 lines]
> Thanks
> Karl

Karl,
Without being sure about domains, with this code i'm able to copy file
from a computer which is in my WORKGROUP on my LAN:

My.Computer.Network.DownloadFile("\\<computer>\folder\file.exe", "c:
\<file.exe>, <username>, <password>, True, 10000, False)

In the code above, you'll see via IntelliSense that "True" is for
ShowUI notification and "False" is for overwrite permission depends on
your taste.

Use UploadFile to send data from your computer to remote computer on
your LAN with the proper credentials as described above.

Regards,

Onur Güzel
jeff - 31 Mar 2008 21:27 GMT
create an share folder on the pc and access is view the computer name.

>I have a vendor PC on our network that is not part of our domain. I
> need to kick off a daily process that can copy a file from that
[quoted text clipped - 7 lines]
> Thanks
> Karl

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.