Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

NewUser19982

Scripting AutoZip to existing folder

Hi all,
Having read the documentation, I still can not figure out the correct syntax to zip files on the remote server. I connect with stfp and my batch file runs fine...until I ask it to zip files.
I get the "Unknown command 'zip'" error.
What is the exact syntax to be used within a batch file?
Here's what I have:
zip -r /target directory/
I have also tried /zip
and /command zip

Yes, I'm new to all of this, so exact syntax would be appreciated.
My overall goal is to place files that exist on the remote server into a zip folder, automatically. My client wants to download one zip file instead 1,000 unzipped ones.
Thanks in advance!