Avatar

Correct answer by
Community Advisor

Hi,

Use `ls -l` to get file sizes from sftp:

NB Security-wise and general coding practices-wise, you shouldn't store login credentials in plaintext or use action-at-a-distance and state when it's not required. Also use keys instead of passwords for auth if possible.

Thanks,

-Jon

View solution in original post