FileSystem Access To Network
I want to write a script that can read and write files to a place on a network file-server. Since the machine-local IUSR is not a domain user, it cannot access the resource.I want to provide IUSR limited access to a particular place on the file server.
Can anyone help me think of a reasonably secure work-around to this issue. We tried creating a virtual directory that points to the share(using a domain account), but even then, site users can see the files (no security), but the fso (IUSR) cannot (no
functionality). There must be a way.
View Replies
ADVERTISEMENT
Database path works on drive c:, but it doesn't work on a mapped network drive while i move the database to the mapped network drive it stops working.
Can anybody help how can I write Access Database Path to a mapped Network drive in my vb script?
View Replies
View Related
in my folder i have lots of pdfs stored in this format:
01_01_05.pdf means file is saved as mm_dd_yy format so if the file is uploaded on 23 march 2006 it will be 03_23_06.pdf
i'm using filesystemobject to check to see what file it the most recent uploaded Code:
View Replies
View Related
how to find the size of a pdf which is located on the server i know i have to use filesystemobject
View Replies
View Related
Is there anyway I can get the information about a file on the local machine of a user that is reading pages from my web site? Scripting.FileSystemObject does not have permission to do this, and I want to check the size of a file before I try to get it uploaded.
View Replies
View Related
I have an asp template with tons of code in it. I want it to be saved into an HTML page once it is done generating the asp page. however the only way i have found possible is by inserting objTextStream.Writeline "<code here>" into every single line of html. Is there no faster way to generate an ASP page into html?
View Replies
View Related
I want to move/copy/create/delete a file to/from the network folder, mypcmyshare through filesystemobject, and this shared folder has its own security setting. How can I specify the valid user info in order to make change to this network folder? Or is there any other better way to serve this purpose?
View Replies
View Related
I am trying to access remote directories using the filesystemobject and ASP. This only seems to work when the security is set to anonymous. However, I want to connect to the remote server and pass through the users credentials rather than the "connect as" anonymous credentials. The web server is 2003 and running IIS6.
View Replies
View Related
i have an ASP Page that generates a PDF document. After the generation i save the generated document as a file. all works fine.the only strange thing is, that my document is stored twice on the filesystem.
View Replies
View Related
I am trying to use the Filesystem Object to create a folder but I cannot get the code to process. Every time I try to view the code in the browser it takes a very long time for it to think and then times out.
I have the permissions set correctly on the folder (I think) I have given IUSR_Machine acct full access as well as the ASPNET machine account. Here is my code:
View Replies
View Related
I have got a problem wit da FILESYSTEM in ASP coding. Before I use window 98 installing PWS. Everything works fine....
And now, I use Window XP professional ( Laplop ), everything is updated ( Service Pack, .NET component, ASP.net stuff...
All my ASP code with FileSystem which used to be properly ran cant be executed on my XP server.
There is no message error on da page, but the browser icon keeps spinning and da content is blank, it means u dont see anything happens. I wanna ensure dat all da code is right, cos it work properly with PSW and other servers. I even tested with a simple code, but It still doesnt work..... Code:
View Replies
View Related
I am trying to copy files across servers
I can successfully copy file from server1 to server4
but am not able to copy file from server2 to server4
If I use the code to check for file on server 4
ie
If Fileexists(server4filename) then
response.write("File exists")
else
response.write("File Does not exist")
end if
If I run this code from server1 I get file exists
But if I run the same code from server2 I get file does not exist.
I am logged on as the same user.
Could anyone PLEASE let me know what is the difference on both the servers ie. server 2 and server1.
View Replies
View Related
I am going crazy trying to figure out why the FileExists method of the FileSystem object returns false when the file passed to it DOES exist.
The FolderExists method of the same object recognizes the existence of the folder containing the files in question, but FileExists always returns false.
View Replies
View Related
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.
View Replies
View Related
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")
View Replies
View Related
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?
View Replies
View Related
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:
Provider=SQLOLEDB;Data Source=machinename;Initial Catalog=xxxxxx;User
ID=xxxxxx;Password=xxxxxxx;Network Library=DBMSSOCN
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.
View Replies
View Related
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"?
View Replies
View Related
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?
View Replies
View Related
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:-
config.asp
Code:
View Replies
View Related
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
View Replies
View Related
I have a dll I wrote in VB6. Basically, it can list all the printers
it finds as well as print to a selected printer.
I created a test app in VB6, added the dll as a reference, and added
the following in a button click: Code:
View Replies
View Related
<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 />
View Replies
View Related
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.
View Replies
View Related
We are trying to display pdf files which is mappedre to the IIS server. For ex:
My website is located on server A and the url is http://myfolders
Now there are some pdf files ( ja.pdf,feb.pdf..) located on server B which is mapped on server A on the F drive.
So f: >> Server Bpdf folder
Using ASP we would like to allow the user to search for a pdf say jan and we display the pdf as a downloadable link.
View Replies
View Related
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.
View Replies
View Related
i m making an intranet website(asp is used) , on the home page i want to display the network user ip & user pc name when anyone opens the website. can any 1 help me out how to get the pc name & user IP of network user?
View Replies
View Related
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.
View Replies
View Related
I'm having a bit of a problem trying to capture a users LAN ID from the network. Currently I have an activex component that does it for me and I use Javascript to display/capture. Which was fine prior to the DDA guidelines. Now I need to find a way to do so without using JavaScript.
The first thing I tried was to use the Servervariables available but unfortunatly our servers use annonymous authentication, so I can't use that method. I've even tried but had no joy accessing Active Directory for the LAN ID, so I'm currently left scratching my head. Does anyone know of a way I can acheive this?
View Replies
View Related
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?
View Replies
View Related
when i try to use request.servervariable(login_user) it returns empty in asp. i created a dll in vb using the apigetusername . when testing this in vb , it retruns the network login id. But in asp it returns the servername where the asp is running.
View Replies
View Related
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.
View Replies
View Related
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?
View Replies
View Related