Re: How to copy files across network without using network share

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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





"SeanMac" <SeanMac@xxxxxxxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:F64AC697-3133-4DF5-9C88-D887470E8A37@xxxxxxxxxxxxxxxx
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.
--
Sean McIntire


.