Coldfusion zip folder doesn't open on Windows - coldfusion

I have a script that creates a zip file for download, it works great and unzips just fine if you have WinRar but if the user is using windows to unzip things it throws up an error.
"Windows cannot open the folder. The Compressed (zipped) Folder 'C:\Downloads\Users.zip' is invalid"
It works great if using WinRar, any ideas how to make this work with windows unzipping component?
What header I'm using, maybe this is what could be causing it?
<cfcontent type="application/zip" reset="false" />
<cfheader name="Content-Disposition" value="attachment;filename=#archiveFilename#">

Related

How to view contents of a PCF .droplet file in Windows?

Problem
The question pretty much says it all. I used the plugin: "cf local" to get the .droplet file for my app in PCF. However, I have no idea how to expand or view the contents of the file.
What I tried
I tried adding a .zip at the end, but that did not work.
I tried viewing in NotePad, but that did not work.
Notes
We are using a Diego back-end which prevents us from using "cf files".
It shouldn't matter but we are deploying a .NET application
Related: Is it possible to download all files of an application in Cloud Foundry?
It's a gziped tar archive. Try adding a .tgz or .tar.gz extension. You may need a third party archive tool, I don't know if Windows will open that file by default. 7zip or something comparable should open it.
Daniel was on the right track, however I wanted to post exactly what I used as an alternative to an extraction utility.
I found that the easiest way is to use bash, within Windows. When we installed Github desktop there was an option to use bash and most of us, in my area, have done this.
If you have already installed it then: Goto Preferences an choose your Git-Shell. Under default Shell you can choose between: CMD, Git Bash, Powershell or Custom.
Once that is in place you can navigate to the folder where the .droplet file lives and execute the following command:
tar -xvzf app-name.droplet
This will extract the contents into a folder called "app" in the current directory which has the contents of your asset that would be in PCF.

python control IE download prompt?

i have a script to download some file from web, using browser is Internet Explorer
tried lib selenium, IEC, PAMIE all have same problem "can not control IE download prompt"
even use pywinauto and swapy get browser toolbar..only toolbar

SublimeText 3 - Package Control: Removed directory for orphaned package ColdFusion

I am running SublimeText 3 (build 3083). I follow the manual install directions for the ColdFusion plugin as described here (https://github.com/SublimeText/ColdFusion):
Download Manually
Download the files using the GitHub .zip download option
Unzip the files and rename the folder to ColdFusion
Copy the folder to your Sublime Text 2 Packages directory
This has worked (and still works) on many machines. But today I have a PC that each time I re-open SublimeText it removes the ColdFusion directory and in the SublimeText console it says "Package Control: Removed directory for orphaned package ColdFusion". Haven't been able to find anything on this yet. Help appreciated. Thanks!
The "Download Manually" section is for Sublime Text 2 only. At the very top of the README you linked are the ST3 instructions:
The development branch contains a rewrite of the ColdFusion plugin. The only installation method is via Git.
cd Packages/
git clone https://github.com/SublimeText/ColdFusion.git
cd ColdFusion
git checkout development
On Windows machines, the Packages folder is in %APPDATA%\Sublime Text 3\Packages. You'll need to have a working copy of git on your machine, which can be obtained here.
Alternatively, you can download a zip file of the development branch, extract it, rename the resulting ColdFusion-development folder to ColdFusion, then copy that into your Packages folder.
EDIT
I did a little digging, and apparently this package is no longer being developed. However, the CFML package has been suggested as a replacement. Not being a ColdFusion user, I haven't tested it myself, but reviews from others are good. It's available for ST3 only, but can be installed directly via Package Control, so you don't have to worry about using git.
If you are using Sublime Text 3 ST3, the recommended package to use is the one named CFML available via Package Control here: https://packagecontrol.io/packages/CFML
If you are using Sublime Text 2 ST2, the recommended package is the one named Cold​Fusion available via Package Control here: https://packagecontrol.io/packages/ColdFusion
For both of them you'll find there installation instructions using Package Control or manually from GitHub.

CFWheels DbMigrate

I'm following the process here:
http://cfwheels.org/screencasts/view/1
I put the zip file in my localhost/wheelstest/plugins folder. I get
Could not find the ColdFusion component or interface wheelstest.plugins.cfwheels.cfwheels.
Running apache with XAMPP under Windows 7. localhost/wheelstest gives me the "Congratulations" page if the DbMigrate zip file is NOT in plugins.

How to create .cab file from .exe file to install from web page?

I have .exe file to install an activeX control.
And now I want to create a .cab file to install that activeX control from web page.
How can I do that?
For ex an expected result: when I visit the web page and it prompts to me to install and I click to accept installing.
Thanks so much.
MakeCAB.exe!
http://msdn.microsoft.com/en-us/library/dd583149(v=office.11).aspx