Scripting AutoZip to existing folder

Advertisement

NewUser19982
Guest

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!

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum