FTP dir Command in Mainframe

Posted on 2011-05-09
Last Modified: 2012-05-11
Hello Experts,

I'm logging into an FTP mainfram, once  I log in, I try to run a simple DIR command and get the following error:
230 USERBLAH is logged on.  Working directory is "USERBLAH .".
ftp> dir
200 Port request OK.
550 No data sets found.

Please help!
Question by:DBL9SSG
    LVL 10

    Expert Comment

    by:Tyler Laczko
    that means you are chrooted to that directory and its empty.

    you ftp into userblah

    (either empty or you do not have permissions)

    Author Comment

    I issue a similar command below:
    send      D:\whatever.txt

    Once done, I'm not able to do a dir from  Does this mean I don't have permission to it?
    LVL 11

    Expert Comment

    When you say mainframe do you know what the OS is?  Is it Unix?  

    Secondly as the previous post mentioned the 550 FTP error is usually a permissions denied problem.  If you are certain there are files in the USERBLAH folder but you are getting the 550 error it has to be a permissions issue.

    Author Comment

    Unfortunately, I cant say for sure the OS, I would guess Unix.  

    I use the -->send      D:\whatever.txt    command, but then try to list the directory, and I get the 550 error.
    LVL 11

    Accepted Solution

    Instead of using 'Send' use the 'Put' command and see if that works.  For a list of common FTP commands check out this link:

    Author Closing Comment

    Thank you very much

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
    YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT ( The crux of this batch f…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    728 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