I tested on a physical Nexus switch, NX-OS 9.3.3.
As below my test with login/pwd and without login/pwd :
First test : the login or pwd are incorrect but I verified, i'm connected with the same account to the ftp server so the credentials are OK.
Second test : I received an error (can't access file) I don't know what the error occurs.
SW01# sh version | i NXOS
NXOS: version 9.3(3)
NXOS image file is: bootflash:///nxos.9.3.3.bin
NXOS compile time: 12/22/2019 2:00:00 [12/22/2019 15:00:37]
SW01# copy running-config ftp://login:password@192.168.1.10/$(SWITCHNAME)-cfg.$(TIMESTAMP) vrf admin
Login or password incorrect!
Login failed.
Please log in with USER and PASS first.
Please log in with USER and PASS first.
Please log in with USER and PASS first.
***** Transfer of file aborted, Login failed*****
***** Transfer of file aborted *****
SW01# copy running-config ftp://192.168.1.10/$(SWITCHNAME)-cfg.$(TIMESTAMP) vrf admin
Enter username: test
Password:
can't access file.
***** Transfer of file Completed Successfully *****
Copy complete, now saving to disk (please wait)...
Copy complete.
On the FTP side, I receive a empty file with the second test.
If you have any idea about this issue ?