I have a need to run SFTP (SSH FTP), Admin likes psftp (type "putty" at the Google prompt. First choice).
Seems simple enough. Use the Execute Process Task to execute ps
ftp.exe and pass in the parameters (including a batch file). I've done this with other command line programs. Almost like stealling. And, sftp works beautifully from a command line at the DOS prompt. Should be no problem.
Here's the kicker: Execute Process Task will NOT run ps
ftp.exe IF ANY parameters are passed. ANY parameters. Even if I encapsulate ps
ftp.exe inside a .bat file, the Task fails if any parameters are passed. I have tried the following:
0. psftp -V successful at DOS prompt from any folder (i.e. PATH is not an issue). (returns version)
1. psftp successful from Execute Process Task (note: no params)
2. psftp AND parameter -V FAILS with Execute Process Task
3. psftp (no params) inside a .bat file successful from DOS prompt and from Execute Process Task
3. psftp -V inside a .bat file succesful from DOS prompt
4. psftp -V inside a .bat file FAILS with Execute Process Task
5. notepad.exe test.txt successful from Execute Process Task
It seems that Execute Process Task works with any program except ps
ftp.exe. Is there any way to get ps
ftp.exe to run?
HELP! :-)
THANK YOU FOR ANY ASSISTANCE.
Start Free Trial