transfering files unix to pc


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers transfering files unix to pc
# 8  
Old 05-29-2006
Before all you should know the IP of your unix machine.
Eg.
Say the ip address is 10.10.15.226
Say the destination folder in windows is c:\Documents and Settings\Karthik
Say the path from where you wanted to ftp a file is /cdata/test.dir/test.run
Say the file that you wanted to ftp is TEST.TXN from the above directory.

From the command line (Click START >> RUN from your desktop, and say "cmd" to go to the command line).

The above will take you to the command prompt and the default path would be like c:\Documents and Settings\Karthik> (You can change the windows path if requried)

1. c:\Documents and Settings\Karthik>ftp 10.10.15.226
2. The above command will prompt you to enter your unix username & pwd.
3. On successful login it will take you to the ftp prompt. Check for the default directory and change it a directory from where you wanted to ftp.
4. Change the mode - say "ascii" for Ascii mode or "bin" for binay mode in the prompt)
5. Say "get TEST.TXN"

The above steps should fetch you the file TEST.TXN from unix box. Look below for the screenshot of a typical command line to fetch a file.

C:\Documents and Settings\karthik>ftp 10.10.15.226
User (10.10.15.226Smilienone)): karthik
331 Password required for karthik.
Password:
230 User karthik logged in.
ftp> pwd
257 "/cdata/test.dir/test.run" is current directory.
ftp> ascii
200 Type set to A; form set to N.
ftp> get TEST.TXN
# 9  
Old 05-30-2006
IP Address

Quote:
Originally Posted by intern
How do I go about locating the IP address of the unix system? Also, when I find that IP address and connect to the unix system will I just be able to browse with my windows computer, select the files I want to transfer, and then transfer them?

type the below command at # prompt

ifconfig -a

to see the ip address of your machine
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

UNIX - FTP changing the mode while transfering the files

Hi, I have to transfer my files using FTP. Few files are in Zipped format (.Z) and few are in .PX format . For zipped files, we need to change the mode to binary while transferring the files whereas for the px files the mode should be ascii. Eg: sample1.z sample2.z sample3.z sample.px ... (2 Replies)
Discussion started by: vidlaks
2 Replies

2. Shell Programming and Scripting

ftp script for transfering files

Hi, I am new to shell scripting,and i was planning to write a script that will FTP files to destination folder. All configuration should be done through a properties files.I was planning that All configuration should be done through a properties files. and finally the output should be... (0 Replies)
Discussion started by: rahul125
0 Replies

3. Shell Programming and Scripting

transfering files with a specific name to a folder

Hi I want to transfer all files in a folder to another folder. So the files have a ending of .lop.txt thanks (4 Replies)
Discussion started by: gisele_l
4 Replies

4. Shell Programming and Scripting

Transfering files from windows to unix box through sftp

Hello All, we have scenarion where we need to pull the Files from Windows to Unix Box through SFTP protocol. as per our analysis we did install the cygwin package on the Windows Box to have the openSSH package functionality. 1.Will openSSH help us to achieve the functionality what we are... (3 Replies)
Discussion started by: Amey Joshi
3 Replies

5. IP Networking

Transfering file from unix server to a windows pc

Is there a way to transfer files from unix server to windows directory,other than ftp? (1 Reply)
Discussion started by: Preet
1 Replies

6. Shell Programming and Scripting

transfering file from unix to window

Hello Sir/Madam, In my system both unix and windows xp are running, I want to transfer a file from unix to window. Sir, I m new in unix scripting ,So Please help me to solve my problem. Thanking you. (2 Replies)
Discussion started by: Nirmal
2 Replies

7. UNIX for Dummies Questions & Answers

Transfering files from one server to another.

My oracle database is generating archive logs. I want to copy those archive logs over to backup server on a regular basis. I know how to create an ftp job and I can put it in my crontab. My problem is that I don't know how to send the files just once instead of sends all the files in the... (4 Replies)
Discussion started by: Alan Bird
4 Replies

8. UNIX for Dummies Questions & Answers

Transfering files

Hi all. 1. How can i copy files from one unix system to another. should i use ftp? so How? 2. How can i create an archive whose extention is tar.gz? and how can i decompress them later? 3. WHat is RPM ? what does it stands for? Thanks (5 Replies)
Discussion started by: vbs
5 Replies

9. How do I send email?

Transfering unix file as an email attachment

I've written a a script which generates a report file, saved to a unix directory. I need to transfer it, via email, to some users. The command I'm using in my script is: (note that subject & cur_address are set in the script prior to this line) cat /u/sandyl/sm_o_commdt_archive/c | uuencode... (3 Replies)
Discussion started by: slivi
3 Replies

10. UNIX for Dummies Questions & Answers

Transfering unix file as an email attachment

I've written a a script which generates a report file, saved to a unix directory. I need to transfer it, via email, to some users. The command I'm using in my script is: (note that subject & cur_address are set in the script prior to this line) cat /u/sandyl/sm_o_commdt_archive/c | uuencode... (3 Replies)
Discussion started by: slivi
3 Replies
Login or Register to Ask a Question