I have to telnet to a Solaris 7 server from my Windows 2000 workstation and need to transfer data from my C drive on my Windows workstation to a directory on the Unix server. Is this possible and if so what are the commands?
Okay I run 'FTP' in the prompt and it gives me a window with the 'FTP' prompt. What do I do next to get the file from my Windows Workstation to the Unix Server?
You can't transfer files using telnet, and Clairvoyant1332 was correct, FTP or a secure version of it will. If it is a small amount of data, you can create a file on the UNIX telnet session and copy and paste the data there.
I now logged into the Unix server using the 'FTP' and at my Unix home diretory. Now what are the commands to get the Windows file into this unix directory?
change remote directory -- cd {dir}
change local directory -- lcd {dir}
send file -- put {filename}
receive file -- get {filename}
for text mode -- asc
for binary mode -- bin
Used the run command prompt from start menu and typed in 'ftp' then i typed in 'open myservername' at the ftp prompt and put in my name and password which put me in the server in my home directory.
So, try to open a console window typing [tt]cmd[/tt] in the run command prompt.
Then try something like this:[tt]
C:
cd dir file.txt[/tt]
If you can see your file, then the ftp session should be ok:[tt]
ftp
open yourservername
yourname yourpassword
put file.txt
bye
exit[/tt]
Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.