• Post Reply Bookmark Topic Watch Topic
  • New Topic

[FTP]Copying of remote file to local machine  RSS feed

 
SonalPSPL Bagmar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

i wannna copy a file from the remote machine to my local machine using FTP protocol. i have made a connection to the remote machine , then i used the "get" cmd to copy the remote file as below :->

ftp> get
(remote-file) /home/aruba/opmtools/was50/Was5Install.doc
(local-file) /tmp/wasinstall.doc

200 PORT command successful.
150 ASCII data connection for /home/aruba/opmtools/was50/Was5Install.doc (10.16.29.210,63350) (33280 bytes).
226 ASCII Transfer complete.
local: /tmp/wasinstall.doc remote: /home/aruba/opmtools/was50/Was5Install.doc
33318 bytes received in 0.0059 seconds (5478.55 Kbytes/s)

ftp>

but the problem is , i want to copy this file to my c:/ or d:/ drives

How can i do that ?

Regards
SONAL
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand exactly.
Your remote machine is Linux, and the local win?
And where is the /tmp ?

An unrelated problem might be: If the .doc - file is a MsWord-Format, you need mode binary, not ascii.

Binary is normally default on linux-machines today. Don't know for windows.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!