We help IT Professionals succeed at work.
Get Started

MS DOS FTP BATCH File

701 Views
Last Modified: 2013-12-09
Hi,

I have two MS DOS Batch files "FTSE" and "Lehmans" which are in my shared folder at work in G:\Shared\Fixed Income\Sovereign\Mark\Scheduled Tasks. The Lehmans batch file run perfectly. The FTSE file which is pretty much identical does not, I have pasued the DOS screen and see the following error message "Error opening script file txtFTSE.scp."

I have copied the text for both batch files & text files (bottom of post). Like I say the Lehman file works pefectly but the FTSE one does not. I have double checked the password, username & address but cannot find my error.

Any help would be great!

Thanks

My Batch files

FTSE

G:
G:\Shared\Fixed Income\Sovereign\Mark\Scheduled Tasks

ftp -s:txtFTSE.scp data.ftse.com

Lehmans

G:
G:\Shared\Fixed Income\Sovereign\Mark\Scheduled Tasks

ftp -s:txtLehman.scp indexftp.barcap.com

Text Files

FTSE

Username
Password

prompt n

cd data
cd gilts
cd gilts_constituents

get BGCO1406.csv "G:\Shared\Fixed Income\Sovereign\Mark\Scheduled Tasks\BGCO1406.csv" overwrite  

quit

Lehmans

Username
Password

prompt n

cd point
cd download

mget *_TAPLATRI_*_Global_Barcap_HY_Index.csv "G:\Shared\Fixed Income\Sovereign\Mark\FTP\Leh.csv" overwrite

quit
Comment
Watch Question
IT Consultancy
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 2 Answers and 16 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE