Home AMX User Forum AMX Technical Discussion

how to delete a file through ftp or telnet

Hello,

i?m trying to delete a file saved into the master?s root directory.
I?ve tried to access it through ftp, but with some ftp Clients they give me an error when trying to list the directory, and others just show me an empty directory at "doc:user"

Is there a way to delete a file at the root?
Do you know the telnet command to do so?

Thanks!!

Comments

  • yuriyuri Posts: 861
    Use FileZilla :)
  • MorgoZMorgoZ Posts: 116
    I?ve used it, and it gives me a list error and then exits.
  • DHawthorneDHawthorne Posts: 4,584
    When using Filezilla, especially if you are running under Vista, go to the advanced tab for your connection and set the server type to VMS instead of Automatic. This resolves many of the errors on connection, and the blank directory issue. There is something wrong with the auto-detect routine. I've personally never had trouble in XP with it, but until I figured it out, I almost couldn't use Filezilla at all in Vista.
  • mpullinmpullin Posts: 949
    FileZilla is kind of wack in general. Ever since a certain version, whenever I used it on an AMX master it always tries to take me to some doc:user directory and bombs out.

    The FireFox extension FireFTP is amazing. Give it a try. (psst... its alt shortcut is alt-T-F, same as transfer in NetLinx Studio... easy to remember for us!)
  • MorgoZMorgoZ Posts: 116
    Thanks for your help,

    i?ve tried to open the directory with the FireFTP.... and the same, i post the response:





    FireFTP 1.0.5 'Human Being' created by Mime Čuvalo

    220 VxWorks (VxWorks 6.3) FTP server ready
    USER anonymous
    331 Password required
    PASS (password not shown)
    530 Login failed.
    Unable to make a connection. Please try again.
    220 VxWorks (VxWorks 6.3) FTP server ready
    USER administrator
    331 Password required
    PASS (password not shown)
    230 User logged in
    FEAT
    500 Command not recognized
    PWD
    257 Current directory is "doc:user"
    TYPE A
    200 Type set to A, ASCII mode
    CWD /..
    550 Access denied.
    CWD /..
    550 Access denied.
    CWD /..
    550 Access denied.
    NOOP
    200 NOOP -- did nothing as requested...hah!



    And again it shows an empty directory.

    The Internet Explorer once told me that maybe the configuration of the proxy were wrong... i?m not using any proxy, but maybe i should configure something in the master to make it work????

    Thanks again!
  • mpullinmpullin Posts: 949
    MorgoZ wrote: »
    FireFTP 1.0.5 'Human Being' created by Mime Čuvalo

    220 VxWorks (VxWorks 6.3) FTP server ready
    USER anonymous
    331 Password required
    PASS (password not shown)
    530 Login failed.
    Unable to make a connection. Please try again.
    220 VxWorks (VxWorks 6.3) FTP server ready
    USER administrator
    331 Password required
    PASS (password not shown)
    230 User logged in
    FEAT
    500 Command not recognized
    PWD
    257 Current directory is "doc:user"
    TYPE A
    200 Type set to A, ASCII mode
    CWD /..
    550 Access denied.
    CWD /..
    550 Access denied.
    CWD /..
    550 Access denied.
    NOOP
    200 NOOP -- did nothing as requested...hah!

    FireFTP 1.0.4 'Human Being' created by Mime Čuvalo

    220 VxWorks (VxWorks 6.3) FTP server ready
    USER NetLinx
    331 Password required
    PASS (password not shown)
    230 User logged in
    FEAT
    500 Command not recognized
    PWD
    257 Current directory is "doc:user"
    TYPE A
    200 Type set to A, ASCII mode
    CWD /doc:user
    250 Changed directory to "doc:user"
    PASV
    227 Entering Passive Mode (10,200,10,230,7,144)
    LIST
    150 Opening ASCII mode data connection
    226 Transfer complete
    NOOP
    200 NOOP -- did nothing as requested...hah!
    QUIT

    This is what it looks like when I connect.

    Looking at the difference between these logs... you should try logging in as NetLinx instead of anonymous, and use Passive Mode.
  • DHawthorneDHawthorne Posts: 4,584
    DHawthorne wrote: »
    When using Filezilla, especially if you are running under Vista, go to the advanced tab for your connection and set the server type to VMS instead of Automatic. This resolves many of the errors on connection, and the blank directory issue. There is something wrong with the auto-detect routine. I've personally never had trouble in XP with it, but until I figured it out, I almost couldn't use Filezilla at all in Vista.

    Correction: you need to set the server type to DOS in Vista. VMS gets you a directory listing, but you can't actually transfer files; DOS works correctly all around.
Sign In or Register to comment.