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.
Published May 2, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.