How to copy files across network without using network share

G

Guest

How do I programmatically copy files across a network (from a local
workstation to another local workstation on the network) using visual basic
2005?
In other words, when in explorer and you enter a unc path to a network
workstation, you are prompted with a dialog box asking for the user name and
password that has access rights to that computer. After validating, you can
access the files on the remote pc just like you can on your own pc, at which
point you could copy files to the remote pc.
I am trying to copy files to a remote pc and need to know how to do the
above in code.
Any help would be appreciated.
 
M

Michel Posseth [MCP]

Well i copy with my programs just over the UNC paths but indeed my program
is running with the apropriate rights

So the trick is to give the program the right user credentials ( one that
has the apropriate rights on the target system ) , this is also possible
through code
 
G

Guest

How do you do this in code?
--
Sean McIntire


Michel Posseth said:
Well i copy with my programs just over the UNC paths but indeed my program
is running with the apropriate rights

So the trick is to give the program the right user credentials ( one that
has the apropriate rights on the target system ) , this is also possible
through code
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top