Telnet files over network using cmd with pwd

October 27, 2010 at 08:39:13
Specs: Windows 7
sending files over the network using cmd bad password or username, i need to find a way to put in the username and password

See More: Telnet files over network using cmd with pwd

Report •


#1
October 27, 2010 at 09:41:36
Can you provide an example of what you are doing?

Report •

#2
October 27, 2010 at 23:39:22
first i telnet into the host... telnet user-pc
username : ******
password : ************


copy C$\users\user\documents\ducument.doc \\user-otherpc\c$\users\user1\documents\*.*

then i get a msg that says something about password and username error... how do i get to the point of putting in the usermane and password for user-otherpc which is my computer?


Report •

#3
October 28, 2010 at 06:23:11
Never would have though of using telnet to copy files in this manner. Usually you use telnet to admin device which may include uploads or downloads to the device..

Normally you would be using remote desktop protocol or vnc if moving/coping files.

Your issue is you are authenicating to telnet but not the pc. You can't put user name and password on a copy command. Authenication is not built into the copy command.

My suggestion is use the correct tool for the job.


Report •

Related Solutions

#4
October 28, 2010 at 07:21:20
My suggestion is use the correct tool for the job.

I have to agree with wanderer 100% on this response. This is not what telnet is used for.

Aside from the alternatives he gave you, you could also use ftp or ssh if you prefer command line.

It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.

***William Henley***


Report •

#5
October 28, 2010 at 11:04:39
If the host is in the same network, and you have admin rights, you could use copy\xcopy to the share\destination.
But be sure the Windows Firewall is disabled at the host target.

Regards,

MUs

Happy is ONE who says I am an OttoMAN.


Report •

#6
October 29, 2010 at 07:25:07
disabling the firewall is not required to copy files.

Report •

#7
October 29, 2010 at 10:11:42
"disabling the firewall is not required to copy files."

Dont you need to disable the Windows Firewall (at the host target) if you want access a share?

You will need access to a share if you want copy\move files.

(Can't test it atm)

Regards,

MUs

Happy is ONE who says I am an OttoMAN.


Report •

#8
October 29, 2010 at 12:39:41
Nope. Normally when you engage file and print sharing the windows firewall is automatically updated to allow file and print sharing. Sometimes you have to manually set this but it's advised to never disable the software firewall except for testing purposes.

Report •

#9
October 29, 2010 at 14:19:09
So, that means i can copy\move files, even if the Windows Firewall is enabled at the host target?

:O

Thanks.

Regards,

Happy is ONE who says I am an OttoMAN.


Report •

Ask Question