Sponsored Content
Full Discussion: transfering files unix to pc
Top Forums UNIX for Dummies Questions & Answers transfering files unix to pc Post 302074965 by skarthik_d on Monday 29th of May 2006 04:44:20 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
UUCP(1C)																  UUCP(1C)

NAME
uucp, uulog - unix to unix copy SYNOPSIS
uucp [ option ] ... source-file ... destination-file uulog [ option ] ... DESCRIPTION
Uucp copies files named by the source-file arguments to the destination-file argument. A file name may be a path name on your machine, or may have the form system-name!pathname where `system-name' is taken from a list of system names which uucp knows about. Shell metacharacters ?*[] appearing in the pathname part will be expanded on the appropriate system. Pathnames may be one of(1) a full pathname; (2) a pathname preceded by ~user; where user is a userid on the specified system and is replaced by that user's login directory; (3) anything else is prefixed by the current directory. If the result is an erroneous pathname for the remote system the copy will fail. If the destination-file is a directory, the last part of the source-file name is used. Uucp preserves execute permissions across the transmission and gives 0666 read and write permissions (see chmod(2)). The following options are interpreted by uucp. -d Make all necessary directories for the file copy. -c Use the source file when copying out rather than copying the file to the spool directory. -m Send mail to the requester when the copy is complete. Uulog maintains a summary log of uucp and uux(1) transactions in the file `/usr/spool/uucp/LOGFILE' by gathering information from partial log files named `/usr/spool/uucp/LOG.*.?'. It removes the partial log files. The options cause uulog to print logging information: -ssys Print information about work involving system sys. -uuser Print information about work done for the specified user. FILES
/usr/spool/uucp - spool directory /usr/lib/uucp/* - other data and program files SEE ALSO
uux(1), mail(1) D. A. Nowitz, Uucp Implementation Description WARNING
The domain of remotely accessible files can (and for obvious security reasons, usually should) be severely restricted. You will very likely not be able to fetch files by pathname; ask a responsible person on the remote system to send them to you. For the same reasons you will probably not be able to send files to arbitrary pathnames. BUGS
All files received by uucp will be owned by uucp. The -m option will only work sending files or receiving a single file. (Receiving multiple files specified by special shell characters ?*[] will not activate the -m option.) UUCP(1C)
All times are GMT -4. The time now is 09:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy