text_combined: jay savage ucdbkufpctngmailcom feb 19 2008 715 beginner wrote hi trying send file response request trouble heres far certain headers getting info error_log except premature end script headers statfile7 filename usercsv seek fh00 print headertypetexttabseparatedvaluescontent_lengths content_dispositionattachmentfilenamefilename print fh closefh anyone offer advice thanx dp dermot see couple things first correct type applicationxdownload applicationoctetstream file may contain text want browser treat container stream parse second assuming youre following normal convention using fh refer file handle print fh print filehandle read filehandle print contents standard output see perldoc f print detail probably want something like print fh could also store file array first slurp file want eliminate loop hth jay unsubscribe email utxpucvywmgwlorgutxpucvperlorg additional commands email isjidlzkoaxnvxgqperlorg httplearnperlorg thu 07 aug 2008 005147 0500 send file