|What I mean is the FTP instructions as username, password and other commands must be part of a specific text file (in the case I coded ftp_cmd.txt) NOT embedded in the batch script.|
The statements embraced by parenthesis at the begin of the batch create that file that FTP reads by the switch -s: i.e. \ftp_cmd.txt. Why you get "access denied" is a mistery for me since I have tested the script and it works fine. The file ftp_cnd.txt is created in my script in the root of current unit. Try to view it by accessing via notepad, as I said it is a plain text file.