Start a new topic

Problem with getting folder list

Hello. I am a developer. My task now is to write sftp-server. My server must have limited functionality. I wrote it and it works great with MobaXterm, WinSCP, as well as with linux openssh sftp client. But the customer uses your program to connect. During the connection, a list of directories and files from the start directory is available, but when I try to go to one of the directories, I get the error "An error occurred while executing the action 'Change Directory'. Details: Not enough data.". I kindly ask you to tell me where to look for the problem. If additional information is required, I will provide it. Thank you very much


Hi,


we're using a 3rd party commercial library for (S)FTP/SCP:

https://www.rebex.net/ftp-ssl.net/


AFAIK their API is always closely following RFC or other protocol standards. I think your best bet is to contact them directly to sort it out since we don't have access to their source code.


Regards,
Stefan


1 person likes this

To add to this issue, I've found a possible workaround for the Rebex client: https://forum.rebex.net/20697/how-to-avoid-not-enough-data-exception-file-delete-over-sftp


The property in question is: https://www.rebex.net/doc/api/Rebex.Net.SftpSettings.EnableMissingCreateTimeWorkaround.html


I didn't found anything in the connection settings to be able to specify any custom configuration. Is there are possibility to set those properties in RoyalTS for the Rebex FTP component?

Hi Branko,


thanks for those links. I will investigate and see if we can put this setting in Royal TS.


Regards,

Stefan


1 person likes this

Hi Branko!


Can you check the latest beta release? The option should be in the Advanced page. Let me know if it's working.


Thanks,
Stefan

Login or Signup to post a comment