All The Sessions Reset When Run Copy Folder Or File
I have very weird problem on my server, when I run this function: Code:
View RepliesI have very weird problem on my server, when I run this function: Code:
View RepliesI have some files located in a file server and managed by a SQL database from a web based interface using ASP + VBSCRIPT technology. I need to automatically copy those files to a web folder.
View Replies View RelatedI just switched from win2k to winxp .. and im running into all kinda situations. Finding myself having to do a lot of extra steps to get things to work.
My main problem right now is that i can't get asp to create a folder.. nor can i get it to copy a file. Ive even given full permissions to the folders.. still no luck.. any suggestions?
what I need is is when a visitor comes to the site, I need it to check
the host name. if "www.hometowndigest.com" is the host, then check a
folder named "something" and if the folder does not exsist, create
folder "www" and then copy folder "temp" and its contents.
If the folder "www" is there, look in it, check to see if the files in
folder "temp" are in there, if not, copy the files that are not from
folder "temp" into folder "www". Code:
I need some help: with cdosys i'm able to send e-mail from asp using the local exchange
server. Now I also have to save the sent mail into the user's mailbox for future reference: how to?
I'm using:....
I have an ASP script running on the server that generated a PDF file for me on my server. Now, before I return to the client, I want the script to copy the file to a different location (on a different server). Can someone tell me how to code the file copy in ASP?
View Replies View Relatedi m dealing with a problem i want to copy a FILE from some SPECIFIC URL to my server through my ASP code....can any1 help me in this regard ..i ve no idea doing this...FILESYSTEM OBJECT just support the physical files
View Replies View RelatedI am writing a web app that will copy large files (250-3,000 MB) and wanted
to know the easiest way to implement some sort of progress bar? Each copy
will only have one file, but I would like a way for the user to see how far
the copy is.
i want to copy a FILE from some SPECIFIC URL to my server through my ASP code....can any1 help me in this regard ..i ve no idea doing this. FILESYSTEM OBJECT just support the physical files.
View Replies View RelatedI can log into the server, run the asp page and make the following
test code work, but if I log onto a workstation and run the same asp
page, I don't get an error, but the file copy doesn't work. I have
anonymous turned off because I record LOGON_USER as the clerk in the
site when the user processes orders. Why would this work running
directly from the server but not from a workstation? Code:
I'm running a Win2k server with FP 2002 Extensions using discussion boards.There is a time delay in the posted content and the way our moderators are managing it now involves logging into the server,copying the TOC file,deleting the public TOC file and renaming the copy to the new public
version. --Copy and paste Tocprivate.htm -> delete TocPublic.htm -> rename copy of Tocprivate.htm to TocPublic.
Is it possible to script something that would allow this to happen with a single click of a button through their web browser?
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".
How can I copy an html file to a local drive? For example: I would like to copy:
www.mywebsite.mypage.htm
to c:inetputwwwrootmydirmypage.htm
can I do that?
How can I copy a file from disk to server?
View Replies View RelatedI have sucessfully able to copy file to a remote mechine in our network by writing some asp code. To make it sucessful, I had to keep destination folder in remote mechine as "Share" for IUSER that my ASP code running with.
I thought just giving the IUSER write permission on the destination folder will allow to copy the file. But it does not, I had to keep the folder "Shared". Is there any way that I can copy file to a remote mechine without havving the folder "Shared".
I want to copy a file from a variable location
"C:...myDocument
hisfile.txt" to a destination D:data
How can I do that? I tried to get the path from <input tyep=file>, but I couldn't pass this value to the filesystemobject.
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
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 ?
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?
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.
Is it possible to run an asp script to display the details (i.e. last
modifed time/date) of several files held on the client and or on the server
running IIS (if i map it to the folder with the files in question).
I am creating something for our intranet and i want to list the files and folders of a directory, i found some code to do this.The only problem is that it lists the asp file used to for example if i go to:"http://myserver/listing.asp" In the file listing will be "listing.asp" amongst a lot of marketing documents.Is there a way to block/stop this one file from being listed?
View Replies View Relateda website that tells how to do this Folder and File listing? I know I need to use the filesystemobject but other than that I'm lost.
View Replies View RelatedI want to know how to delete a file from a folder in ASp Like i have the path of the file at runtime in my ASp file... but how to delete ?
View Replies View RelatedI am trying to use this bit of code to change the permissions on a file. Apparently it should work but it isn't. I am getting no error messages just nothing is happening. The path to the file is definitley correct. Does anyone have any idea what I am doing wrong?
Code:
<%
strFileOrFolder = "D:WebRoothtdocsProjects est.txt"
strUserName = "Everyone"
dim objWSH
set objWSH = CreateObject("WScript.Shell")
Call objWSH.Run("cmd /c echo y| CACLS " & strFileOrFolder & " /G /T " & trim(strUserName) & ":f", 0, True)
set objWSH = Nothing
%>
I am currently working on an ASP based site which displays largely numerical data, which is stored in an access database. I have been asked to create an 'export' page, which, when working properly will allow a user of the site to export the table he or she is looking at and export it to a .CSV file which they can save onto their own machine.
My problem lies here, I can create the .CSV file on the server, BUT permissions on our host are such that the file can only be saved to the 'databases' folder and not on the webroot.
Is there any way in which I can either setup a way for the user to download from the databases folder? or rather than creating the file on the server, directly write the file to the user's machine?
I have a folder that has a batch of leaflets in it, these are PDF files. In my application I have a list of courses and one of the fields has the name of the file.
Is it possible, without automatically having to add them by hand, to grab the file sizes and use them on a page or insert into the relevant db field?
I have a DB table, which contains the name of a image file stored in a folder. What i need to do is somehow retreive this image and display it in an asp page?
View Replies View RelatedI want to copy or upload a file from server say some lanserver to ftp server through ftp. Is it possible.
View Replies View RelatedI have some ASP pages on my intranet site providing a helpdesk to my users. As part of logging a helpdesk call I am prompting them to link to a file using input type="file".
The file is on a network drive and the problem is when you click on the browse button it defaults to the clients desktop as the starting point of the browsing process. I would like to set a default location to start browsing eg etwork_serverhelpdesk to avoid confusion. Does anyone know of a way to do this ?
I'm using serverXMLHTTP to retrieve pages, but in some cases its throwing "The connection with the server was reset" back to me, im not completly sure what the message means, when i used other variations of the the http component i get similair errors, though sometimes it pulls through (once every so many'th times)
View Replies View RelatedHow can i reset the combo box or <select> in asp?
View Replies View RelatedI have a a reset button on my page but when i press it nothing happens? Why is this?
(input name="Reset" type="reset" id="reset" value="Reset" />