我寫了兩個ftp batch 檔案 在測試環境中(windows XP client , FTP server Solaris)執行都沒有問題
但是我把檔案放上客戶端(windows server 2003)執行就有問題 請問各位高手到底是什麼問題 要如何解決
################## ftp batch file dbbk.bat
ftp -i -s:c:\5620aim\ftp\dbbk.txt >> c:\5620aim\ftp\dbbklog.txt
################## error message in dos
C:\5620aim\ftp>ftp -i -s:c:\5620aim\ftp\dbbk.txt 1>>c:\5620aim\ftp\dbbklog.txt
################# FTP batch reportftp.bat
ftp -i -s:c:\5620aim\ftp\reportftp.txt >> c:\5620aim\ftp\reportftplog.txt
################# reportftp.txt
open 10.76.193.98
aimftp
aimftp12
binary
prompt
cd ~
cd reports
lcd c:\5620aim\Reports\refreshed\PDF
mput *.pdf
close
bye
################### reportftplog.txt
ftp> Connected to 10.76.193.98.open 10.76.193.98
220 nm5620s FTP server (SunOS 5.

ready.
User (10.76.193.98:(none)):
331 Password required for aimftp.
230 User aimftp logged in.
ftp> ftp>
binary
200 Type set to I.
ftp> ftp>
ftp>
Interactive mode On .ftp> prompt
ftp>
ftp>
cd ~
250 CWD command successful.
ftp> ftp>
cd reports
250 CWD command successful.
ftp> ftp>
Local directory now C:\5620aim\Reports\refreshed\PDF.ftp> lcd
c:\5620aim\Reports\refreshed\PDF
ftp>
ftp>
mput *.pdf
mput Document2.pdf?
200 PORT command successful.
150 Binary data connection for Document2.pdf (10.76.193.101,3021).
226 Transfer complete.
ftp: 7782 bytes sent in 0.09Seconds 82.79Kbytes/sec.mput Node_Summary.pdf?
200 PORT command successful.
150 Binary data connection for Node_Summary.pdf (10.76.193.101,3022).
226 Transfer complete.
ftp: 6934 bytes sent in 0.11Seconds 63.04Kbytes/sec.mput
Shelf_Inventory.pdf? ftp> close
ftp>
bye
221 Goodbye.
It will lost some files not upload .