contextualist / acp Goto Github PK
View Code? Open in Web Editor NEWMake terminal personal file transfers as simple as `cp`
License: MIT License
Make terminal personal file transfers as simple as `cp`
License: MIT License
主机 A 和 主机 B 在同城不同运营商,网络正常可达。两台机器执行 acp 以后分别报错如下:
# 主机 A
rendezvous with 10.x.x.:57xxx | 103.xxx.xxx.1:57xxx
rendezvous timeout for &{laddr:192.168.x.x:38xxx peerLaddr:10.x.x.x:57xxx peerRaddr:103.xxx.xxx.1:57xxx}
# 主机 B
rendezvous with 192.168.x.x:38xxx | 114.x.x.223:38xxx
rendezvous timeout for &{laddr:10.x.x.x:57xxx peerLaddr:192.168.x.x:38xxx peerRaddr:114.x.x.223:38xxx}
server% curl -fsS https://acp.deno.dev/get | sh
==> Using auto generated config because contextualist/acp doesn't have a bina.json file in its release
==> This might not work for some projects
==> Resolved version latest to v0.3.0
==> Downloading asset for linux amd64
==> Permissions required for installation to /usr/local/bin
Password:
==> Installation complete
error writing config to /var/services/homes/admin/.config/acp/config.json: open /var/services/homes/admin/.config/acp/config.json: no such file or directory
afterwards I tried again
server% acp
Config not found. If this is your first time using acp, run `acp --setup` to generate a config
server% acp --setup
error writing config to /var/services/homes/admin/.config/acp/config.json: open /var/services/homes/admin/.config/acp/config.json: no such file or directory
Sorry for opening an issue but I just wanted to say how much I love this program! It works so well and is so easy to use! <3
acp doesn't correctly store files on destination host in case when source and destination are different operating systems.
It is expected that the transferred folder is copy of the source one. however in case when the folder is transferred from windows to linux, the result is rather unexpected. the created hierarchy is flatten and looks like:
drwxr-xr-x 1 arctus wheel 0 Mar 22 22:00 testdir
-rw-rw-rw- 1 arctus wheel 0 Mar 22 22:00 'testdir\t1.txt'
-rw-rw-rw- 1 arctus wheel 0 Mar 22 22:00 'testdir\t2.txt'
-rw-rw-rw- 1 arctus wheel 0 Mar 22 22:00 'testdir\t3.txt'
The problem seems to be the dir separator.
Tested under msys2 and powershell.
win下使用cmd/powershell 执行命令的时候,不管这个引号怎么改变都报这个错误
invalid character 'i' looking for beginning of object key string
acp --setup-with '{"id":"***","psk":"***"}'
I setup ACP on my main machine, and used the code it generated there to set it up om my other machine as well. However, whenever I try to use if from a different directory than I was in when I did the setup, it tells me that I have not yet set ACP up on the machine.
Strange.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.