General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Set file permissions using WinInet FtpCommand
When I run the following command from the MS DOS FTP client, it works and returns the following response:
ftp> quote site chmod 0700 mydir
250 Changed.
When I try to issue the same command via the FtpCommand function, it fails. Here is the response I gete back from the FTP server:
200 Type okay.
200 PORT command successful.
500 Syntax error, command unrecognized.
I am running this command from the root directory.
The directory I am trying to change perms for is directly under the root directory.
I have tried specifying the directory using both "/mydir" AND "mydir".
Any help greatly appreciated.