The above approach suggests to use FTP connection . But that is just to transfer the file from Pega server to another server . So for that i will have to first save the file in Pega server which can be done using Connect File .
So was looking for an alternative to save the files in Pega server without using Connect File .
We are also exploring the "File Repository" option as well.