using tSCPFileList output in tSCPGet

One Star

using tSCPFileList output in tSCPGet

Hi all,
might be a classical newbe question but I don't get it to work.
I espablished a tSCPConnect
and
tSCPFileList is working
but I can't figure out how I can you these filenames in tSCPGet.
Any advice?
One Star

Re: using tSCPFileList output in tSCPGet

Hi Ulrich,
From tSCPFileList connect an iterate flow to tSCPGet
In tSCPGet filelist field type your directory in "" and then press Ctrl then Space. This will give you a list of globalmap variables. Select the variable tSCPFileList_1_CURRENT_LINE. Your line should then look like this:
"/home/user/scp/"+((String)globalMap.get("tSCPFileList_1_CURRENT_LINE"))
For each iteration you will then use the next file in the list.
Regards,
Rick
One Star

Re: using tSCPFileList output in tSCPGet

Hi Rick,
sorry for the late responce.
Yes, this works. Thanks!
Do you know where this kind of info is documented?
Ulrich
One Star

Re: using tSCPFileList output in tSCPGet

Great was about to use context var with Java... this is even more flexible ^^
Thanks tchd !
One Star

Re: using tSCPFileList output in tSCPGet

hi 
am using tscpfilelist to list files in sftp server ( sftp server set up on my local windows machine)
what should i pass in filelist field.
any command i pass is nt working and no exception thrown. i tried ls, dir nothing seems to work
Also please tell me what to pass as filelist source in tscpget