Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mkdir command not recognized while in ftp

1,182 views
Skip to first unread message

Lee Goh

unread,
Aug 26, 1999, 3:00:00 AM8/26/99
to
Hi all,

I need to write a script that would automatically ftp files to the ftpserver. Since it involves directory structure transfer, I need to create directory in the server before I can ftp the files.

This is the error I got while trying out the mkdir command on the server:
 

c:\> ftp ftpproxy

Connected to ftpproxy
220-Welcome to XXXXXXXXXXXXXXXXXXX Server.
220            **** UNAUTHORIZED USE IS PROHIBITED!!! ****
User (ftpproxy:(none)): user...@ftpserver.com
password:

user username logged in

ftp> pwd
257 "/home/username" is current working directory

ftp> mkdir test

500 command not understood

ftp>

Why does it not recognized the mkdir command? When I type help at the ftp prompt, mkdir is one of the command listed. I tried the same thing from a unix server to the ftpserver and it worked. I tried from dos again to another server (no proxy server involved) and it also work.

Can anyone enlightened me on this?

Thanks in advance!!

Lee
 
 
 
 

Phil Robyn

unread,
Aug 26, 1999, 3:00:00 AM8/26/99
to
When you type 'help' at the 'ftp>' prompt, you are only getting a response
from FTP.EXE, not from the remote host.  Try typing 'quote help' or
'quote help xxxxxx' where 'xxxxxx' is the FTP command for which you
want the remote host to display help info.  You can also try 'quote help
server'.  Your remote host may understand 'MKD' instead of 'MKDIR'.
 
 

Lee Goh

unread,
Aug 26, 1999, 3:00:00 AM8/26/99
to
I tried it and it does give me a new set of command, and mkd, xmkd are 2 of them. However, when I tried it with the new command, it still gives me the error:

ftp> mkd test
ftp> 500 command not understood

Please help.

Thanks,

Lee

Mark Stang

unread,
Aug 26, 1999, 3:00:00 AM8/26/99
to
Again, try Quote
like this:

quote mkd test

quote tells the remote host to execute the command

Lee Goh <go...@cadvision.com> wrote in message
news:37C5B275...@cadvision.com...

Lee Goh

unread,
Aug 27, 1999, 3:00:00 AM8/27/99
to
Thank you to Phil and Mark, my problem is now solved!!!!

Lee

lokesh....@gmail.com

unread,
Aug 8, 2012, 11:31:23 AM8/8/12
to
Thank You Very Much.It Works For Me.

0 new messages