Advertisement:

Author Topic: Important Notice: Do you use Filezilla? Avatars and Attachments lost?  (Read 246078 times)

Offline johny28

  • Newbie
  • *
  • Posts: 7
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #60 on: January 11, 2011, 10:26:01 PM »
i using filezilla,,,its work.

Offline Omebolle

  • Jr. Member
  • **
  • Posts: 101
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #61 on: January 13, 2011, 07:08:12 AM »
Good tip about Filezilla, the settings were indeed wrong. Could that be why some of my members can't access the forum anymore? I just upgraded to RC4 and some members say they get these messages
- unable to verify url, please go back and try again
- Maintanance Mode and we're attempting to restore an older back up.

 The problem doesn't appear on a Mac. One member has a PC and can't access with that, but the Mac doesn't give problems..

Any tips?

Offline AncientDragonfly

  • Jr. Member
  • **
  • Posts: 149
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #62 on: January 13, 2011, 07:15:39 PM »
Could that be why some of my members can't access the forum anymore?  I just upgraded to RC4 and some members say they get these messages
- unable to verify url, please go back and try again
- Maintanance Mode and we're attempting to restore an older back up.

 The problem doesn't appear on a Mac. One member has a PC and can't access with that, but the Mac doesn't give problems..

Any tips?

I don't think so (I could be wrong), but you might want to search this forum for the error messages, and if you don't find anything that fixes it, start a new topic.   ;)


Offline monolower

  • Newbie
  • *
  • Posts: 1
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #63 on: January 16, 2011, 09:39:34 PM »
thanks for info 8)

Offline headstone

  • Semi-Newbie
  • *
  • Posts: 14
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #64 on: March 12, 2011, 09:43:31 AM »
Just a thought... Wouldn't it be far simpler to give these files an extension that can then be removed by the forum code upon detection?


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,673
    • StoryBB/StoryBB on GitHub
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #65 on: March 12, 2011, 12:09:54 PM »
Just a thought... Wouldn't it be far simpler to give these files an extension that can then be removed by the forum code upon detection?



Funny you should say that. The reason the files are stored without extension is to prevent the files being abused; there was a vulnerability a bit back that allowed files with extensions to be triggered by the server itself, which lead to a lot of forums being hacked.

Honestly, though, it's a bit of a poor showing that FileZilla assumes anything without an extension is 'likely a text file' by default... which is where the problem comes in.

Yes, in theory, it can be modified to have a generic extension that won't normally be executable - but it's a change that you won't see in SMF, certainly not before 2.1 at the earliest (if at all)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline AncientDragonfly

  • Jr. Member
  • **
  • Posts: 149
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #66 on: March 16, 2011, 06:34:17 AM »
Honestly, though, it's a bit of a poor showing that FileZilla assumes anything without an extension is 'likely a text file' by default... which is where the problem comes in.

Yes, I agree.  And if I remember correctly, this was an unannounced change in an upgrade from its previous default behavior where it assumed it was not a text file, which further compounded the problem for people who had the previous version installed.  Upgrades shouldn't change user settings without some sort of notice to the user.  (imo)

Offline Ljungberg

  • Newbie
  • *
  • Posts: 1
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #67 on: March 17, 2011, 12:58:10 AM »
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.
including .htaccess?
Can I uncheck both "Treat files without extension as ASCII file" and "Treat dotfiles as ASCII file"
and then upload everything as binary?

thanks

Offline ryry46d9

  • Semi-Newbie
  • *
  • Posts: 12
OMFG ...
This should be it the admin panel.
I have moved my site 3 times and wondered why 50% of the attachments never made it.

now my question that I didn't see a answer on is, why don't all said images have extensions? this would make life so much easier  :P


but now I know what I been doing wrong, ThankYou for the heads up  ;D

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,635
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
The attachments don't have file extensions to make it harder to upload an executable file like a shell script and use it to take over the server ;)
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Red G. Brown

  • Jr. Member
  • **
  • Posts: 225
OMFG ...
This should be it the admin panel.
I have moved my site 3 times and wondered why 50% of the attachments never made it.

Yes.

Offline susanexpress01

  • Newbie
  • *
  • Posts: 1
Thanks.My brother is searching for this board.

Offline ~DS~

  • SMF Hero
  • ******
  • Posts: 2,599
  • Gender: Male
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #72 on: June 12, 2011, 11:32:16 AM »
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.
including .htaccess?
Can I uncheck both "Treat files without extension as ASCII file" and "Treat dotfiles as ASCII file"
and then upload everything as binary?

thanks
Yes.
Both for upload and download...everything binary.
“There is no god, and that’s the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,635
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #73 on: July 10, 2011, 01:42:51 AM »
Most of the time binary is quite safe to use on everything, although I do not know if htaccess and other text only files like robots.txt would ever have any real benefit from being treated as binary... The most important thing is to make sure that Filezilla uses binary as default for files without extension, and for files with extensions it doesn't recognise, as this would make sure your image attachments are treated as binary like they should be.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline StuartMorris

  • Newbie
  • *
  • Posts: 1
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #74 on: July 11, 2011, 04:02:22 AM »
This is Stuart from Minneapolis (America's best city). I came across this thread and found it interesting. Hopefully, we can get new ideas from each other as we all are here for sharing our knowledge and experience.  :)

Offline TheChief60

  • Newbie
  • *
  • Posts: 6
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #75 on: July 28, 2011, 12:08:24 AM »
I just transferred my forum and used FileZilla....

Couldn't see attachments and avatars....

Thanks to everyone as yes the ascii transfer in auto mode was the culprit. Re-transferred everything without the treat files w/o extensions as ascii...and set it to transfer everything as binary and it worked.

This should be a required part of any move SMF to new host documentation. Again, thanks...

Offline Red G. Brown

  • Jr. Member
  • **
  • Posts: 225
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #76 on: August 01, 2011, 12:53:39 AM »
I'm glad we made a big enough deal about this that you were able to find it and make use of the information here.

Offline outlawsys

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
    • http://www.outlawsys.com
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #77 on: October 15, 2011, 01:40:41 AM »
Why would they do that? I mean do you know any extensionless files that AREN'T binary files? Other way around yeah maybe, .htaccess no name, just file with extension its ASCII... but FILE.   ect.... chances are its binary, default to that unless told otherwise....geez... you would think OS guys would know better.... guess not, they must work for Apple   lol     :(

Offline Bet99ty00

  • Newbie
  • *
  • Posts: 3
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #78 on: November 03, 2011, 10:24:51 PM »
I had this issue previously. Since then I had been really careful about it. Thanks for the heads up once again. I am sure this will help alot of users around.


EDIT by (F.L.A.M.E.R):
Links/Images for advertisement removed.
« Last Edit: November 04, 2011, 10:18:40 AM by (F.L.A.M.E.R) »

Offline live627

  • Development Contributor
  • SMF Hero
  • *
  • Posts: 5,620
  • Gender: Male
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: Important Notice: Do you use Filezilla? Avatars and Attachments lost?
« Reply #79 on: November 04, 2011, 02:36:55 AM »
Why would they do that? I mean do you know any extensionless files that AREN'T binary files? Other way around yeah maybe, .htaccess no name, just file with extension its ASCII... but FILE.   ect.... chances are its binary, default to that unless told otherwise....geez... you would think OS guys would know better.... guess not, they must work for Apple   lol     :(
Complain to FileZilla, not Apple. Who- who am I kidding? That was funny!
Try not to become a man of success, but rather try to become a man of value.
- Albert Einstein