Zipping Files On Server

Is there any way of using ASP to zip up a set of files on the remote server and either store the resulting zip on the server and/or present it to the user for download? The thing that is going to cause problems - I can't install components on the web server so need a solution that is pure code.

View Replies


ADVERTISEMENT

Zipping Files Via Asp?

Is there a native 'zipping' or compression compoonent in windows accessable
via ASP? Or do you have to buy a compoonent?

View Replies View Related

Zipping Files In Asp

I have an application that zips files in a com+ object called from asp.It was using a free java class called ZipFunctions.class (just google the file name and links to download this will appear). This worked great until i had to shift to windows 2003. It requires MS virtual java machine to work. So I went in search of another that would be easy to incorporate as i had the java class. I found this one http://www.xstandard.com/page.asp?p...B1-C733C983873B. It requires a little more work to do multiple files. But it works well, doesn't require MSVJM and it's free.

View Replies View Related

Zipping With Asp

I want to build a site for downloading files. The filenames all begin with numeric digits followed by text characters including commas, apostrophes, etc. It's important that the text remains on the end user's level. So, I want to zip and rename each zip to the original first 5 digits. Does anyone know of any ASP component or process that will do that?

View Replies View Related

Server.Mappath() To Include Files For Other Domains On Same Server?

If I have multiple websites on the same server,can I use the #include directive to reference include files elsewhere on the server? I tried this -

<!--#include file="C:InetpubvhostsATRAMEMBER.COMhttpdocsheader.asp" -->

But no dice...

View Replies View Related

External Server Pull Files From Internal Server

I have an application that needs to pull files from an internal server. This
is the setup. The web server is external facing, meaning exposed to the
internet. I then have a file server that sits inside our domain. I created a
COM object that can impersonate a user to retrieve files from that server.
However, I cannot get the application to pull files from the internal server.

I first tried a domain account that could reach both servers. This did not
work. I then had the network team create the same account on both machines.
This is not working either. I can impersonate the user (I am able to get the
user/users authenticated), but the script keeps coming back with and access
denied. Code:

View Replies View Related

Transfer Files From One Web Server To Another Web Server

How can i transfer files from one web server to another web server. Is it possible?

View Replies View Related

Copying Files From Server To Server

if there's a way to copy image files from one server to another using ASP and FSO? Or perhaps some other way to do it? I'm trying to collect information on books, and want to have a picture of the book associated with the description, but I want to be nice and
host the pictures myself, not just link to other people's pictures. Is there a way to do this?

View Replies View Related

Server Log Files

is it possiable to write in asp program that will be able to analytics the server log files? any information on this subject will be good for me now cause i'm just starting...links...codes...any info...

View Replies View Related

Files To Another Server

I am running a application create and write in a file it works fine as it writes on the same server. But I need to create & write it on the another server. Is it possible?

View Replies View Related

Files From Another Server

I'm building an ASP site that needs to include some ASP files from another web server. Can I include them like traditional SSI or I have to use some special code or functions.

View Replies View Related

Copying Files From Web To Server

i want to copy a file(.jpg, .swf ...) on the web, to my server. how can i
write this function? it should take an url of a file and past the file to my
server in related folder.

View Replies View Related

Upload Files To Server

I need to allow a user to upload images to my website.
I can't use an asp.net solution, just asp 3.0.

View Replies View Related

Upload Files To A Web Server

I'm trying to develop a webpage that will allow people to upload pictures onto the webserver from their own PC's but don't have a clue where to start!

View Replies View Related

How Can I Delete All Files On Server?

i want to delete all files from a dir off the server any suggestions?I know how to delete specific files but i dont know how to delete all files.

View Replies View Related

Creating Files On Another Server

I am trying to create a file on another server, but I get either "Permission Denied" or "Path not found" errors. If it helps, the folder I am attempting to put it in is a shared folder. here is the path that I am trying to put the file in...Code:

set f=fs.CreateTextFile("192.168.50.15E:Common est.txt",true)

View Replies View Related

Upload Files To A Server

I am curious if anyone can help me to upload files to a server using asp. I am making an interface so user can upload any files to the dedicated web server.

View Replies View Related

Accessing Files On Another Server

Development environment: Windows 2003 Server running IIS6 and the same
server running as a domain controller, DNS and DHCP servers.

Production environment: Windows 2000 Server SP4 running IIS5 and not used
to provide domain control or name services.

The two environments are on different networks with no trust relationship
between them. In both environments the web server is set up to disallow
anonymous access and to use integrated Windows authentication. The
application is vanilla ASP (i.e. not .NET) VBScript.

In the development environment, the following code runs flawlessly no
matter whether "myUNCPath" points to a share on the web server or a share
on another server in the same domain.

Set objFilesys = Server.CreateObject("Scripting.FileSystemObject")
If Not objFileSys.FolderExists(myUNCPath) Then
Set objFolder = objFileSys.CreateFolder(myUNCPath)
End If

However, in the production environment it falls over with a permission
denied error when "myUNCPath" is on another server and further testing
shows that the FolderExists method is returning false even when
"myUNCPath" exists. The network share is configured to give full control
to the Everyone group.

I've found http://support.microsoft.com/kb/207671 which although
referring to IIS4 suggests that the issue could be the authentication
method (I'm assuming that integrated Windows authentication is close
enough to NT Challenge/Response and so might generate a token that cannot
access network resources). I'm not sure of this is the problem because if
it were then the code shouldn't work in my development environment.

Any ideas on what's going wrong and how to access the network resources
in the production environemt?

View Replies View Related

Browsing Files On The Web Server

I have an admin page for adding pictures to a stock list, currently it browses and uploads from a local pc to the server but can you browse, say,the images folder on the webserver?

View Replies View Related

Delete Files Off The Server

Linux Server with Chillisoft ASP.

How would I get an ASP page to delete an image file, probably a .jpg off the server.

Basically, what I want to do, is that when the user deletes a product item from the database, it will also delete the corresponding image file from the images folder. So that the server space doesn't just fill up with redundant image files over time.

If it makes any difference the image files are uploaded using a PHP script, I've no idea how it works, but it does.

View Replies View Related

Delete Files In Server

I have a Product and that product contains some documents.The documents are uploaded to server and can be viewed in my asp application.

In admin module i have given option to edit or delete that product.In the event of edit just the records in the database get changed.But in the case of delete i have to do 2 things

1. Delete all the data related to that product.
2. Delete all the related documents for that product in the server.

So can anybody help me figure out how to delete a file using asp in ftp server.

View Replies View Related

Deleting Files From The Server

I am pretty proficient in the use of the File System Object to create and access files on the server - but can someone please tell me how to DELETE these files.I must be missing something pretty basic.

View Replies View Related

Copying Files To The Server.

How can i copy GIF file from another server to my server?

View Replies View Related

Displaying Files On My Server

I have a script that allows people within my company to see the files end-users have uploaded to the sever, and it gives them the ability to download the files to their computer. The only problem: When someone uploads a file that has spaces in the title ...

For instance, if someone uploads document.doc, it displays and everything is great; I can download it from the web. If someone uploads document_1.doc that's fine too. When this happens, and I go to download, the URL is http://www.mycompany.com/extranet/uss/document_1.doc and everything is great.

But when someone uploads document 1.doc ... there's that space in there, then it gets all messed up. The download URL would then be http://www.mycompany.com/extranet/uss/document ... and it would cut off after the space. Does anyone have any suggestions? The code is below. Code:

View Replies View Related

Deleting Files From Server

How can I call all files in a folder on a server and then give a user the option to delete them?

View Replies View Related

Viewing Files On Your Server:

I have a form that end-users upload files on, into a folder on my server. I want people in my company to be able to go into our intranet, and view the upload files, and be able to download them.

It Works Well When ...

It works perfect when someone has a file with no spaces in the name. So files like document.pdf or document_1.pdf display fine, and are easily downloadable. When this happens, the URL when you put your mouse over the link is http://www.mycompany.com/extranet/uss/document_1.pdf -- so it's easily downloadable.

The Problem:

When an end user uploads a file with spaces in it, such as document 1.pdf. When this happens, and you put your mouse over the link, it will display as "http://www.mycompany.com/extranet/uss/document" .... and then it doesn't have a file extension or anything; it ends where the space ends, so you can't download it. Code:

View Replies View Related

Reading Server Files

I have files on a server. I want to read the SERVER's File system and write out the filenames to the page. how can i do this?

View Replies View Related

Copying Files From Server

I am running into a problem for copying files between 2 different servers. I am using the following lines of code to do that, but I get a 'permission denied' error

Set fso = Server.CreateObject("Scripting.FileSystemObject")
strSourceFile = "server1file1.doc"
strDestFile = "server2file1.doc"
fso.CopyFile strSourceFile,strDestFile, true

View Replies View Related

Uploading Images/Files To Server

Other than creating a custom component or purchasing one, isn't there
any other way by which users can upload images/files from their local
machines/hard disks to a remote server? Doesn't ASP have any in-built
component to do so?

If that's indeed the case, can someone suggest any free components
(not trial ones) which can be used to upload images/files from users'
local machines/hard disks to a server?

View Replies View Related

Downloading Files Stored In SQL Server

I am trying to download files from my database that I uploaded to it. I can download bmp, txt file but have not been able to d/l pdf files. I am able to d/l pdf files stored in the file system but not in the database. Any help would be great. Here is my code, I have hard coded the file to download for testing purposes.

Connect = "Provider=SQLOLEDB.1;Persist Security Info=False;User
ID=sa;Password=;Initial Catalog=INNB;Data Source=pompom"

Set db = Server.CreateObject("ADODB.Connection")
db.Open Connect....

View Replies View Related

Client And Server Copying Files To And Fro

There is a client and a server. They both share a folder structure that is identical. The client is able to copy and import files to and from the server with button click.

The client is running IIS and some local scripts. The client also has a network drive mapped to the SERVER location.

Is there a way I can copy files without running IIS on the clients machine? The server needs to pass the file info to the Client. Also keeping in mind that I can't get IE to open file protocol links.

View Replies View Related

Upload Files In SQL Server Database

I have attached the file upoading system in this thread.

It is working fine with MS Access Database but when i change the database to MS Sql Server then its upload not works i think its security problem, or the problem is that when i import the MS Access table into MS SQL server it change the field datatype from oleobject to image.

View Replies View Related

Unable To Download Files From Server

I'm having trouble with my first IIS6.0 on Windows Server 2003.

The web site works fine: all ASP pages are processed and displayed normally. The problem is we are not able to download any files from the site (pdf, zip, doc, ...) When you click on a link pointing to one of these files (or if you write the file's absolute URL in the address bar of IE) you get the normal Open or Save as dialog. Whichever option you choose, the next window is an error message stating that the file cannot be downloaded. The strange part is that everything else is working fine, it is file download what fails, exclusively.

Is this something that needs to be enabled in IIS6.0? Do you know anything about this issue?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved