SAS Export file

I used the SAS Xpt reader component to read a sas export file. However, I received a error message, "File is not in SAS Transport (XPORT) format

Below is the code that I used to produce the export file from a sas dataset(infile.sas7bdat):

proc cport data=foldername.infile file='/xport/test_outfile.xpt'; run;

I will appreciate any advice on how to read in the xport file and/or how to create a xport file from sas dataset. Thank you!