I have some DTS packages that manipulate data and export 3 files into a drive. I am trying to use EXECUTE PROCESS TASK at the SUCESSFULL completion of these packages to FTP these files, but the Move_MyFiles.cmd hangs after the FTP line in the following file:
This works fine via the CMD prompt, thus I thought it would work by simply copying it to a .CMD file but no luck. If I run this via a CMD prompt, i.e. Move_MyFiles.cmd, it hangs at ftp> without running the next line: open ThisFTPSite ThisPort.
I am assuming I need to run the FTP command with the OPEN and USERNAME and PASSWORD together but don't know how.
Any assistance will be greatly appreciated.
Code:
cd w:
ftp
open ThisFTPSite ThisPort
user MyUserName MyPassWord
bin
put File1
put File2
put File3
bye
I am assuming I need to run the FTP command with the OPEN and USERNAME and PASSWORD together but don't know how.
Any assistance will be greatly appreciated.