I have an FTP script that contains the following commands:
open
ftp.ftpsite.comusername
password
cd NVDv2_US_EN
cd All
ascii
lcd C:\Temp
get jpg_v2_2009.zip
bye
I run this script using the command
ftp -s:C:\Temp\FTPConnectionIn
fo.txt
When I run it, it fails with the following error:
Error opening local file jpg_v2_2009.zip
Invalid argument
When I run the same commands interactively, I do not get the error. Any ideas as to what the problem might be? Thank you!
Start Free Trial