Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: FTPQuote 500
rslt=ftpQuote(ftphandle,"MV /excdev/data/RP/Petroin /excdev/data/RP/Petindone")
FtpQuote command returns and error " 500 'MV /excdev/data/RP/Petroin /excdev/data/RP/Petindone':command not understood."
rslt=ftpQuote(ftphandle,"SITE MV /excdev/data/RP/Petroin /excdev/data/RP/Petindone")
If that doesn't work you might try to using this command in an ftp session outside of WinBatch:
For example in Windows 95 you can run c:\windows\ftp.exe
-At the command line type
open ftp.domain.comSITE MV /excdev/data/RP/Petroin /excdev/data/RP/Petindone
If it returns "?InvalidCommand", then you will not be able to execute this command in winbatch either.
rslt=ftpQuote(ftphandle,"ls")
NOTICE the Error Return string is UPPER case.....
FtpQuote command returns and error " 500 'LS':command not understood."
Why is this???
1. launch..."c:\windows\ftp.exe" 2. type...Open ftp.name.comIf you notice the error string is returned by the server is upper-cased. Winbatch has no control over CASE. If you get an error, when you attempt this "quote" command in the windows utility, then Winbatch will not be able to procees the request either...3. type(user id)...guest 4. type(user pswd)...guest 5. type... quote 6. type(command string)...ls (notice lowercase) 7. Did you get this error.....500 'LS': command not understood (notice uppercase)
Here's some background on how FtpQuote works:
The actual server commands are NOT the commands you type into your FTP Client.
For example in your client you often type PUT or STOR. FTP servers do not recognise those commands, but rather a STOR command that the ftp client sends to the server.
LS is similisr. The command actually sent is LIST.
The ftpList function already does this.
Article ID: W12641
Filename: 500 Error on ftpQuote.txt
File Created: 1999:04:15:16:48:36
Last Updated: 1999:04:15:16:48:36