Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
10.8k views
in .NET FTP by (160 points)
Hi All:

The problem is that even though I received the following exception, my file is still sucessful upload.
Can any support tell me how to diable the ChMod function or any other way to avoid this exception ??
Any help will appreicate. :?

I have a questions regarding to SFTPException, the exception detail is the following:
****************************************************************************************************
EnterpriseDT.Net.Ftp.Ssh.SFTPException: SSHServerAPI.SFTP.fxp_attrs (code=8)
at ad.a(Int32 A_0)
at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.ChMod(Int32 permissions, String path)
at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.a(Stream A_0, String A_1, String A_2, Boolean A_3)
at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Put(String local, String remote, Boolean append)
at EnterpriseDT.Net.Ftp.FTPConnection.UploadFile(String localPath, String remoteFile, Boolean append)
at Service.FtpUpload()
****************************************************************************************************

6 Answers

0 votes
by (51.6k points)
Yes you can do this by:
sshFTPClient.setConfigFlags(SSHFTPClient.ConfigFlags.DISABLE_CHMOD_AFTER_PUT)


- Hans (EnterpriseDT)
0 votes
by (162k points)
PS the latest versions don't have this problem, i.e. you don't need to set the flag.
0 votes
by (180 points)
Hi All:

I am getting the same exception as mentioned bellow. The file I am sending get's to the client site, but I get this exception.
I am on 4.0.5 ver. Please help, how to handle this error.

Thanks
****************************************************************************************************
EnterpriseDT.Net.Ftp.Ssh.SFTPException: SSHServerAPI.SFTP.fxp_attrs (code=8)
0 votes
by (162k points)
Use the flag as shown above (if it is in your version) or upgrade to the latest version.
0 votes
by (180 points)
Hi,
We have a professional license to install edtFTPnet/pro, we are on 4.0.5 ver. If I need to upgrade to the current 6.0 ver, then what are the procedures and from where we need to download. The link points to the trial ver.

Thanks
0 votes
by (162k points)
Hi,
We have a professional license to install edtFTPnet/pro, we are on 4.0.5 ver. If I need to upgrade to the current 6.0 ver, then what are the procedures and from where we need to download. The link points to the trial ver.

Thanks


The current production release can be downloaded by going to the link supplied with your purchase email.

Categories

...