Ticket T727560
Visible to All Users

How to implement FileManager for secure FTP

created 6 years ago

[DevExpress Support Team: CLONED FROM Q476039: A problem occurs when file attachments are stored in the file system with middle-tier configuration]
Hello,

Alternatively, we could use the FileManager. I see that you have a lot of File System Providers except the secure ftp.
Could you add a  Custom File System Providers for secure ftp ?

BR
ISA

Answers approved by DevExpress Support

created 6 years ago

Hello,
We do not have a ready-made example that demonstrates how to implement a custom File System provider to read/write files from SFTP.
A base idea to implement a custom file system provider for a remote FTP host was described in the "How to Display an FTP Folder within the File Manager" section of the following documentation topic:
How to: Specify the File Manager Root Folder

You can use the approach demonstrated there as a starting point to implement your own custom provider for a remote SFTP server.
I.e. you need to override custom provider methods responsible for file/folder management (e.g., GetFiles, GetFolders, ReadFile, etc.) and use a corresponding SFTP API to implement required operations.

Do not hesitate to contact us if you have additional questions or need further assistance.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.