Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   .NET File I/O and Registry (http://www.xtremevbtalk.com/-net-file-i-o-and-registry/)
-   -   how to browse and copy files in a password protected network folder (http://www.xtremevbtalk.com/-net-file-i-o-and-registry/326817-browse-copy-files-password-protected-network-folder.html)

AlanS 02-05-2014 02:27 PM

how to browse and copy files in a password protected network folder
I'm building a VB.Net 2005 application that must perform the following tasks:

1. browse files in a network folder;

2. examine each file's attributes (file name, date created, date modified); and

3. based on the attributes read in task 2, selectively copy some of the files to another network location.

The issue is that the source folder (and probably the destination folder) requires an Active Directory username and password for access (which I have). I don't know which classes and methods will allow me to specify login credentials in code, so that the application will be granted rights to do all of the above. (I know that My.Computer.Network.Download allows you to include login credentials, but that will only perform task 3, and it's possible that different credentials may be needed in the source and target folders.) Thanks in advance.

AlanS 02-11-2014 09:52 AM

It turns out the remote machine is a Unix box, so this approach will not work. I'm going with mapped drives instead, which seem to be working.

All times are GMT -6. The time now is 12:16 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.