Sponsored Content
Top Forums UNIX for Advanced & Expert Users Script should flow after ftp --Urgent Post 302206756 by uttamhoode on Wednesday 18th of June 2008 10:50:51 AM
Old 06-18-2008
try this

#!/bin/sh
IP='127.0.0.1'
USERNAME='uname'
PASSWORD='pswd'

ftp -un $HOSTNAME <<EOF
quote USER $USERNAME
quote PASS $PASSWORD
ls
quit
EOF
echo "FTP over"
exit 0
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Urgent FTP script automation

Hi guys, Here is my requirement for ftp script that i have to automate in unix using shell script: 1) Find the files that atre created one week from the present day. 2) ftp them to the backup server. 3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies

2. UNIX Desktop Questions & Answers

Urgent FTP script automation

Hi guys, Here is my requirement for ftp script that i have to automate in unix using shell script: 1) Find the files that atre created one week from the present day. 2) ftp them to the backup server. 3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies

3. Filesystems, Disks and Memory

Urgent FTP script automation

Hi guys, Here is my requirement for ftp script that i have to automate in unix using shell script: 1) Find the files that atre created one week from the present day. 2) ftp them to the backup server. 3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies

4. UNIX for Advanced & Expert Users

FTP script urgent

Hi guys, Here is my requirement for ftp script that i have to automate in unix using shell script: 1) Find the files that atre created one week from the present day. 2) ftp them to the backup server. 3) At the end of the month make a new directory on my backup server with the new month(eg:Once... (1 Reply)
Discussion started by: koduri0475
1 Replies

5. Shell Programming and Scripting

ftp and telnet in the same script ?? Urgent Help !!

Hi All, I have written a script which ftp certain file to other machine and as the ftp completes , I want to connect to that machine ( at which the file is ftped) . Now the problem is that my script ftp's the file but it does not telnet to that machine. Suppose I am at machine1 and I want to... (11 Replies)
Discussion started by: aarora_98
11 Replies

6. Shell Programming and Scripting

Python script - control flow statements

Hi guys.I'm just beginner of python. I'm just trying to do some analysis on simple input file. it has 6 columns and i want to consider k,l and m,n if i and j are + after that checking which value is greater or lower in k,l and m,n I have included logic header just to explain what I was... (4 Replies)
Discussion started by: repinementer
4 Replies

7. Shell Programming and Scripting

Help with make sure shell script execute instruction in flow

Hi, I want to write a shell script to make sure all the instruction is executive in flow. eg. I want my shell script to run finish this two progress first: ./program input_file_1.txt > input_file_1.txt.out & ./program input_file_2.txt > input_file_2.txt.out & After then, only run the... (1 Reply)
Discussion started by: edge_diners
1 Replies

8. Shell Programming and Scripting

Backup script using Korn Flow Control

I am wiping off the dust to my shell scipting days and had this question: I have this script that I have created, and cannot figure out where my flow control issue is within this script. #!/bin/ksh #Basic script to backup server #Home directories to the external ... (2 Replies)
Discussion started by: metallica1973
2 Replies

9. Shell Programming and Scripting

Help with control flow in a Bash script

In my bash script I want to say "if argument 2 is anything except x, y or z, than echo this" (x y and z being words). So my script looks like this: if ] then echo "unrecognized input: $2" fi This usually works but than I also want to say "if argument 2 IS x, y, or z, but argument 4 is... (4 Replies)
Discussion started by: Jrodicon
4 Replies

10. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
HELICAL(1)						      General Commands Manual							HELICAL(1)

NAME
helical - control Bittorrent client Transmission from command line SYNOPSIS
helical [options] [[hostname][:port]] [command] DESCRIPTION
helical is a remote control utility for Bittorrent client Transmission. By default, helical connects to the Transmission session at localhost:9091. Other sessions can be controlled by specifying a different hostname and/or port. helical operates in two modes: from command line and in interactive mode. To run helical in interactive mode start it without a command. For the commands list please refer to COMMANDS section. OPTIONS
-u USERNAME, --username=USERNAME Authentication username. -p PASSWORD, --password=PASSWORD Authentication password. COMMANDS
add torrent-file | URL [target-dir paused=(yes|no) peer-limit=#] Add a torrent specified by torrent-file or URL to the transfer list. Use target-dir as download location for torrent. Set paused to yes or no, to start or stop torrent activity respectively. Add peer-limit option to specify maximum number of peers. exit, quit Exit from helical. info [torrent-id, ...] Get details for a torrent. If no torrent-id is provided, all torrents are displayed. list List all torrent transfers. remove torrent-id [, ...] Remove one or more torrents from the transfer list. session get | stats Get session parameters or session statistics. start torrent-id [, ...] Start one or more queued torrent transfers. stop torrent-id [, ...] Stop one or more active torrent transfers. verify torrent-id [, ...] Verify one or more torrent transfers. AUTHOR
Erik Svensson SEE ALSO
transmissioncli(1), transmission-daemon(1), transmission-remote(1) http://www.transmissionbt.com/ 0.2 2009-09-04 HELICAL(1)
All times are GMT -4. The time now is 08:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy