Travel cot

I need to go to a different country for about 2 months (could be longer) so I want to use a travel cot for my 5 month old but I’m wondering if that’s safe to use for a few months like that?