I 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 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.
I am trying to use ASP to create a folder. I went looking on the internet and found one I could use but it doesnt work.
POST DATA: nf=music
<html> <body> <% dim fs,f set fs=Server.CreateObject("Scripting.FileSystemObject") set f=fs.CreateFolder("I:Inetpubwwwroot" & Request.Form("nf") & "") set f=nothing set fs=nothing %> </body> </html>
I need the user to upload a file to a folder, if the folder doesn't exist then it needs to be created dynamically from a session or a pulldown list menu...how would I go about this? Code:
I am trying to create a folder dynamically for an individual user to upload to on my site. However having successfully created a folder dynamically, I cant create a folder by the current users username.
The '<%=username.Fields.Item.Value%>' part was done by dreamweaver and believe that to be the problem.
I need to upload a file to a folder wich might not exist yet. How can i create a folder before uploading the file or is there a parameter in asp that creates a folder before copying the file there if it doesn't exit?
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?
table 1 is a cart table 2 is customer details table 3 is customer item buy item details
table 1 is let the customer buy their thing in here. after he check out all the table 1 data will go to table 2 and table 3.
now my problem is how did it doing. i using The SELECT INTO Statement but got error
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'a From cart where cus_id='2'' at line 1 /admin/order_details.asp, line 5 Code:
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?
i 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
is it possible to copy the value from fields in form1 to fields in form2 without submit the form??form1 and form2 are in the same page. if it's possible hoe to do that??
Anyone know a way to copy the contents of a recordset to a disconnected recordset and add a new column? The new column will be used to order the disconnected recordset.
My website users are copy pasting text from ms word docs and some of the characters are stored in the database differently. for example the characters look like • . my first doubt is > Is this allowed to do if yes, how can we get this fixed.my appl is asp and vbscript
i want to know that is it possible to copy from a word document and paste it on to a textarea on a asp page. when i do it normally bullets are not paste as it is . it is changed into different symbol( inverted ?)
i need to copy all the records in a database to a totally new and empty database n i try my code in sql analyser it runs perfectly but when i move to an asp page the process cannot perform... here is my code INSERT INTO attandence (company_code, data_serial_no, sign_in1, date_stamp, serial_no) (SELECT * FROM employee_att) is it syntax error or logic error??? the table structure for both is the same
i want to copy all records on table1 and append it to table2 , so how can i do thi throw asp? , by the way the 2 tables is not the same data , for example i want to add balanceid column into accountid column from the other table , and like this.... so whatz the asp code for this move i hope u can put for me a good explaination for the code cause am still a begginer on the asp
i want to know that is it possible to copy from a word document and paste it on to a textarea on a asp page. when i do it normally bullets are not paste as it is . it is changed into different symbol( inverted ?).
I 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 need to disable the right click "copy" option on an ASP page and add a Copy button that will do the same thing.I was able to disable the Copy when a user right clicks, but I need help copying the image to the clipboard when they click a button.
i need to copy all data from a database to another database, can anyone give me an idea how to do it?? besides that after i copy all the data i need to clear all the data in the old database
I need to deploy large numbers of small files via as ASP script. A task that takes an app likc XCOPY or whatever underpins NT a matter of seconds, takes the FSO .Copy action ages to complete. It's almost like FSO uses the old DOS COPY on a file-by-file basis, it takes so long.
Needless to say, this often ends in a script time-out for larger operations.
Anyone know of an easier/better way to do this? Perhaps .Net (with which I'm not yet massively familiar) offers a better copy object? Failing that, perhaps there's a server component someone could recommend that handles copying of large numbers of files better than the native FSO?
I have a locally hosted (via an executable) asp application. Does anyone know what would be the best (cheapest) way to add copy protection in it?
The application is an exe web server with the asp pages embedded in the executable. No one can copy the asp pages, but they can copy the executable and distribute it that way. I don't want them to do that.
If there is some sort of wrapper or asp code I could add to it for licensing or registration, please let me know.
i want to know that is it possible to copy from a word document and paste it on to a textarea on a asp page.when i do it normally bullets are not paste as it is .it is changed into different symbol( inverted ?). how can i overcome this problem.
I am currently accessing information in an access database using ASP and displaying it on some WebPages (both the access database and the website are on a standalone machine). I have a problem that the website needs to be moved onto another standalone machine and the database is not on it.
However I plan to run ASP and HTML to create the WebPages and then make a copy of the WebPages and then move the copys across? This machine will not have the database but because it has already retrieved the information (from the first time using ASP) it does not need the database. Is this true?
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.