How To Find File Is Transmitting Or File Has Transmitted


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How To Find File Is Transmitting Or File Has Transmitted
# 1  
Old 01-16-2006
How To Find File Is Transmitting Or File Has Transmitted

Hi

Q. suppose operator is doing transmitting files (by using FTP)from one login to another in to one particuler directory.let filename is scfd_001.unl .when ever operator starts FTP this name will created in that particular directory.but problem is hoe to find scfd_001.unl file is already transmitted or still transmitting.
please help me.

regards
MallikarjunaRao
# 2  
Old 01-16-2006
See if you can make use of lsof.

Checking a file is not being written to
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find matching file in bash with variable file names but consisent prefixs

As part of a bash the below line strips off a numerical prefix from directory 1 to search for in directory 2. for file in /home/cmccabe/Desktop/comparison/missing/*.txt do file1=${file##*/} # Strip off directory getprefix=${file1%%_*.txt} ... (5 Replies)
Discussion started by: cmccabe
5 Replies

2. Shell Programming and Scripting

Perl script to read string from file#1 and find/replace in file#2

Hello Forum. I have a file called abc.sed with the following commands; s/1/one/g s/2/two/g ... I also have a second file called abc.dat and would like to substitute all occurrences of "1 with one", "2 with two", etc and create a new file called abc_new.dat sed -f abc.sed abc.dat >... (10 Replies)
Discussion started by: pchang
10 Replies

3. AIX

Adding CR to ascii data file generated on AIX platform and will be transmitted to Windows OS

I desperately need help converting ascii data file generated on AIX platform that contains dollar sign ($) at the end of each line in the data file as shown below. ME570^0128237^HG278999^20140805:21:00:00^BEENZ001^$ This is the AWK command for adding CR to the new line. awk... (1 Reply)
Discussion started by: cumeh1624
1 Replies

4. UNIX for Dummies Questions & Answers

SSH: What data is actually being transmitted?

Sorry, I couldn't think of how to word my question in the title field, let me try to explain: If I am on "computer1" on a school network, and I ssh using Terminal to a remote server A, then I perform an rsync operation between server A and server B (home server), what data is being sent to my... (3 Replies)
Discussion started by: WIOP33
3 Replies

5. Shell Programming and Scripting

how to find a pattern from an external file in a directory containing multiple file recursively

Hi, Need your help in this. I have an input file that has multiple enrollment_number, somewhat like 1234567 8901234 9856321 6732187 7623465 Now i have to search and delete these enrollment_number recursively from all the files that are within multiple sub-directories of a... (10 Replies)
Discussion started by: mukulverma2408
10 Replies

6. Shell Programming and Scripting

wanted to find both link file and ordinary file using single find command

find . -type fl o/p is only the ordinary file. where in it wont give the link files. (2 Replies)
Discussion started by: nikhil jain
2 Replies

7. UNIX for Dummies Questions & Answers

CSV file:Find duplicates, save original and duplicate records in a new file

Hi Unix gurus, Maybe it is too much to ask for but please take a moment and help me out. A very humble request to you gurus. I'm new to Unix and I have started learning Unix. I have this project which is way to advanced for me. File format: CSV file File has four columns with no header... (8 Replies)
Discussion started by: arvindosu
8 Replies

8. Shell Programming and Scripting

Newbie.. Find if a file exists and open, if not create the desired file..

Hey all, I'm brand new to script writing, I'm wanting to make a script that will ask for a file and then retrieve that file if it exists, and if it doesn't exist, create the file with the desired name, and I'm completely stuck.. so far.. #! bin/bash echo "Enter desired file" read "$file" if ... (5 Replies)
Discussion started by: Byrang
5 Replies

9. Shell Programming and Scripting

Get the count of files transmitted

Hi All, My requirement is to transfer a group of files from one server to another server and check the no. of files transmitted. If the no. of files exceeds 100 then i have to stop file transmission. I'm using ftp and put command to transfer files.Please guide me to get the count and stop... (1 Reply)
Discussion started by: vimalr
1 Replies

10. UNIX for Dummies Questions & Answers

How to find a file whick is consuming larger disk space in file system

Hello, Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it please help me out any help would be appreciated (6 Replies)
Discussion started by: lokeshpashine
6 Replies
Login or Register to Ask a Question