Compression issues (wodSFTP / wodSFTP.NET / wodSFTPdll)
I have question,
before invoke 'connect' method I set 'compression' property to 6.
After connect to server 'compression' property change to 0 ( maybe because server doesn't support compression ).
Next in marked lines I have exception Syntax error, command unrecognized. . If try once more execute this line, it execute correctly.
In log appear lines :
GetServerResponse returned 500
Command: OPTS MODE Z LEVEL 3 500 'OPTS MODE Z LEVEL 3': command not understood.
My JScript code:
[code]
var ftp = new ActiveXObject( WeOnlyDo.wodFtpDLXCom );
ftp.DebugFile = d:/debug.log ;
ftp.blocking = true;
ftp.hostname = ... ;
ftp.login = ... ;
ftp.password = ... ;
ftp.passive = false;
ftp.connect();
ftp.compression = 7;
ftp.listDir( / );
ftp.compression = 4;
ftp.listDir( / ); // HERE EXCEPTION
ftp.compression = 3;
ftp.listDir( / ); // HERE EXCEPTION
ftp.disconnect();
[/code]
Questions:
1) What meen change 'compression' to 0 after connect?
2) Why raise exceptions on ListDir?
Complete thread:
- Compression issues - Roman, 2007-04-12, 14:14
- Re: Compression issues - woddrazen, 2007-04-12, 15:20
- Re: Compression issues - Roman, 2007-04-12, 15:51
- Re: Compression issues - woddrazen, 2007-04-12, 16:03
- Re: Compression issues - Roman, 2007-04-12, 16:14
- Re: Compression issues - wodDamir, 2007-04-14, 22:04
- Re: Compression issues - Roman, 2007-04-12, 16:14
- Re: Compression issues - woddrazen, 2007-04-12, 16:03
- Re: Compression issues - Roman, 2007-04-12, 15:51
- Re: Compression issues - woddrazen, 2007-04-12, 15:20