Error compiling "cannot be resolved to a variable"

Five Stars

Error compiling "cannot be resolved to a variable"

Hi,

I am trying to load a file from an SFTP site. I configured the tFTP connection component with the connection and credentials, but when I run the script I get an error: "{password} cannot be resolved to a variable" where password is the password I typed in the component. Any idea what I'm doing wrong? Thanks.


Accepted Solutions
Seven Stars

Re: Error compiling "cannot be resolved to a variable"

try by giving password in  double quotes "password"

View solution in original post


All Replies
Seven Stars

Re: Error compiling "cannot be resolved to a variable"

try by giving password in  double quotes "password"

View solution in original post

Six Stars

Re: Error compiling "cannot be resolved to a variable"

Just a guess since I cannot see the component settings, is your password wrapped in double-quotes?
Five Stars

Re: Error compiling "cannot be resolved to a variable"

Ah, awesome that worked. Thanks!

Highlighted
Four Stars

Re: Error compiling "cannot be resolved to a variable"

thanks. Day saved, hahah

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog