I just want to know the syntax in the Unix side, via ftp or other command, after i perform put & then active a program on the windows ftp server, to unzip the file.
Hi,
commang gzip (gnu zip) will do a .gz file which is unzippable under windows
/usr/local/bin/gzip --help
gzip 1.2.4 (18 Aug 93)
usage: gzip [-cdfhlLnNrtvV19] [-S suffix] [file ...]
-c --stdout write on standard output, keep original files unchanged
-d --decompress decompress
-f --force force overwrite of output file and compress links
-h --help give this help
-l --list list compressed file contents
-L --license display software license
-n --no-name do not save or restore the original name and time stamp
-N --name save or restore the original name and time stamp
-q --quiet suppress all warnings
-r --recursive operate recursively on directories
-S .suf --suffix .suf use suffix .suf on compressed files
-t --test test compressed file integrity
-v --verbose verbose mode
-V --version display version number
-1 --fast compress faster
-9 --best compress better
file... files to (de)compress. If none given, use standard input.
My main problem is to activ a command in the remote ftp windows server , after i put the file in the host, i want to activ a xxx.bat that have inside it PKUNZIP.exe.
I know to activ a proccess at ibm/as400 with the ftp command quote.
The question is who i do that to ftp windows server?
I don't think it can be done from inside an FTP session.
The quote rcmd is only implemented on AS400 FTP server I believe.
Just an idea or two:
Can't you run ftp client on Windows box - get the file and unzip it from within a ".cmd" script? Or share the dos directory using samba and unzip your file on the unix box?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.