Re: SFTP to freeftpd on windows

2008-08-21 Thread Paul Wickham
Nope. Plain files and directories are _not_ distinguished by file name on windows. Yes, you're right. I was thinking at the app level here (ie explorer.exe) but of course the OS has to know whether entities are files or directories.

Re: SFTP to freeftpd on windows

2008-08-20 Thread Alexander V. Lukyanov
On Wed, Aug 20, 2008 at 07:33:25AM +1000, Paul Wickham wrote: Im surprised that you ignore type 5 since the ietf draft says 'UKNOWN should be used if the type is not known' which would mean it should be used a fair bit on a windows server as windows determines filetype based on filename and

Re: SFTP to freeftpd on windows

2008-08-19 Thread Paul Wickham
Sorry guys should have given my version it's 3.7.4 lftp running under Arch Linux. Anyways have applied the patch and here is what it gives: lftp [EMAIL PROTECTED]:/foobar ls path on wire is `/foobar' --- sending a packet, length=16, type=11(OPENDIR), id=7 --- got a packet, length=22,

Re: SFTP to freeftpd on windows

2008-08-19 Thread Alexander V. Lukyanov
On Tue, Aug 19, 2008 at 09:26:36PM +1000, Paul Wickham wrote: NameAttrs(name=7z445.exe,type=5,longname=-rw-rw-rw 1 root root 842384 May 1 20:20 7z445.exe) Ok, now I see. The server sends type=5, which means UNKNOWN. Currently lftp ignores such entries. I'll fix it. --

Re: SFTP to freeftpd on windows

2008-08-19 Thread Paul Wickham
Hi Alexander Im surprised that you ignore type 5 since the ietf draft says 'UKNOWN should be used if the type is not known' which would mean it should be used a fair bit on a windows server as windows determines filetype based on filename and not mode On Tue, Aug 19, 2008 at 10:26 PM,

Re: SFTP to freeftpd on windows

2008-08-17 Thread Paul Wickham
On Mon, Aug 18, 2008 at 11:00 AM, Bill Dorsey [EMAIL PROTECTED] wrote: Hi, There is not enough information with your request. Please turn debug up to say 11, and look closely at the errors. The post the errors here. lftp to host, debug 11: ls FileCopy(0x8654210) enters state INITIAL