SMF Development > Bug Reports

[2.0] encrypted attachment file names and FTP

<< < (2/8) > >>

emanuele:
I'm now not talking about SMF development in this answer.
This is purely my opinion about the theory of what a piece of software should and should not do.


--- Quote from: MrPhil on May 16, 2012, 05:43:00 PM ---So, if there's not a recognized file extension (type), and the FTP client chooses to transfer it in ASCII, it's the client's fault? No sale.
--- End quote ---
It is.
You (intended as developer) cannot assume that a file is ascii just because it doesn't have an extension (especially when many operating systems doesn't actually need any extension at all to work).
So yes, it is a bug (or a very badly option) of the ftpclient and not of SMF.

Back to SMF development

--- Quote from: MrPhil on May 16, 2012, 05:43:00 PM ---Just stick .doc on the end and every client should know to transfer it in binary, which is always safe (if not always the desired end result). After all, the attachment is a document of some sort, right? The alternative is to figure out what it is and stick .doc or .txt on the end, but I think that's overkill.

--- End quote ---
Since we already workaround many IE/FF/Opera/Chrome/PHP and so on bugs, we may workaround that one too.

Spuds's call on that.

Antechinus:
Ema, I've just tried it using the cPanel file manager directly, with no extra FTP client as such. It still doesn't work. This means that you cannot take a back up of an image attachment even if you have cPanel, let alone if you only have FTP access. IMHO, this is a pretty serious bug and I'm amazed nobody caught it before.

ET: Oh and this was on a Nix server, but downloading to a Windows OS.

emanuele:
I still think that is a bug (a wrong assumption) of the client:
http://trac.filezilla-project.org/ticket/4235

But as I said the workaround is known and easy.

Antechinus:
Yes but if it buggers a lot of top of the line apps that most people rely on, then it's a problem. :P

For instance, I've just checked and you cannot download any attached image to a Windows desktop and then open the image, either in native Windows image viewer or in Photoshop. Presumably this means no other Adobe apps will work either. I'll check Fireworks and Illustrator later.

emanuele:

--- Quote from: Antechinus on May 16, 2012, 06:55:20 PM ---Yes but if it buggers a lot of top of the line apps that most people rely on, then it's a problem. :P

--- End quote ---
Like IE? :P

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version