These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Zipped Folder FileName


Hey,

Is it possible to give the zip file that is produced when you download a folder the same name like that folder ?

I always receive zip files that are named this way : dowload-datetimestamp.zip 

Wim
Olivier Mangelschots 11/4/2008 5:36 AM
This by design for making unique names each time you dowload multiple files/folders. If you want to change the behaviour, edit scripts\filevista.js and find this line:

var suggestedName = "download-" + getCurrentTimeString() + ".zip";

change it to

var suggestedName = grid.getSelectedFirstRow().cells[nameColumn.index] + ".zip";
Cem Alacayir 11/18/2008 2:12 PM
Cem,

It works.

Thx
Olivier Mangelschots 11/19/2008 1:46 AM