Re: Package fail on unzip file step...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



When you ran it interactively, the unzip program is invoked on your machine.
But as a job, it is invoked on the server. So have you made sure unzip
command line is setup on the server also?
--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/


"Nestor" <n3570r@xxxxxxxxx> wrote in message
news:ukzBaOEPFHA.1268@xxxxxxxxxxxxxxxxxxxxxxx
I have a DTS package that is designed to download files from a FTP server
and then unzip the files into a pacticular folder. The strange thing is that
if I where to run the package manually it works but if i schedule it to run
periodically it'll fail on the unzip file step.

I basically used the ActiveX task to unzip the file using Winzip cmd line
commands.

Below is the script that goes into the unzipping step


dim WshShell
dim UnzipString

Set WshShell = CreateObject("WScript.Shell")
UnzipString = "%Unzip% -d " & DTSGlobalVariables("StorePath").Value & "\" &
DTSGlobalVariables("ZipFile").Value & " " &
DTSGlobalVariables("XMLPath").Value
WshShell.Run UnzipString,,true

What's puzzling me is why is the package failing only if i scheduled it to
run periodically but not when i run it manually? I'm aware there're some
problems with DTS permission when scheduling the package to run, but if
that's the reason shouldn't the package failed totally instead of just
failing on that step?


Any help will be appreciated. Thanks in advance.



.



Relevant Pages

  • Re: Publishing my Web Site
    ... Unzip the file on your production site. ... I'm not sure if I have the ability to unzip a file on my host server. ... For me, it's only connection strings, which I modify manually after the "publish" to a local folder. ... There's a few things (some error settings, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Package fail on unzip file step...
    ... I have a DTS package that is designed to download files from a FTP server ... and then unzip the files into a pacticular folder. ... if I where to run the package manually it works but if i schedule it to run ...
    (microsoft.public.sqlserver.dts)
  • Unzipping file through PHP
    ... I am writing a code to upload multiple files on the server using PHP. ... zipped the folder containing these files, uploaded the zipped file through ... Now,I am trying to unzip the .zip file using ...
    (php.general)
  • Re: exec("zip ...) works very infrequently.
    ... I'm running a PHP script on my ISP's server to zip some files. ... I can exec ... 'unzip', 'touch' and 'rm' to my hearts content, but when I try any of: ...
    (comp.lang.php)
  • Re: unzip a file on webserver
    ... You would need to have control over the server and have an unzip utility ... | components that I can use to extract files. ...
    (microsoft.public.frontpage.programming)