Hey guys,
I'm running into an issue with edtFTP in my application. I'm using the sftp component and it gives me an error when trying to create a directory.
When I use another client (coreftp), I'm able to connect and create directories to my heart's content. The sftp being used is freeFTPd. Any idea why this might work with another client, but not through my application using edtFTP?
Also, what do the attributes for each of these requests mean? I can guess that MD is modify datetime, and U is permissions, but is there a guide to telling me what the attributes mean? I couldn't find anything via Google, but perhaps I'm not using the right keywords.
Here is a snippet of the ftp log being generated:
ALL [SFTPMessage] 10 Jul 2008 09:34:14.447 : Reply : Name=SSH_FXP_NAME,Type=104,RequestID=2
[AP=/, O=False, US=, G=, D=False, F=False, LI=False, R=False, W=False, AT=0, AD=1/1/1970 12:00:00 AM, MT=0, MD=1/1/1970 12:00:00 AM, P=0, S=0, U=, LN= 1 0 Jan 01 1970 ]
DEBUG [EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient] 10 Jul 2008 09:34:14.447 : ChDir(actual=/)
DEBUG [ab] 10 Jul 2008 09:34:14.447 : GetAttributes(/)
ALL [SFTPMessage] 10 Jul 2008 09:34:14.447 : Send : Name=SSH_FXP_STAT,Type=17,RequestID=3
path=/
DEBUG [PlainSocket] 10 Jul 2008 09:34:14.525 : RepeatCallback received 84 bytes
DEBUG [SFTPMessageFactory] 10 Jul 2008 09:34:14.525 : Received message (type=105)
DEBUG [e0] 10 Jul 2008 09:34:14.525 : AddMessage(3) - added to store
ALL [SFTPMessage] 10 Jul 2008 09:34:14.525 : Reply : Name=SSH_FXP_ATTRS,Type=105,RequestID=3
attributes=US=0, G=0, D=True, F=False, LI=False, R=True, W=True, AT=-14401, AD=12/31/1969 7:59:59 PM, MT=-14401, MD=12/31/1969 7:59:59 PM, P=16895, S=8, U=drwxrwxrwx
DEBUG [ab] 10 Jul 2008 09:34:14.525 : GetAttributes(/Login_Page/Test_page/)
ALL [SFTPMessage] 10 Jul 2008 09:34:14.525 : Send : Name=SSH_FXP_STAT,Type=17,RequestID=4
path=/Login_Page/Test_page/
DEBUG [PlainSocket] 10 Jul 2008 09:34:14.587 : RepeatCallback received 84 bytes
DEBUG [SFTPMessageFactory] 10 Jul 2008 09:34:14.587 : Received message (type=101)
DEBUG [e0] 10 Jul 2008 09:34:14.587 : AddMessage(4) - added to store
ALL [SFTPMessage] 10 Jul 2008 09:34:14.587 : Reply : Name=SSH_FXP_STATUS,Type=101,RequestID=4
errorCode=2
errorMessage=No such file
language=
DEBUG [ab] 10 Jul 2008 09:34:14.587 : No such file : /Login_Page/Test_page/
ALL [SFTPMessage] 10 Jul 2008 09:34:14.587 : Send : Name=SSH_FXP_MKDIR,Type=14,RequestID=5
path=/Login_Page/Test_page/
attributes=US=, G=, D=False, F=False, LI=False, R=False, W=False, AT=0, AD=1/1/1970 12:00:00 AM, MT=0, MD=1/1/1970 12:00:00 AM, P=0, S=0, U=
DEBUG [PlainSocket] 10 Jul 2008 09:34:14.650 : RepeatCallback received 84 bytes
DEBUG [SFTPMessageFactory] 10 Jul 2008 09:34:14.650 : Received message (type=101)
DEBUG [e0] 10 Jul 2008 09:34:14.650 : AddMessage(5) - added to store
ALL [SFTPMessage] 10 Jul 2008 09:34:14.650 : Reply : Name=SSH_FXP_STATUS,Type=101,RequestID=5
errorCode=3
errorMessage=Permission denied
language=
DEBUG [EnterpriseDT.Net.Ftp.ExFTPConnection+b] 10 Jul 2008 09:34:14.650 : Stopping FTP task processor.
DEBUG [EnterpriseDT.Net.Ftp.ExFTPConnection+b] 10 Jul 2008 09:34:14.650 : FTP task processor stopped.
DEBUG [EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient] 10 Jul 2008 09:34:14.650 : Quit() called