03-05-2016
I identified the error I guess
. The issue was the transfer mode.
I found this out when I was testing with FTP. I am using a HP-UX Unix server and Windows XP machine.
While transferring, I changed transfer mode to
ascii to binary and then it worked. Now I am trying to do the same on mail.
What about
uuencode? can you tell me how to use that with
sendexchange?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Im trying to extract a portion of a big file.
Using unique pattern /occurrence ,
(ex. loginname1,logoff and loginname2,logoff ),
I like to print the lines that contain the patterns and the lines between them.
Also, create a file for every login occurrence.
Thanks for everyone's... (1 Reply)
Discussion started by: apalex
1 Replies
2. Shell Programming and Scripting
Hi, everyone,
Now I have a ".csv" file and I want to extract a string-like date value from the file, say, it is in the 2nd row of the file and it is in the fixed context like:
"
This is the file title, //Row 1
The lastest update happened on: 10-Mar-2006 //Row2
....//other irrelavent rows
"... (6 Replies)
Discussion started by: homer_hn
6 Replies
3. Shell Programming and Scripting
Dear Members,
I have a huge file generated by the command 'whois' for hundred of IPs. Each section in the file starts with
I want to extract those lines which start with any of these words: Input:
OrgName: University of C
OrgID: U1
Address: OIT
Address: NH
City: ... (5 Replies)
Discussion started by: srsahu75
5 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I'm new in the unix environment. I'm having a challenge in extracting data from a flat file and convert it to a CSV file format or I should be able to open it with MS Excel.
The input data in my flat file looks like this:
AV00001001155000063637143326711145412082EM SITHOLE... (3 Replies)
Discussion started by: Mthimbana
3 Replies
5. Shell Programming and Scripting
Hi All,
I have a requirement where I have to search the file with some text say "Exception". This exception word can be repeated for more then 10 times.
Suppose the "Exception" word is repeated at line numbers say x=10, 50, 60, 120. Now I want to extract all the lines starting from x-5 to... (3 Replies)
Discussion started by: rrangaraju
3 Replies
6. Shell Programming and Scripting
Hello everybody,
Here is my problem : I cannot find a way to extract data from a particular file and more precisely I cannot extract the result of my awk script to an external file because I am currently working on HP-UX.
I would like a simple script (without awk) which asks for a date like... (4 Replies)
Discussion started by: freyr
4 Replies
7. Shell Programming and Scripting
Hi,
I have three files as below:
AA.DAT20110505063903.Z
AA.DAT20110405062903.Z
AA.DAT20110305061903.Z
All the above files are appended with Date and timestamp in compressed format.
I need to extract AA.DAT20110505063903.Z(which is the latest file) from one server and uncompress it... (2 Replies)
Discussion started by: pyaranoid
2 Replies
8. Shell Programming and Scripting
I need to extract some content of a file.
Example
file abc
vi abc
ooooooooo
bbbbbbbbb
vvv 1234 5
vvv 6789 3
xxxxxxxxxx
xxxxxxxxxx
i want to extract only the following content from file abc and store in another file say temp.
1234 5
6789 3
what should be my approach? (2 Replies)
Discussion started by: priya_ag04
2 Replies
9. Shell Programming and Scripting
Hi Freinds,
I have a file1.txt in the following format
File1.txt
I want to get 2 files from the above file filextra.txt should have the lines which are ending with "<" and remaining lines in the filecompare.txt file.
Please help. (3 Replies)
Discussion started by: i150371485
3 Replies
10. Shell Programming and Scripting
FILE_ID extraction from file name and save it in CSV file after looping through each folders
My files are located in UNIX Server, i want to extract file_id and file_name from each file .and save it in a CSV file. How do I do that?
I have folders in unix environment, directory structure is... (15 Replies)
Discussion started by: princetd001
15 Replies
LEARN ABOUT CENTOS
xferlog
XFERLOG(5) File Formats Manual XFERLOG(5)
NAME
xferlog - ProFTPD server logfile
DESCRIPTION
The xferlog file contains logging information from the FTP server daemon, proftpd(8). This file usually is found in /var/log but can be
located anywhere by using a proftpd(8) configuration directive. Each server entry is composed of a single line of the following form, with
all fields being separated by spaces.
current-time transfer-time remote-host file-size filename transfer-type special-action-flag direction access-mode
username service-name authentication-method authenticated-user-id completion-status
current-time is the current local time in the form "DDD MMM dd hh:mm:ss YYYY". Where DDD is the day of the week, MMM is the month,
dd is the day of the month, hh is the hour, mm is the minutes, ss is the seconds, and YYYY is the year.
transfer-time is the total time in seconds for the transfer.
remote-host is the remote host name.
file-size is the size of the transferred file in bytes.
filename is the name of the transferred file. If the filename contains any spaces or control characters, each such character is
replaced by an underscore ('_') character.
transfer-type is a single character indicating the type of transfer. Can be one of:
a for an ascii transfer
b for a binary transfer
special-action-flag is one or more single character flags indicating any special action taken. Can be one or more of:
C file was compressed
U file was uncompressed
T file was tar'ed
_ no action was taken
direction is the direction of the transfer. Can be one of:
o outgoing
i incoming
d deleted
access-mode is the method by which the user is logged in. Can be one of:
a (anonymous) is for an anonymous guest user.
r (real) is for a local authenticated user.
username is the local username, or if guest, the ID string given.
service-name is the name of the service being invoked, usually FTP.
authentication-method
is the method of authentication used. Can be one of:
0 none
1 RFC931 Authentication
authenticated-user-id
is the user id returned by the authentication method. A * is used if an authenticated user id is not available.
completion-status is a single character indicating the status of the transfer. Can be one of:
c complete transfer
i incomplete transfer
FILES
/var/log/xferlog
AUTHORS
ProFTPD is written and maintained by a number of people, full credits can be found on http://www.proftpd.org/credits.html
SEE ALSO
proftpd(8)
Full documentation on ProFTPD, including configuration and FAQs, is available at http://www.proftpd.org/
For help/support, try the ProFTPD mailing lists, detailed on http://www.proftpd.org/lists.html
Report bugs at http://bugs.proftpd.org/
XFERLOG(5)