Various usage of FTP in Unix


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Various usage of FTP in Unix
# 1  
Old 03-22-2010
Various usage of FTP in Unix

My project is to write a script to get/put data to another server, be able to log input and output files, have some sort of security for the password, and any errors connecting send a email to a group of people.

I've seen examples of perl, java being called by Unix scripts, etc. I've even seen outside software such as kermit being called.
I wanted to know what others are using when writing Unix/Linux scripts to use ftp?
# 2  
Old 03-22-2010
Nowadays, I tend to use Perl. If it is very, very simple I might use a .netrc script but that gives no easy way to trap errors.

Kermit has good scripting for FTP too - I just tend toward Perl because it's always there and Kermit is not.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

usage of if command in ftp

Hi , I am writing script to copy some files and folders . I am trying to use if command to check if folder exists and then copy in that folder but if command is not working: if then lcd $home_directory/sequences cd sequences mput * else echo "Not a Directory" fi ... (5 Replies)
Discussion started by: ankush_mehra
5 Replies

2. UNIX for Dummies Questions & Answers

FTP command-line utility usage

Hi, Using command-line utility "ftp or sftp", I want to transfer files across Windows and UNIX. Can you please tell me from where I need to connect to ftp and how do I specify the hostname, credentials and how do I get and put files between DOS and UNIX? Please provide me as much... (10 Replies)
Discussion started by: Dev_Dev
10 Replies

3. UNIX for Dummies Questions & Answers

Mail/ftp/web servers, on VIRTUAL!! dedicated server. Also resource usage. Centos 5.

Hi. First of all, would 4 or 5 websites, 1 ftp server (when downloading by someone or a few persons or one, concretize) and one mail server (not many emails, just to sound official and have a nice, spam-free email for myself). Websites with not that many, but some, later more visitors, quite... (0 Replies)
Discussion started by: newn
0 Replies

4. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

5. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

6. UNIX for Advanced & Expert Users

MVS->Unix FTP : Using chmod as part of FTP.

We are transferring file from mainframes to unix, & in FTP process itself we would like to set access rights for unix machine. Has anyone used chmod command in association with site command in ftp? How it should be used? Thanks in advance. (1 Reply)
Discussion started by: videsh77
1 Replies

7. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

8. AIX

Prevent ftp usage

Is there a way to prevent users to use ftp on my server? And only allow root to use ftp. Thanx (1 Reply)
Discussion started by: NineInch
1 Replies

9. Programming

usage of ftp in C program

thank you of your help my application system is : windows 2000 pc --- HP unix minicom ---- windows NT I am programming with C language on HP unix minicom , I want to get files with ftp command from windows 2000 pc to HP unix minicom in my program, and also put files with ftp command... (1 Reply)
Discussion started by: bdyjm
1 Replies
Login or Register to Ask a Question