in reply to Re: filename of an attachment
in thread filename of an attachment

yes, you right, but now I have the problem that my program freezes somewhere between the stdin and the print, do you know the solution for that too?