Copy Local Directory To Network PC Problem
After months of developing an Intranet Site on my local machine, the company has finally set up their webserver. I have just transferred the ASP pages, SQL Databases, etc. and am testing the application. Really annoying if you ask me. However I have run into an issue with an application that was developed. Here's the background, sans code ... not really an issue now.
I had an upload page (using freeaspupload) that the user would upload a .DAT (delimited text file) file for insertion into a table (which BTW, works great), but along with this it would go out to another directory and grab a text file that was also inserted into the table along with the other data (this text file is a declaration of sorts).
Working on my Local PC (running IIS and containing the files/directory), this processed worked miracles. However, since it was moved to the actual webserver, I get 'File could not be opened.' , which I know means that the directory and file I'm sending the script to doesn't exist on the server (c:dir1dir2ext1.txt), it does, however, exisit on my local machine, so the ASP Page doesn't run.
What I need to know, is there something I can run, through an ASP Page, that will copy the directory from it's current location to a directory on the network where I can then have the script point to to get the txt file needed to be included in the insert for the record. I know I can point this line: Code:
View Replies
ADVERTISEMENT
I have created an VB-ActiveX-Componente that copy files on network.
This works on one my development computer when I install application
on other IIS servers (files to copy on same server with same rights) I
get error message "Invalid filename or number". So what can cause this
problems?
View Replies
View Related
I have write a asp that need to copy network file from file server to web server.I try it in webserver is everything alright. When I try in other machine, error on the filepath is not found. I search for the old thread, and I found it is not the same problem.
My IIS authentication method setting is "Digest authentication for Windows domain servers",and "Integrated Windows authentication",and I access the page using "Domain admin" account.So I sure it can access the file server to copy file to webserver.However, it still shown it "path not found".
View Replies
View Related
I have write a asp that need to copy network file from file server to web se
rver.
I try it in webserver is everything alright.
When I try in other machine, error on the filepath is not found.
I search for the old thread, and I found it is not the same problem.
My IIS authentication method setting is "Digest authentication for Windows d
omain servers",
and "Integrated Windows authentication",
and I access the page using "Domain admin" account.
So I sure it can access the file server
View Replies
View Related
how can I copy a file from local disk to windows server using ASP (not asp.net)?
I have a control file on my web side, <input type="file" name="file1" />
I choose file on local computer and what function must I use to copy
this file to server ?
View Replies
View Related
I have one .asp page with form and <input file> field on it.I want to copy selected file from local machine on server.But it doesn't work.
Should I use some component?
View Replies
View Related
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.
View Replies
View Related
explain abt copy files from IIS image path to local client's machine.
View Replies
View Related
I have an Access Database; e.g., DB.mdb, which has 10 Tables; e.g., Table1, Table2, ..., Table10; in a directory; e.g., Directory1.
Using ASP copy method:
FileObject.Copy(destination[,overwrite]) I have made a copy of this entire database in another directory; e.g., Directory2.
The Tables from Directory2 has been and will be changed via writing new data into the 10 Tables in Directory2. I need to copy only one of the Tables, e.g., Table5 from the original database in Directory1, to the database in Directory2. Replace Table5 from the DB in directory2 witj Table5 from Directory1 without affecting other 9 Tables. How can I do that?
View Replies
View Related
I have written a script to update user information in the Active Directory using ADSI. Here is part of it:
Set User = GetObject("LDAP://<GUID=" & GUID & ">")
User.Department = DepartmentName
User.SetInfo
Set User = Nothing
This works fine unless DepartmentName is an empty string ("").
Then I get error 0x8007200B: "The attribute syntax specified to the directory service is invalid."
This happens with all the attributes I have tried, including TelephoneNumber
.
Do I need to delete the value of the attribute instead of setting it to an empty string? If so, how do I do it?
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
I have one Activex Control which i want to use over the network. In that i am having one module and one user control. For this i prepared the ocx file and made a package. But when i am trying to deploy that file it gives me error no. 80042114
how to use the activex control over the network.
View Replies
View Related
Dim filesys, test
Set filesys = CreateObject("Scripting.FileSystemObject")
test = filesys.FileExists("probat08at08-dank60apzipap072905.002")
Response.Write(test)
The out put is the word 'False'. However, the file is in that path. This is my first time trying anything over a network, checking files and such.
View Replies
View Related
I have 2 questions :
1. - I want to print from my ASP page directly to my network printer. For this i use the following code, but everytime, my document to print is sent to local and physical port LPT1 not to network printer : Code:
View Replies
View Related