powered by
list files from remote server via sftp
sftp_ls(sftp_con, path = NULL, all = FALSE)
files in the dir
sftp_connection created by sftp_connect()
remote directory path
list hidden files or not
# sftp_ls(sftp_con, 'your/dir')
Run the code above in your browser using DataLab