Giter Site home page Giter Site logo

aspzip's People

Contributors

rcdmk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aspzip's Issues

Problem on Windows2012r2

Hi,

I'm struggling to solve a problem with your class.
On my developing's machine Windows 10 64bit your code is working like a charm! But same code on production's server Windows 2012 r2 64bit has a problem: files is not added to empty zip file.

curArquieve.Copyhere filepath, NoInterfaceYesToAll

don't add any file to empty zip file created.

Have you encountered this kind of problem?
Do you have any hint that can help me to solve this issue?

Thanks
SDeSalve

can't open zipped file

Hello. İ'm trying to use this script on windows server 2012 r2 and windows 8.1 but there is an error. I did to zip the files. However, when I click on the zip file, it does not open and gives an error. Also, I cannot delete the zipped file and move it to another location. Please help me with the error. I really need this script.

Object Required Namespace

Object required: 'curArquieve'.

' Open the existing file and load its contents

        dim cnt
        set curArquieve = zipApp.NameSpace(m_path) 'CAUSE OF ERROR

Empty zip file

Asking this more in hope than expectation.

I have tested your script on 7 different servers, zipping a single file. All the tests use identical code.

On 3 of them (all shared web hosting) your script works as expected.

On the other 4 I get this behaviour.

The script seems to work. The empty zip file is created, but although the zip.Add command is used and doesn't give any error, the zip archive remains empty.

The machines it doesn't work on are
Server 2016 / IIS 10
and
Server 2012 / IIS 8
but I only include that as background info, as the shared hosting is likely to be one of those too.

I'm at a loss as to why this would happen, but have also run out of any ways to diagnose it. Do you have any ideas?

As @OnnoPaap said in a previous issue, your script is becoming very important as the available zip components don't seem to be being updated to work on newer servers.

Zip File Access Denied

I'm excited about this Class! I use your json one all the time. Good stuff.

I have it creating a .zip but the resultant file seems to have limited access permission and when I try to open it in Explorer it says I do not have rights to read it.

I'm zipping up a folder, then using msxml, sending it to another server. Is this a limitation -but- using your class will I be able to unzip it on the other server via asp?

Error in loading DLL: 'zipApp.NameSpace'

Hello, i am trying to use for the first time and i got this error. Could you give me some help?
Tks

My host is locaweb.com.br

Error:
Microsoft VBScript runtime error '800a0030'
Error in loading DLL: 'zipApp.NameSpace'
/aspZip.class.asp, line 86

My Code:
<%
option explicit
Server.ScriptTimeout=9000
%>

<%
dim zip, filepath

filepath = ".\downloads\test.zip"

set zip = new aspZip

zip.OpenArquieve(filepath)

zip.Add("..\css")

zip.CloseArquieve()

set zip = nothing
%>
OK

Multiple files doesn't work

When I make a list of files to be zipped (in a loop) and add each file one by one (like e.g. 10 files), the resulting archive.zip file only contains 1 file.
Windows Server 2008 R2 64 bits
Classic ASP.

snippet of my code:
dim zip
set zip = new aspZip
zip.OpenArquieve(".\archive.zip")
while not u.EOF
filepath=u.fields("imagefilepath") & "" & u.fields("imagefilename")
response.write("<br>" & filepath)
zip.Add(filepath)
u.MoveNext
wend
zip.CloseArquieve()
Set zip = Nothing

output:
Certs/100902/5-0001-A-SB1-01-FND$L9ZR100206\5400847.pdf
Certs/100902/5-0001-A-SB1-01-FND$L9ZR100206\5400849.pdf
Certs/100902/5-0001-A-SB1-01-FND$L9ZR100206\5400819.pdf
Certs/100902/5-0001-A-SB1-01-FND$L9ZR100206\5400821.pdf
Certs/100902/5-0001-A-SB1-01-FND$L9ZR100206\5400823.pdf
Certs/100902/5-0001-A-SB1-01-FND$L9ZR100206\5400825.pdf
Certs/100902/5-0001-A-SB1-01-FND$L9ZR100206\5400827.pdf
Certs/100902/5-0001-A-SB1-01-FND$L9ZR100206\5400829.pdf
Certs/100902/5-0001-A-SB1-01-FND$L9ZR100206\5400831.pdf
Certs/100902/5-0001-A-SB1-01-FND$L9ZR100206\5400845.pdf

archive.zip only contains 1 file which is not stored with a path

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.