07-12-2021 03:44 AM
Is there a delimiter for copy command for SFTP?
User:admin
Pass: P@55w0rd
Server IP:1.1.1.1
copy sftp://user:pwd@server-ip
copy sftp://admin:P@55w0rd@1.1.1.1 <-- doing this captures 55w0rd as the server-ip.
07-12-2021 08:04 AM
the syntax is:
copy sftp://user:pwd@server-ip //filepath ios-file-system:file
the "@"is the delimiter between "usr:pwd" and server ip-address
07-12-2021 05:24 PM
Thanks for the reply pieter. But the issue is, if password has "@" on it. It will make the syntax wrong.
07-12-2021 11:52 PM
- I would say that although complex passwords are encouraged , the at-sign is a particular bad choice and or strongly not-recommended as a password character.
M.
07-13-2021 12:08 AM
My post meant the same as @marce1000 formulated
as "@" has a special meaning here, you may seek to use an escape sequence like '@' or \@ or ^2
but it makes thinks more simpler just to avoid this character and change to a different password
as the password P@55w0rd is NOT secure at all this is should be a good advise anyways
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide