SMF Support > Install and Upgrade Help
Important Notice: Do you use Filezilla? Avatars and Attachments lost?
Arantor:
It doesn't actually hurt to transfer everything as binary, really.
The whole concept of text transfer as text is an outdated concept that's really not an issue with modern editors; it's only for the olden days when editors couldn't handle Linux and Windows file endings (like Windows Notepad still can't, heh), if you're using a modern editor like Notepad++, it's a non issue.
~DS~:
--- Quote from: Arantor on May 03, 2010, 06:18:13 AM ---It doesn't actually hurt to transfer everything as binary, really.
The whole concept of text transfer as text is an outdated concept that's really not an issue with modern editors; it's only for the olden days when editors couldn't handle Linux and Windows file endings (like Windows Notepad still can't, heh), if you're using a modern editor like Notepad++, it's a non issue.
--- End quote ---
I will try everything as binary the next time I back up. It's better than sorry not to try both methods. For now I am leaving it AUTO and check "Treat files without extension as ASCII file" and uncheck it for attachment and avatars only.
When you say binary...you mean not auto and and what about "Treat files without extension as ASCII file"?
Arantor:
Text mode == ASCII mode, they're one and the same.
When I'm using either FileZilla or WinSCP, I have it set to treat *everything* as binary.
AncientDragonfly:
--- Quote from: Dismal Shadow on May 02, 2010, 06:26:11 PM ---Ok, I haven't backup in a week so I am gonna backup today but I want to make sure the image shown:
http://www.simplemachines.org/community/index.php?topic=377117.msg2594267#msg2594267
is correct? SO that it doesn't not mess up the avatars and attachments.
--- End quote ---
No, that image in your other post is incorrect.
This image from the first post in this thread is correct:
As Arantor says, however, you should be ok to download ASCII (plain text) files using binary mode. Auto mode is just a list of extensions that specifies which files should be treated as ASCII but since the files we are talking about don't have extensions, it can't be used in this situation.
Basically, if you open a file in a text editor and it looks like non-alphabetic, non-numeric, non-standard-punctuation characters, it is a binary file (see attachment).
ASCII can be transferred as binary without corruption.
Binary files will be corrupted if they are not transferred as binary.
Arantor:
--- Quote ---ASCII can be transferred as binary without corruption.
--- End quote ---
Not entirely true, in fact, it depends what you define as 'corruption'.
If you mean 'without corruption' as the actual, byte for byte file it will be corrupted.
The file will be silently converted for line endings. For example, go grab the SMF install package and open any SMF file in Windows Notepad. Not Notepad++, not anything fancy, just normal Notepad. You get a mess where everything is on one line.
Now download the same file from FTP in ASCII mode and open it. Now it's not a mess. Why? Because FileZilla has silently converted the line endings on your behalf.
If you have ANY doubt, use binary mode. I expect the files I send and receive to be the actual files, not a modified-in-ANY-way version.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version