Discussion Locked

About FTP commands

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Can u please send me FTP commands like how to copy from Unix to WINNT.
Is there any chance to copy through TELNET. If so, please send me that commands.

Thank u

Regards

2 replies

by gmscne

This may work:
Open a DOS session on your NT machine.
Type TELNET and use the IP address or name of the server. You may have to log on to that server with a username and password. Go to where your file is and type GET followed by the filename. Thefile should be placed on your WINNT PC.

by ebob

On your Unix box type "man ftp" and see what that gets you. Or on your NT, type "ftp /?" (or try "ftp \?" or "ftp -?"). You may need to pipe any of these through a page command like "more".

A typical "anonymous FTP" session looks like this:

user> ftp
FTP running...
> open server1.domain.ca
Server server1 open at domain.ca...
Enter your username or "anonymous"...
> anonymous
Now enter your password or your email address if logging in with "anonymous"...
> my.email@mydomain.com
OK
> ls
(to list remote directories/folders/files)
>cd dir1
(to change to directory "dir1")
>ls
(as above)
> get file1
(downloads "file1" from "dir1" on the remote system to the "current directory" on the system where FTP was started)
> put file2
(uploads "file2" from "current directory" on the system where FTP was started to "dir1" on the remote system)
> bye
(to logout - on some systems this moght be "lo")

From Telnet? Not really, but you could arguably "shell out" of Telnet and runFTP, but why not just do FTP directly?

This discussion is closed to new replies.