NcFTP


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting NcFTP
# 1  
Old 06-26-2009
NcFTP

Hi everyone,

I have to create a file to log the transfert time.

I am using ncftp/3.1.8 on solaris 9. I've got a shell script running on crontab - But sometimes I am running that script manually. This script connect to a FTP serveur and then download the data's needed.

here is the ncftp part I used to get the data :

PHP Code:
${ncftp_home}/ncftpget -/home/user/.ncftp/file_ncftp ---DD ${REP_LOG} ${Rep_ftp_saturne}/LOG/*${date_orb_saturne}* 
the idea is to log the date time when the downlod start and when the download ends.

I have read the ncftp man, and search on the site, but I did not find anything about this. I am even sure if it's possible.

If anyone has any idea, or can help me on this.

Thanks

---------- Post updated at 07:37 AM ---------- Previous update was at 04:00 AM ----------

Hi,

I writing a message to say that my post can be closed or deleted. I found an issue with Ncftp that will push me to change for anothet ftp client.

I have better result with Wget. So I will try see if Wget can do everything I need.

Thanks for all of you who already see my post and I supposed were trying to find a way to help me.

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ncftp copy/move pb

Hi, i have made this script for copy file in folder FTP in my local machine, when copy is finish i move files copied in backups_001 directory on same ftp 1°) the problem is if this script works with date if date is similar i taken, but if one day in ftp they put new file is no getting ... (0 Replies)
Discussion started by: livetele
0 Replies

2. Shell Programming and Scripting

help need on ncftp

hi, i have make a directory like this : /var/spool/ncftp log file /var/spool/ncftp/log and my home user i create a file like this : p-20070201-174500 content of p-20070201-174500 # This is a NcFTP spool file entry. job-name=p-20070201-174500 op=get hostname=ftp.freebsd.org... (2 Replies)
Discussion started by: livetele
2 Replies

3. SCO

Is ncftp possible between two SCO Unix servers?

Hi. Can entire data be taken thr' ncftp from one SCO Unix server to another? Please let me know. (0 Replies)
Discussion started by: hrishi10a
0 Replies
Login or Register to Ask a Question