How do I enable compress from the command line in Windows?
-script=C:\AssetLink\Notes\AssetLinkNotes.txt
Would I enable above via a setting or in my AssetLinkNotes.txt script? Please advise. thanks
Steve
Advertisement
Advertisement
Do you mean SSH compression? Please read FAQ. If that does not help, come back.
It is described in the FAQ, see the link above.
Advertisement
winscp.exe /console /script=i:\sftpupload\Getftpcommand.txt /log=i:\sftpupload\ftplog.txt
option batch on option confirm off open sftp://XXXX:XXXXX@XXXXXXXXX:22 -hostkey="ssh-rsa 1024 71:b9:30:1d:0d:4b:01:a3:dd:86:bd:de:9d:34:90:76" option transfer binary Put I:\SFTPUpload\files\*.* close exit
Once again, please read FAQ. If that does not help, come back.How to active the compression in a batch?
I tried to put -C but ....Apparently is not working?
Advertisement
Once again, please read FAQ. If that does not help, come back.
It does, just read it properly.Obviously, the FAQ does not answer the question. Would it not be more helpful to simply answer the question instead of repeatedly sending people someplace that doesn't have the answer? Unless you don't know the answer yourself?
Thanks. Just adding a reference for this:Use -rawsettings compression=1 on the "open" command.. You'll need to upgrade to WinSCP 5, though, for it to work.
Advertisement
You can post new topics in this forum