Hi all,
I have an asp.net web site. In a particular page, when a button is clicked a .bat file would run. Simply, the .bat file first send a file via FTP (reads the FTP commands from another file in same hierarchy with the bat file) then moves the file to the outbox from inbox.
Here the problem comes, when I run the bat file manually by double-clicking on it, it works perfectly and does all work. But when I run the bat file from my web application, it does everything inside the bat file (moving the file from inbox to outbox) but cannot run the FTP script text file. I gives me an error of "Error opening script file FTPScript.txt" When I looked at the Standard Error I show these:
"Error opening script file \\192.6.146.1\custorders\BatchFiles\FtpScript10.txt.
Transfers files to and from a computer running an FTP server service (sometimes called a daemon).
Ftp can be used interactively.
FTP [-v] [-d] [-i ...
Go to the complete details ...