Open Wandererer opened 6 years ago
when i use scp (src, dest, func(){}) to move files and check files are in the dest.
src = /tmp/deploy/data/* dest: = id:pwd@ip:/var/www/gameData/
but what i found out that files are in /var/www/
everytime run js file. files are not in var/www/gameData/
so my only think is dest has string limit.... did i use scp wrong? or is there other option to use?
scp2 version is 2.2
@Wandererer Did it work for you ?
when i use scp (src, dest, func(){}) to move files and check files are in the dest.
src = /tmp/deploy/data/* dest: = id:pwd@ip:/var/www/gameData/
but what i found out that files are in /var/www/
everytime run js file. files are not in var/www/gameData/
so my only think is dest has string limit.... did i use scp wrong? or is there other option to use?