Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Creating custom FTPS implementation for Pega 6.x

SA-22331

Summary



User is facing issues while creating custom FTPS implementation for Pega 6.x:

https://pdn.pega.com/how-configure-ssh-ftp-sftp-and-ftp-secure-ftps-pega-applications#Implementing%20Secure%20FTP%20(SFTP)

However when implemented as per the steps provided for FTPS PDN link, user is not able to FTP the file. The code is not throwing any exception and the file too is not getting FTPed.



Error Messages



Not Applicable.

Steps to Reproduce



Not Applicable.

Root Cause



User's FTP server would not accept storeFile() with absolute path and file together.  So user had to call changeWorkingDirectory() first to go to the directory and then call storeFile() to upload the file.  

Resolution



Call changeWorkingDirectory() first to go to the directory, and then call storeFile() to upload the file.  
 
 
 
Suggest Edit

Published May 2, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us