Monday, March 29, 2010

File Transfering From Unix to Windows

Recently I've been given a task of finding errors in some script files.Hence I need to transfer the files to my pc.(i.e Unix to Windows). So as easy way to use the filezilla and just drag and dropping you could FTP. but I wanted to try by the command line too. The following are the commands.

open the command prompt in windows.

C:\job_file>ftp
ftp> open 169.226.1.101
Connected to 169.226.1.101.
220 169.226.1.101 FTP server (Version 4.1 Tue May 15 16:38:46 CDT 2001) ready.
User (169.226.1.101:(none)): test
331 Password required for test.
Password:*****
230 User test logged in.
ftp> pwd
257 "/home/job" is current directory.
ftp> get testjob.job
200 PORT command successful.
150 Opening data connection for testjob.job
688 bytes).226 Transfer complete.
ftp: 727 bytes received in 0.00Seconds 727000.00Kbytes/sec.
ftp>

Now the file has been tranferred and it exists at C:\job_file\

For more Reference: http://www.albany.edu/its/quickstarts/qs-ftp.html

No comments:

Post a Comment