Operating System - HP-UX
1822934 Members
3843 Online
109645 Solutions
New Discussion юеВ

How to FTP From Windows To Unix

 
SOLVED
Go to solution
scottwu_1
Occasional Contributor

How to FTP From Windows To Unix

I want Ftp a files of Windows to Unix .
I first log on the UNIX Server.
Then I use the command and list error:

ftp> get
(remote-file) c:\1.tgz
(local-file) 111
200 PORT command successful.
550 c:1.tgz: No such file or directory.
ftp>

Pls help me any pointers anyone,Thanks.
11 REPLIES 11
G. Vrijhoeven
Honored Contributor

Re: How to FTP From Windows To Unix

Hi,

Log in on windows:

ftp
>cd c:\
>ls
>get file
>bye


HTH,

Gideon
G. Vrijhoeven
Honored Contributor
Solution

Re: How to FTP From Windows To Unix

Sorry,

from windows to unix

cd c:
ftp unix
cd targetdir
put file
bye

HTH,

Gideon
Michael_356
Frequent Advisor

Re: How to FTP From Windows To Unix


To send files from local machine to remote machine use "put"
To get files from remote machine to local use "get"
Franky_1
Respected Contributor

Re: How to FTP From Windows To Unix

Hi,

login Windows Server
and cd to the directory containing the file
then ftp to Unix Server then

ftp> cd
ftp> bin (if it's a binary file)
ftp> put
ftp> quit

Regards

Franky
Don't worry be happy
T G Manikandan
Honored Contributor

Re: How to FTP From Windows To Unix

to send it to remote machine use 'put' instead of 'get'
MarkSyder
Honored Contributor

Re: How to FTP From Windows To Unix

It looks to me as if you are putting the directory name as part of the file.

ftp (windows server)
cd c:
get 1.tgz

but it might be easier logging in to the Windows server, going to a DOS window, changing to the directory with the file, then

ftp (unix server)
cd (destination directory)
put 1.tgz

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Franky_1
Respected Contributor

Re: How to FTP From Windows To Unix

Hi,

please don't forget to assign points

Regards

Franky
Don't worry be happy

Re: How to FTP From Windows To Unix

cd c:
$ftp
ftp>cd
ftp>put file
ftp>bye
$
You can use mget and mput to transfer directories instead of get&put for file transfer

regards
SK
Your imagination is the preview of your life's coming attractions
Robert-Jan Goossens_1
Honored Contributor

Re: How to FTP From Windows To Unix

Hi,

How about a nice program to drag and drop your files.

http://www.smartftp.com/

Regards,
Robert-Jan
scottwu_1
Occasional Contributor

Re: How to FTP From Windows To Unix

Very Thanks.
The Right answer is:
cd c:
ftp unix
cd targetdir
put file
bye

To send files from local machine to remote machine use "put"
To get files from remote machine to local use "get"
This is important!
scottwu_1
Occasional Contributor

Re: How to FTP From Windows To Unix

I explain at previous answers.
thanks.