how do i get the machine name across the network

R

rock

hi
i have a small application that creates a txt and xls at
the end of its process, and deposits them on a server
elsewhere. the user has asked if i can put these files on
his workstation, but i can't seem to get them over there,
although i can get them onto the server, so i think it
might be a permissions/rights thing.
what class/object do i use to find out if its possible for
me to write these files?
i am guessing that i use FSO to put them there?
thanks
 
D

Douglas J. Steele

You'll only be able to write to a workstation if a) there's a share on the
workstation, b) you have access to that share and c) Access From The Network
has not been disabled for the workstation.
 
J

John Nurick

Hi Rock,

First of all, the workstation needs to be set up for file sharing, with
a share that contains the folder where the user wants you to put the
files. The user or network administrator will have to set this up if it
hasn't already been done.

Then they have to ensure that you (or to be precise, the account that
the application is running under) have sufficient permissions on the
share itself and on the folder. I think this should be use full access
to the share and RWXD on the folder.

After that you should be able either to write the files directly to the
folder or to copy them from the server, using the UNC syntax
"\\COMPUTER\Share\folder\filename.ext"
 
G

Guest

Thanks to you both...i will get those requrements in place
Rock
-----Original Message-----
Hi Rock,

First of all, the workstation needs to be set up for file sharing, with
a share that contains the folder where the user wants you to put the
files. The user or network administrator will have to set this up if it
hasn't already been done.

Then they have to ensure that you (or to be precise, the account that
the application is running under) have sufficient permissions on the
share itself and on the folder. I think this should be use full access
to the share and RWXD on the folder.

After that you should be able either to write the files directly to the
folder or to copy them from the server, using the UNC syntax
"\\COMPUTER\Share\folder\filename.ext"




hi
i have a small application that creates a txt and xls at
the end of its process, and deposits them on a server
elsewhere. the user has asked if i can put these files on
his workstation, but i can't seem to get them over there,
although i can get them onto the server, so i think it
might be a permissions/rights thing.
what class/object do i use to find out if its possible for
me to write these files?
i am guessing that i use FSO to put them there?
thanks

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
.
 

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