Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help in FTP
Hi
I have created one text file and one batch file. In ftp.txt file, I have written some FTP commands and through ftp.bat file, I am executing that file. The output of FTP steps in ftp.txt are stored in ftp_out.txt. When I double click on ftp.bat file, I am not able to execute my ftp commands successfully. I am giving ftp_out.txt below. Can anybody help me. My files are as follows. ftp.txt ------- SecomRepData SIS\fSecomRepData ONNDO1uu cd SecomRepData cd Server cd "SECOM TEST" cd "SECOM Reports" cd RPFE041 binary send "C:\Documents and Settings\pls.SIS\Desktop\Temp\Narayana.doc" Narayana. doc bye ftp.bat -------- ftp -s:"C:\Documents and Settings\pls\Desktop\Temp\ftp.txt" "C:\Documents and Settings\pls\Desktop\Temp\ftp_out.txt" ftp_out.txt ------------- ftp Invalid command. ftp SecomRepData Invalid command. ftp SIS\fSecomRepData Invalid command. ftp ONNDO1uu Not connected. ftp cd SecomRepData Not connected. ftp cd Server Not connected. ftp cd "SECOM TEST" Not connected. ftp cd "SECOM Reports" Not connected. ftp cd RPFE041 Not connected. ftp binary Not connected. ftp send "C:\Documents and Settings\pls\Desktop\Temp\Narayana.doc" Narayana. doc bye -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200510/1 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help in FTP
I think I'd do the FTP manually and keep track of what you typed. Then build
that text file accordingly. I would have thought that the first line in your ftp.txt file would look more like: open SecomRepData But that's just a guess from a long time ago! "Sridhar P via OfficeKB.com" wrote: Hi I have created one text file and one batch file. In ftp.txt file, I have written some FTP commands and through ftp.bat file, I am executing that file. The output of FTP steps in ftp.txt are stored in ftp_out.txt. When I double click on ftp.bat file, I am not able to execute my ftp commands successfully. I am giving ftp_out.txt below. Can anybody help me. My files are as follows. ftp.txt ------- SecomRepData SIS\fSecomRepData ONNDO1uu cd SecomRepData cd Server cd "SECOM TEST" cd "SECOM Reports" cd RPFE041 binary send "C:\Documents and Settings\pls.SIS\Desktop\Temp\Narayana.doc" Narayana. doc bye ftp.bat -------- ftp -s:"C:\Documents and Settings\pls\Desktop\Temp\ftp.txt" "C:\Documents and Settings\pls\Desktop\Temp\ftp_out.txt" ftp_out.txt ------------- ftp Invalid command. ftp SecomRepData Invalid command. ftp SIS\fSecomRepData Invalid command. ftp ONNDO1uu Not connected. ftp cd SecomRepData Not connected. ftp cd Server Not connected. ftp cd "SECOM TEST" Not connected. ftp cd "SECOM Reports" Not connected. ftp cd RPFE041 Not connected. ftp binary Not connected. ftp send "C:\Documents and Settings\pls\Desktop\Temp\Narayana.doc" Narayana. doc bye -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200510/1 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|