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

martin

Re: Need command to make zip the file from winscp

Mayank wrote:

I am making a script file from my application machine . we have a db server at linux and we have a .dmp back up file at linux machine .i need to make them a zip of that dmp file from that batch script .
I need a command that run from windows machine and make the zip the file at linux machine .

Please read documentation:
https://beta.winscp.net/eng/docs/script_auto_compress_download

If that does not help, come back.
Mayank

Need command to make zip the file from winscp

Hi ,

I am making a script file from my application machine . we have a db server at linux and we have a .dmp back up file at linux machine .i need to make them a zip of that dmp file from that batch script .
I need a command that run from windows machine and make the zip the file at linux machine .
Urgent


Thanks
martin

coth wrote:

i'm not yet tryed one thing

but

error in run
unzip "!" -x -o "."
it seems filename don't fill into !

Please post a log file.
coth

i'm not yet tryed one thing

but

error in run
unzip "!" -x -o "."
it seems filename don't fill into !

well, i found problem of freezing - filename in "".

when i'm running it works perfect
unzip zipfile -x -o

may be anoter problem is in "." (for current directory), i'll check it tonight
martin

coth wrote:

but WinSCP tell me about error in when i'm trying to run it
unzip "!" -x -o "."

What error?

when i'm trying to run it in terminal (unzip "zipfile" -x -o ".") i have 15 sec timeout, but files from zip unpacked...

Please enable logging and check the log file. If it does not help you, post the log file.