i would map a network drive from a share on another server. it works fine with the net use command under user login but it do not work from an asp script or dll.
is this that i have to add the iuser_<computer_name> profile into network computer that share it resources?
how to write a text file to a mapped drive or network drive. In my script, I’m currently writing the text file to a local folder on the server temporarily until I can figure this out.
So far I have tried to use the mapped drive letter, network path, etc. to get this working. I believe all the permissions are in order (I hope) as well. No matter what I have tried, I just get a Path Not Found script error. I know this has to be possible, just I’m missing something … probably something right under my nose but I just can’t figure it out.
<i><b>Originally posted by : Augusto (augustocm2000@yahoo.com)</b></i><br />Hi<br />I've got a problem that I´ve been trying to solve but there is no way I can find the solution.<br /><br />I am mapping a network (intranet) drive in my computer (winNT 4.0), but when I try to "see" this drive (or a directory of this drive) from an asp page, it is impossible! What I mean is that the drive is mapped and accessible in my windows explorer, but my asp code says "Path Not Found". And I have no problem when I "see" a local drive, it locates without no problem.<br />Does anyone know if this is a problem with the server??A configuration problem, for example?!<br />
I am trying to write a file of emails to my mail server for a newsletter.The emails come from a form on a website and append the file.However I can not accomplish this.I have tried mapping the a network drive.Then writing to the file with the path
"U://subscrib.txt" using the filesys obj.
This did not work and I am unsure why.I could not add the internet user to the permissions on the mail server because its not the same machine.
I have a mapped drive on my intranet web server to my internet web server. When I iterate through the drives collection on my intranet site, my mapped drive does not show up. Is there anyway I can get to this drive to read a small set of known files? I don't really want to have to create a virtual folder on the internet web server and move the files in question to it so that my intranet server can get to them.
i want to map to other drive/folder in other machine is possible to do ? i am just handling some file management through web(intranet). my asp files are on my webserver, i do have an file server as well.
want i want is map to my file server so that user can handle their files (of course they are restricted to some extend). some sample code on this.
I'm trying to create an admin page that can run miscellaneous scripts for our IT department. Currently, I'm trying to create a script that can map a network drive for a user (e.g. a form where I can input pathfolder, drive letter, and domainuser). Is this possible? If so, can someone point me in the right direction?
I am trying to read a file which resides on FILESERVERMYFOLDERmyfile.txt.I can not map this server on the webserver. I need to access it through UNC.I have a domain account which when used with ASP.NET works fine through impersonation. I use it for ASPUpload and it works fine to save files on FILESERVERMYFOLDER
I want to read the file through FILESYSTEMOBJECT. I don't know if I can impersonate using FILE SYSTEM OJBECT.How can I read the file.
Need to knnow how to check if a given network drive and folder exists.
i understand the File io system and how to check if a folder or a file exists.
PS. This would be a maped network drive.. i.e. 23232.23.4556 ( z: ) or enginering on 'werserverde' ( Y: )
Just some more to maybe help answer my question What I need it to beable to enter this "10.52.1.38~Library" into my serch box and have it check if it is valid or not. Code:
I want to check the disk drive space on a small intranet. Like 30 computers. All have been partitioned and have a D: drive that is shared and is the drive I'm trying to check. This is basically what I have tried:
Code: Dim fs, pcdrive, cdrive, n
Set fs=Server.CreateObject("Scripting.FileSystemObject") Set pcdrive = fs.GetDrive("xx.xx.xx.xxshare01-d")
Response.Write("Share01 Free Drive Space is: " & pcdrive & "<br>")
set pcdrive = nothing set fs = nothing
Is there something wrong with the code or would it possibly have to do with permissions? When this script runs,I get a page cannot be displayed.
1. The file is on a map drive, which is mapped to a folder on the same server. Example. The user's folder 'John'. 2. I am able to get the file information ("E:PhotosImage1.jpg") and can copy the file to the folder. ONCE I KNOW THE UNC ("headoffice- dellsystPhotosImage1.jpg" file to copy) I would like to be able to get the UNC from the user's system, by submitting the drive letter to a function. This script is for an Intranet and should be in ASP or JavaScript. ..
I have mapped a drive in our IIS, but I don't know how to connect to it from ASP. I would like to place files (like images files) to the mapped drive T:XXXYYY and display files from there.
I've tried using Server.MapPath, but when I put T:XXXYYY as parameter, it will say it requires virtual path but not physical path.
Then I tried using:
Set MyFileObject=Server.CreateObject("Scripting.FileSystemObject") Set MyFolder=MyFileObject.GetFolder("T:XXXYYY") but it will say Path not found.
I mapped dirve in a another computer as K: and I need to listout folders in a asp page that mapped drive. So I was checked that drive is in ready state using IsReady property, but it will return false. But when I was tried in VB application using same code it work perfectly. So any one know what can be happned.
<% set fso = CreateObject("Scripting.FileSystemObject") set d = fso.GetDrive("K:")
if d.IsReady Then response.write " Drive " & d.driveletter & " is Ready " else response.write " Drive " & d.driveletter & " is not Ready " end if %>
if it's possible to save a file down to someone's C drive from an ASP page. I've left him fiddling around with the FileSystem object and TexStream object, but I don't fancy his chances.
I'm guessing this may not be possible, as people may not be overly happy with the concept of web pages writing files to their machines, but I thought I'd ask. And it's on an intranet if that helps.
How can i save an image that i have on display on a ASP page, to my hard drive? I'd like to be able to save it to let's say "C:My Documents" or something like that...
I am using a file type input box in an HTML form. When a file is selected, the local pathname results. Is there a way to run this form online, and access a file on the visitor's PC from the web? What pathname needs to be used?
my current setting is user will click a link in the web page and choose the place that they want to save the file to.
Now i am trying to auto download the file. that means user click the link, it straight away download to for eg. "D:Test". my problem is the web page is at server. user will access the web page thru http, but how am i going to auto download to the user's local drive?
I have two machines, one generate files, and copy to the other. I try wscript.shell in my program, but it dit not work.
The two machines are not in the same domain. I saw some people's question but not suitable for me,their machine are in the same domain. They can assign permission to do the job.
My system is on the Network.The system has a Project being developed in ASP and Oracle. shared the ASP files but in other system the file is showing as MS-Front Page. both the systems are on Win-2k.
I've looked all over and can't seem to find any information on whether or not you can get a file through a network. I have a webpage that needs to check to see if a file is on a specific server. Is this what it would need to look like?
Set file1 = fso.GetFile("computernamedrive otesap.zip")
i got an asp project, current done the phase one, is a web application over the internet. phase 2 the client need us to do a add on application to previous web application. but can only access with their own network.
that mean they want some portion of the application to be over the internet, and some portion of their application can be access by their own network only. so what do i need to do to make my system to know the station accessing the application currently is within own network or from other network?
I've been getting this recurring "[DBMSSOCN] General Network Error" ever since we separated our web server and our database server. My connection string has been as follows:
Is it possible that changing the machinename to an IP address will help? Initially, it seemed as though adding the Network Library parameter was working, but recently it started to happen again.
Is there anyway I can check to see if a server is online in my network with an if statement saying if online response.write "Online" else response.write "Offline"?
Below is the message I received when I attempted to use a web page on our network that makes use of ASP.
The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. --------------------------------------------------------------------------------
Please try the following:
a.. Contact the Web site administrator if you believe this directory should allow execute access. HTTP Error 403.1 - Forbidden: Execute access is denied. Internet Information Services (IIS)
Does that mean that we need to relocate the files where the server allows ASP executable commands to function? Or can the directories properties be changed so that such executables is allowed?
we have our Intranet in work where my ASP pages are and i want it to connect to a database on one of the network drives.. The location of my database is:-
NW-SHARE-1DATATEMPTRANCOMMON@digireportsRobbieASP es t.mdb
but the following connection code i have doesnt work:-
i create virtual directory on iis with network directory is a share located on another computer...after i did that ....i can't browse that virtual directory...if i browse that virtual directory ...at browser IE show message the page cannot be found
I need to know if its possible to create an ASP page that when requested will display the network id of the requester. Most people have told me to query the request.servervariables("LOGON_USER"). But this will get me the login of the server and not the client. In our situation we do not want to have our users login twice (once to their machine (the client) and then again to the server (the one that serves the asp page). I need to know the client logon name.