FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » some trobles in file attachments/
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
some trobles in file attachments/ [message #161603] Sat, 16 January 2010 13:45 Go to next message
rover_scan is currently offline  rover_scan   Russian Federation
Messages: 31
Registered: January 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user

When I add any file to a new forum topic, it is normally sent to the server NNTP. When reading this message through outlook attachment appears normal. When you try to open it in "Mozilla Thunderbird" attachment is not shown, but in the end of the message is displayed:


begin 644 Untitled-1.rar
M4F%R(1H'`,^0<P``#0`````````\E'0@D#,`.4T``)")```"T<EK2`M],#P=
M,PX`(````%5N=&ET;&5D+3$N:G!G`+"PZF`4(9$5")V5V<V"`2!@$1C%2)(D
M3T1BIZ!4]!)*D&$:0(8QBD21H"N)&D*`DR8Q`B`B1I,D">A<,S#]^,!@('8*
M_(>X.=]\YYYSS[]YS?QS>55[/G^4NJJZ@ZJ+7]U75U=W5[O=


And more.

If you attach files with the aid of Thunderbird, they are encoded in
"Content-Transfer-Encoding: base64"

how to win Mozilla?
Re: some trobles in file attachments/ [message #161604 is a reply to message #161603] Sat, 16 January 2010 15:00 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3628
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Thunderbird doesn't support older UUencoded attachments. I guess we need to change FUDforum's NNTP posting code to support MIME attachments. Would you be willing to prepare a patch for us?
Re: some trobles in file attachments/ [message #161605 is a reply to message #161604] Sun, 17 January 2010 01:18 Go to previous messageGo to next message
rover_scan is currently offline  rover_scan   Russian Federation
Messages: 31
Registered: January 2010
Karma: 0
Member
add to buddy list
ignore all messages by this user

Smile
Unfortunately I'm not such a good specialist in programming, to help in this project. But I can help with translation and correction of errors in the Russian localization.
Re: some trobles in file attachments/ [message #165335 is a reply to message #161605] Fri, 27 May 2011 12:35 Go to previous messageGo to next message
eclipsewebmaster is currently offline  eclipsewebmaster   Canada
Messages: 46
Registered: November 2009
Location: Ottawa, Ontario, Canada
Karma: 0
Member
add to buddy list
ignore all messages by this user
I've been having this problem since forever. It seems the Content-type:text/plain header was interfering with Thunderbird's ability to parse the attachment. Here's a quich patch to nntp.inc which omits sending a MIME header if attachments are present.

fputs($this->fs, "User-Agent: FUDforum\r\n");
+ if (!is_array($attch)) {
+ fputs($this->fs, 'Content-Type: text/plain; charset='. $GLOBALS['CHARSET'] ."; format=flowed\r\n");
+ }
- fputs($this->fs, 'Content-Type: text/plain; charset='. $GLOBALS['CHARSET'] ."; format=flowed\r\n");
Re: some troubles in file attachments/ [message #165337 is a reply to message #165335] Fri, 27 May 2011 23:05 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3628
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
We first need to find out what this will do to posts with (non-ASCII) UTF8 characters.

Do you know if this issue was reported as a Thunderbird bug/ enhancement request?

BTW: FUDforum 3.0.3 will be able to post MIME encoded attachments, which will probably solve the problem as well (development sponsored by James).
Re: some troubles in file attachments/ [message #165340 is a reply to message #165337] Sat, 28 May 2011 09:20 Go to previous message
eclipsewebmaster is currently offline  eclipsewebmaster   Canada
Messages: 46
Registered: November 2009
Location: Ottawa, Ontario, Canada
Karma: 0
Member
add to buddy list
ignore all messages by this user
MIME attachments will definitely be the better solution, thanks Smile
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Permanently remove OR replace the logo on the Forum
Next Topic: HELP?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 10 23:14:51 EST 2017

Total time taken to generate the page: 0.00759 seconds