History of old FTP transfers | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

History of old FTP transfers

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 04-26-2007
Nakul Mukerjee Nakul Mukerjee is offline
Registered User
 
Join Date: Apr 2007
Last Activity: 2 May 2007, 6:43 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
History of old FTP transfers

How can one find the name and size of files ftp'ed during an old ftp transfer.

Is there any log where these details are stored or any UNIX command which can provide these details.

Thanks in advance.
Sponsored Links
    #2  
Old 04-30-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
AFK
 
Join Date: Dec 2004
Last Activity: 28 July 2014, 9:39 AM EDT
Location: UK
Posts: 2,351
Thanks: 0
Thanked 6 Times in 6 Posts
The FAQ submission queue is not a place to submit a question which you think might be asked quite frequently. It is a place to create a thread that contains some answers to the more frequently asked questions.

And regarding your question, unless your ftp script (if you have one) has kept these details, you won't find this information stored by the system.
Sponsored Links
    #3  
Old 04-30-2007
Nakul Mukerjee Nakul Mukerjee is offline
Registered User
 
Join Date: Apr 2007
Last Activity: 2 May 2007, 6:43 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Hi blowtorch,
Please let me know where should I post any new queries then.

Regarding the FTP query I have posted, I am not using any script. Just using the UNIX ftp command to transfer files. Are these details not stored anywhere, in any of the logs.

If this is so then is there any method by which I can retrieve these details for new FTP transfers. I assume that since for old ftp transfers these details are not stored by the system I can't retrieve them in anyway.
    #4  
Old 04-30-2007
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 20 September 2014, 9:50 PM EDT
Location: NM
Posts: 10,211
Thanks: 278
Thanked 796 Times in 743 Posts
You have to do something like this:

Code:
echo "
open node
USER pass pswd
verbose
cd /somewhere
put somefile
bye 
" > /usr/bin/ftp -n >>  /path/to/myftp.log

Sponsored Links
    #5  
Old 05-02-2007
Nakul Mukerjee Nakul Mukerjee is offline
Registered User
 
Join Date: Apr 2007
Last Activity: 2 May 2007, 6:43 AM EDT
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Jim,
Thanks for the reply. Need some clarifications regarding the code snippet you have given. I believe this is a shell script for storing details of new ftp transfers in a file.

echo "
open node
# Open connection to the remote server
USER pass pswd
# Connect using user-id and password
verbose
# Switch off verbose
cd /somewhere
put somefile
# Some instructions
bye
" > /usr/bin/ftp -n >> /path/to/myftp.log
# What does '> /usr/bin/ftp -n' do exactly. Should it be reading '<' from /usr/bin/ftp and then writing to a file.
# How can I go about implementing this script so that details of all new ftp transfers are logged in a file.

Thanks in Advance
Nakul
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
History to Another file [local user history , but root access] linuxadmin UNIX for Advanced & Expert Users 3 08-31-2011 11:13 AM
automatic SCP transfers issues Dird Security 1 07-01-2010 07:37 AM
Slow LAN FTP Transfers with FreeBSD... CyberCat IP Networking 4 02-01-2010 04:31 PM
ssh - transfers with gateway hopping Solarius UNIX for Advanced & Expert Users 2 09-29-2008 07:14 AM
Automate FTP / Scripting FTP Transfers Perderabo Answers to Frequently Asked Questions 0 05-20-2004 08:50 PM



All times are GMT -4. The time now is 08:11 PM.