Forum Discussion
I am having the exact same issue. I’m trying to move a file to a different directory on an SMB share. The file read snap accepts the address and can read successfully but the file operation snap complains of the protocol being unsupported or url incorrect. The copy wont work either, to a different directory or with a changed name in the same directory. I get that same error that @nisars got.
- Siva_Venna6 years agoContributor
Thanks @Spiro_Taleski @jcampion
For now I have used mapper snap and it worked.
In the mapper I have created(tablename+year) - abc_Date.now().getFullYear() - $tablename
Instead, if I create only date part as variable Date.now().getFullYear() - $year How to pass this in table name filed in Select snap?
Table name = ‘abc_’+$year ?Hi @Siva_Venna,
I think that would work. It seems like there’s a bug in the SQL snap’s expression evaluation where it’s choking on Date.now(), but if you already have the $year field I would think you can use ‘abc_’ + $year to get the tablename. Give it a try!- Judy
- Siva_Venna6 years agoContributor
I gave a try it did not work. Hope the fix will resolve the issue.