CSV and other files get .txt extension

See all posts Reply

CSV and other files get .txt extension new!
by Alex Furr, 3 years, 3 months ago
Great class! I'm using it heavily now in my new projects.

Only issue so far is that CSV file and other 'text' based files such as QIF files get the .txt extension added upon processing.
e.g. test.csv becomes test.csv.txt

How can I prevent this from happening ideally as a global setting?
Thanks!Reply
Re: CSV and other files get .txt extension new!
by colin, 3 years, 3 months ago
Set no_script to false:
$handle->no_script = false;
Reply
Re: CSV and other files get .txt extension new!
by Alex Furr, 3 years, 2 months ago
Wonderful thank you works perfectly.Reply