Create An Archive File Without Components?
Is there a script or a simple way(I doubt), to create archive files online without components...only with asp? by "archive files"....I mean .zip files or something similar that can then be de-archived later? It is not important whether the files get compressed or not. Code:
View Replies
ADVERTISEMENT
I need to know how to create a dynamically named list of a collection of records from my database.
All the records come from one table using the DateCreated column as the column that I want to collate the records with.
I want to group all the records in eg: march 2007 under a dynamic heading of 'March 2007' and the same for every other month in the table.
The date format in the DateCreated column is: dd/mm/yyyy
It's kind of a blog achive.
View Replies
View Related
I have being trying a create a dynamic news section on my web site for a while now and I cant get it to work.
I would link the home page to display the four newest news items and then a link to a news archive on a seperate page.
The news archive will have links ordered by YEAR then MONTH, similar to the following page: Code:
View Replies
View Related
One of my programmers is using Office Web Components in classic ASP to create, fill and format an Excel spreadsheet. Everything is fine except when he creates Merged cells the performance drops dramatically. He has investigated the 'Center Across Cells' alternative but cannot get it working
using Office Web Comonents.
Has anyone come across this problem or even better has a solution?
View Replies
View Related
I need advice about a good Upload component that can also give us the flexability of download and impersonation. If some one knows about a good componenet please do let me know.
Have checked the following ActiveFile, SA-FileUp, and Huge Asp Upload.
Also have used XML and ADO stream to upload the files, this could be perfectlly done in IE as we cannot create an object on the client side using Netscape.
View Replies
View Related
i've bunch of files in a directory which need to be displayed in a html page. is there a way to display those files by order (dateCreated (descending))?
View Replies
View Related
I am having problems trying to make a form submit information back to itself. The form works fine when I am not using the enctype"multipart/form-data" tag that is used to upload files with the <input type="file"> form component. However I need to upload a file using this form and also pass information back to the ASP page aswell.
<%
txt = request.FORM("COMMENT")
response.write("txt="&txt)
%>
<form name="frm1" id="frm1" action="mytest2.asp" method="POST" enctype="multipart/form-data">
<strong>Select file #1:</strong><br>
<input type="file" size="40" name="FILE1" id="FILE1"><p>
<strong>Comments:</strong><br>
<input type="text" size="40" name="COMMENT" id="COMMENT"><p>
<input type="submit" value="Upload!">
</form>
View Replies
View Related
In office web components u can use Excel through web with almost the same functionality. I have an emergency in finding out if it is possible in asp to save the changes u make to the spreadsheet though web to the original file in the web server.
View Replies
View Related
How do i upload excel files to the server from the client browser without using any third party components. My server runs on NT server. And I am coding in ASP( Vbscript).
View Replies
View Related
what i'm trying to do, is to create table identical to "faults" and move all of last months entries into the new archive table.
the current SQL i have is
SQL = "CREATE TABLE "
SQL = SQL + Left(Date, 2) & ":" & Left(Right(Date, 7), 2) & ":" & Right(Date, 4)
SQL = SQL + " AS(SELECT *"
SQL = SQL + " FROM Faults"
SQL = SQL + " WHERE (((Month([DateAdded]))=Month(Date())-1));"
the error that appears is... "Error 3290 - Syntax Error in CREATE TABLE statement"
can you work out whats wrong?
View Replies
View Related
As the client uploads the December news story, it replaces the November story and adds November to a dropdown menu on the news page.For example, all archived months stories can be accessed from the dropdown menu and the current month is visible on the page.
Hope this makes sense! Can anyone help, or point me in the way of some script I can download?
View Replies
View Related
How can i create a ZIP archive of an already present folder? This folder might have some nested folders in it too.
I have seen some components where we can create the ZIP archive but these add the files to the main archive folder that will be created when you specify the name of the archived folder and its intended destination.
I already have the folder with the files in it.
View Replies
View Related
i want to add this portion to my site.i want to display category of news depending on date.i want to display such news one month back from current date.
View Replies
View Related
do you know how to archieve data from database. if the was true with the data from database it will chechked or some thread or site for me look. i dont know to archieve it looked not same like using drop list.
View Replies
View Related
i have a created a CMS in which newstitle, the newsdetails and date(automatically inserted using the date() function) that it is added is inserted into an access db.
Now what i want to do is to create a news archive list which groups the news item added by month, so let's for the month of july all news are grouped into a heading call july(2007).
View Replies
View Related
I'd like to create ASP file on ther server side. Can I use
fso.createtextfile("c:folder est.asp")
Do I need to create a folder too?
View Replies
View Related
is it possible to create a xml file and save so that i can upload with asp?
View Replies
View Related
How can I simply save some data into a flat file (.txt) ? I've some data available and if the user clicks on a button it will save that data into the flat file... The user also need to define the directory (as in VB the common dialog box)...
Is this possible ???
View Replies
View Related
I have Windows 2000 and recently included Internet Information Services. I
then created a simple ASP file and clicked on it. The Open With dialog
appears asking me to select a program. I copied an existing ASP file,
test.ASP from another computer where it runs successfully. When I copied it
to my computer it changed to test.ASP auto file. The other computer runs
Windows XP. I am not sure is this is the issue. I verified the IIS is up
and running on my computer. Is there anything that can be done to correct
this?
View Replies
View Related
I am using ASP code to create a Word document on the server and all is working except for one thing: I need to be able to insert page breaks. My existing style formatting for page breaks does not seem to insert a page break into the Word DOC. Suggestions? Code:
View Replies
View Related
I was wondering if it is possible to create an sql file using asp to back up a tables contents at all?basically I want to make a copy of each table we have on the server into an SQL file so we can move it elsewhere, the server techs want to charge us for the backup copy so I want to get around paying if possible.
View Replies
View Related
i'm using window XP (hope this is not the reason) i cant create a file in my computer but it works on my school server
**********************************************
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set OutputXMLFile = fso.CreateTextFile("c:xx.htm",true)
**********************************************
everytime i run this method my IE hang(???) so, is it my IIS configuration problem or else.
View Replies
View Related
I want to create pdf file for reports using asp code.
View Replies
View Related
I know this is a lot to ask but if you have time please have a look and see if you can figure out why the following page to create a new ASP page on the fly seems to work but the output page doesn't seem to be there: Code:
View Replies
View Related
So, is there anyone can post sample code which cab generate the invoice, also it can be viewed by PDF file online.
View Replies
View Related
is it possible to create and asp page that can. zip a file and ate the same time unzip it.
View Replies
View Related
In Outlook Express, we could schedule event reminder on the calendar. I have seen people doing this on their web site, where they have a list of events and a "Add to my calendar" link to let user to click on. When the link is clicked, the Outlook calendar will pop up with all the event's information in it. Then I can save that event to my Outlook calendar.
I want to give this ability to the people browsing my web site to add our events to their Outlook calendar.
View Replies
View Related
if this was possible to have the users able to create a file into your webroot.
View Replies
View Related
this is simple script
<%
set fs = CreateObject("Scriptpting.FileSystemObject")
With fs
Set xxx = fs.createfolder("some directory")
End With
Set fs = Nothing
%>
ntfs security all is normal
my problem is next. i have installed Norton Internet Security, and when Norton Internet security is installed then i cant create files using asp scripts in Interet Explorer. how can i create files using asp script trough internet explorer?
View Replies
View Related
I have a stored procedure that creates XML content the way I want it using FOR XML AUTO, ELEMENTS. At least when I run the query anyway. What I want is to use that SP in an ASP page. When opened, I want a dialog box to pop upwith the option to open or save as... to the client's HDD. Here's my header for the page. The recordset is below that. When I open the page, I get the Save As. I want, but no records are saved.
What I'm missing is how to deal with XML and the recordset thereof. It's more of a feed that a recordset. How do I get that feed into a file on the client machine?
<% Response.contenttype = "application/vnd.xml" %>
<% Response.AddHeader "Content-Disposition", "filename=Product.xml" %> .
View Replies
View Related
I have an ASP process that creates 'reports'. At the moment these reports are output to a semi-comma delimmeted text file that I open in XLS. I then run a macro that formats the page correctly for printing.
What I would really like to happen is the ASP page creates either an XLS of ..DOC file that would open in excel (or word) with the contents pre-formatted ready to print. I have been looking, but have been unable to find anything suitable on this. Could someone out there point me in the right direction.
View Replies
View Related
The page below sends archives of video for the component aspSmartUpload. All time that I try to send a video archive wmv appears this error:
Request object error 'ASP 0104 : 80004005'
Operation not Allowed
/tvonline/video_enviar.asp, line 30
In line 30 I have this.
objUpload.Upload
I already verified the way of the folder and the permission of the folder for reading and writing and I am all certainty. I do not understand because it is showing this error.
View Replies
View Related
Is it possible to extract files and folders from a zip archive using ASP? If not classic, will .net do it as a standard task, ie no activex dlls, etc?
View Replies
View Related