I'd like to pull a flat file from an FTP location. I had planned to execute a to ASCII pass to generated a txt file with the variable file name in it and then pass this to a ftp tool like PuTTY (using a shell execute pass) to do the get to a local directory on my VM.
However...according to the help doc in the MMC you can specify the source file name of an ASCII pass as an ftp location. I've been playing around with it and can't get this to work but I assume it's because I don't have the ftp:// connection string correct. Does anyone know the format this needs to be entered as? The ftp site requires password and username so I was assuming it was ftp://username:password@ftp.site.com/filenamepassword@ftp.site.com/filename but so far no luck.
We currently run 7.2 sp7 in case that makes a difference.
Thanks in advance!
Pete,
if you cut and paste the FTP string to a browser does it work then?
Matt
Hi Pete,
I had to FTP a reports from shared service center's IdM to it's customer organizations.. My notes show I created a command file with the needed FTP-commands in it, the cmd-file was called from the Shell Excecute with "cmd /c theCommandFile.cmd". (With full path pointing to the cmd-file.)
I cannot remember whether I did the cmd-file wrapper because calling the ftp-command didn't work in Shell Execute or due to the other complexity, like FTP'ing the files to 10+ different locations.
regards, Tero
Add a comment