D
DonInPhx
OK Here is what I an trying to do.
I have a new process to put in place for a bi-monthly download.
What I want to do via command line is go to the FTP site, then
mget *.*....... However, what is happening is they are always being
downloaded to the location I am executing the script from. What I
want to do is have those files sent to another location on the same
machine. Here is the format I have, but I cannot get it to work.
My .Bat file...
@Echo On
Echo *****************************************
Echo * Get Files From FTP Server*
Echo *****************************************
ftp -s:C:\Testing\MyFileParameters.txt -n -i
rem Echo *********************************
rem Echo * Copying files to new folder *
rem Echo *********************************
Echo * Process COMPLETE! *
Echo *******************************
pause
exit
The MyFileParameters.txt file..
open 192.1.xxx.xxx
user username
mypassword
mget *.*
lcd \\ServerName\H:\Share\DirectoryToCopyTo\
bye
No matter what I cannot get the lcd command working. Where am I missing
the boat?
I have a new process to put in place for a bi-monthly download.
What I want to do via command line is go to the FTP site, then
mget *.*....... However, what is happening is they are always being
downloaded to the location I am executing the script from. What I
want to do is have those files sent to another location on the same
machine. Here is the format I have, but I cannot get it to work.
My .Bat file...
@Echo On
Echo *****************************************
Echo * Get Files From FTP Server*
Echo *****************************************
ftp -s:C:\Testing\MyFileParameters.txt -n -i
rem Echo *********************************
rem Echo * Copying files to new folder *
rem Echo *********************************
Echo * Process COMPLETE! *
Echo *******************************
pause
exit
The MyFileParameters.txt file..
open 192.1.xxx.xxx
user username
mypassword
mget *.*
lcd \\ServerName\H:\Share\DirectoryToCopyTo\
bye
No matter what I cannot get the lcd command working. Where am I missing
the boat?