FTP - 550 - Not A Plain File --- Huh?

Posted on 2006-05-15
Last Modified: 2008-01-09
I'm trying to upload some things to an ftp site, and this is what it's telling me. The files go there, but something seems wrong. Does anyone know what this message means?

For other files it's telling me 550 - This file does not exist...which is why I'm uploading it! Not sure what going on here. Any clues?
Question by:YoungBonzi
    LVL 7

    Accepted Solution

    Yes I've had this before. A few ideas...

    1) Have you logged in and reconnected again?

    2) Have you tried ascii as well as binary transfers

    3) Are you using a web browser to FTP? If so make sure its Internet Explorer or else go for a proper FTP client

    4) Can you upload to a different directory that you create on the FTP server? That will at least help narrow down the problem
    LVL 8

    Author Comment

    Hi Clever Bob, I'm using SmartFTP. I'm not sure if I should be using acii or binary, how should I decide?
    LVL 32

    Assisted Solution

    "ascii or binary, how should I decide?"

    Generally speaking, ascii mode should be used for text files, i.e. files you could edit with a simple text editor like Notepad. This includes *.txt, *.htm and *.html files. Binary mode should be used for almost everything else, incl. all image, movie, database, music etc. files plus word documets etc.

    If unsure, use binary mode.

    What type of file are you trying to transfer that is giving the "not a plain file" message.
    LVL 8

    Author Comment

    I was moving a website from one host to another, so it was just about every type of file.

    I don't know why I was getting those errors, all the files eventually uploaded and they are working fine now. I ldid learn a bit from this question though, so I guess I should split the that allowed?
    LVL 32

    Expert Comment

    Glad it's working. If you have mixed files then binary is the better option. Ascii is important only when transferring text files between dissimilar systems.

    Yes, splitting points is very much allowed, should be at the bottom of the page, a "split points" option.

    Good luck.
    LVL 32

    Expert Comment

    Just to explain the need for ascii mode a bit more:

    Binary mode is easy to understand, the files are transferred intact, i.e. without any change.

    Ascii mode may transfer the file intact, or it may change them slightly.

    So why would you want your files changed in any way? The reason is that Ascii files are commonly stored as variable length records separated by special characters. Think of lines of text on a page, with a <CR><LF> at the end of each line. (<CR> = Carriage Return, <LF> = Line Feed). The problem arises because some systems use both <CR><LF> between lines, and some use just <LF>. Thus if you transfer text files unchanged to a system that was expecting the other standard, you may end up with a garbled file. By specifying Ascii mode, you are telling the two ends of the FTP chain to watch for the special delimiters and modify them to suit the situation.

    This is somewhat simplified but I think explains the reasoning.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Suggested Solutions

    Do you have the problem that a lot of tasks are stacking up fairly quickly? A good way to reduce your big task list is to apply the 3 minute rule. Its fairly simple: if someone asks you to do a specific task, and you know for a fact that it will …
    CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
    Saved searches can save you time by quickly referencing commonly searched terms on any topic. Whether you are looking for questions you can answer or hoping to learn about a specific issue, a saved search can help you get the most out of your time o…
    Want to pick and choose which updates you receive? Feel free to check out this quick video on how to manage your email notifications.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now