General discussion

Locked

Remote File and Folder List in VB

By sybrandk ·
I need to write a program that lists files and folders on a remote computer in Visual Basic.
I also need to change the Files and Folders it displays.If anyone could please help.
Thanks
sybrandk@comparexafrica.co.za

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Remote File and Folder List in VB

by Jay Eckles In reply to Remote File and Folder Li ...

Obviously the user running the program will have to have access to the remote computer. For the sake of simplicity, I'll assume that the remote computer is also running Windows. If the remote machine is mapped as a shared drive, then you just do adirectory listing on that drive letter. If the machine isn't mapped as a share, then you can use the good ol' "net use" command to map it temporarily while you get the directory listing. If you can't map the machine, perhaps you could use some other network protocol to get a directory listing...ftp, for example. At some point the remote server has to be set up to allow access to the user of your application. I don't see any way around that.

Good luck.

Jay Eckles
www.jayeckles.com

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums