[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


550 and 501 errors FTPing

Posted on 2005-04-06
Medium Priority
Last Modified: 2008-01-09
I am not FTP expert, so please assist.

We are using WS_FTP Pro to upload files to another organizations FTP site.  We use this same app on the same server to successfully upload to several other sites, but this one site keeps erroring.  So, I think it's either an access issue on the remote site server, or a configuration on our end.  Below is part of the log (private info changed) where the error  messages occur.  Any limited information I'm finding indicates we may not have proper access to the remote server directory to which we are uploading, but I need another opinion.

We are transferring text files in ASCII mode.  The remote site states if they get a file it is "empty".  Oddly enough we seem to be able to download files at times, but sometimes get these same errors when downloading as well.

This is part of the transfer log -
I get this block of errors:

   550-NAMEFMT set to 1.
   550-Specified directory does not exist or cannot be accessed.
   550 Working directory not changed.
   550-Specified directory does not exist or cannot be accessed.
   550 Working directory not changed.
   501 Unknown extension in database file name.
   501 Unknown extension in database file name.
  501 Unknown extension in database file name.
  501 Unknown extension in database file name.

Then later in the log file I get this error:

  500  subcommand is only allowed for block or compressed modes.
  This server does not appear to support restarts.
   -- Resuming of interrupted transfers disabled.
   -- Multipart downloads disabled.
   Finished checking for "REST" command support.

Then later this error:

  501 File name must precede member name.
  Transfer request completed with status: Failed, 1 SubItem(s) failed
  Starting request
Question by:Darthyw
  • 2
  • 2

Assisted Solution

TomBoland earned 375 total points
ID: 13721952
550 errors are a pain to figure out, but I have seen them as:

Connecting user rights issues  - You do not have rights to the folder you are connecting to as your "home" directory or one you are trying to create or change to.

FTP server rights issues - The FTP server software or daemon (if Linux) they are running does not have the rights it needs to your "Home" directory.

Tom Boland


Expert Comment

ID: 13722010
Clarification: This is all on the FTP Server side. The "Home" I am talking about is the directory on the FTP server, not on your client computer.

Tom Boland
LVL 23

Accepted Solution

sciwriter earned 375 total points
ID: 13722297
WS_FTP Pro is fairly simple to use, not a super GUI interface, but is pretty reliable.

Just set up a site like this --

Site Name -- anything
Site address -- ftp.thatsite.com   -- DO NOT use the ftp:// prefix here, it doesn't work
site login -- always a login -- no anonymous for another known site, it will limit what you can send
site PW -- always a PW  -- if not, the other site won't athenticate.
folder -- if this is a webserver, like a linux server, use -- public_ftp
If a private server, use the folder you want it to go into.

Once you have the parameters set, there is NOTHING that cannot be uploaded, unless --
1.  the file name includes illegal characters, like *&?
2.  The other site has restrictions on what can be uploaded.

Also, leave SW_FTP in the default port mode -- port 21 is the standard FTP port.

Check routers at BOTH ends, make sure they are not blocking port 21.  Also, if a DSL line, make sure that the DSL ISP (your phone company) is not blocking port 21 traffic on their network.

Author Comment

ID: 13729528
The issue ended up being at least partly simple.  I didn't notice that the user was uploading the text files as ASCII (which should work), but she did not have any extensions on the files so WS_FTP was trying to send them binary.  I set the session to "Auto-detect", and the upload worked from that point.

Your answers were helpful for me to better understand FTP, though.  So, I am splitting points for your efforts.

LVL 23

Expert Comment

ID: 13729669
Ha!!  Good debugging.  

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

834 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