10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
FTP is connecting to the server but i am getting an error -
Enter if the env is dev or test or prod:
test
Please enter the id no :
xxxxxxx
Connected to xxxx
220 (vsFTPd 2.2.2)
331 Please specify the password.
230 Login successful.
?Invalid command
?Invalid command
?Invalid command... (3 Replies)
Discussion started by: chandraprakash
3 Replies
2. Shell Programming and Scripting
Hi All
I am using following code in my shell script to send the file to a mainframe server.
ftp -in $FTP_IP_SEND <<END_OF_FTP >$LOG_DIR/ProviderExportFTP.log
quote user $FTP_USER_SEND
quote pass $FTP_PASS_SEND
ascii
send ./ProviderExport.txt 'PROJ.PDRCACTS.FD87050.EXPORT' (REPLACE... (3 Replies)
Discussion started by: Renjith180282
3 Replies
3. Shell Programming and Scripting
Hi,
I am trying to write a PBS shell script that launches a bash process. The issue is that the bash process needs a variable in it and the shell script is interpreting the variable. How do I pass this as a literal string? Here is my code snippit:
TMP=".fasta"
FILEOUT=$FILE$TMP
cd... (2 Replies)
Discussion started by: bioBob
2 Replies
4. Shell Programming and Scripting
how can I use shell variable inside ftp script as in below:-
the case as below:-
I have folder names as (Sunday,Monday...etc) and inside these folders I am trying to get files where their names are "mf_usm_ssnc*_mo0'HOUR''MIN'".
where
HOUR= hour as in `date "+%H"` - 2
MIN= either... (2 Replies)
Discussion started by: ahmad.diab
2 Replies
5. Shell Programming and Scripting
hi all
i have a problem.
i have a file called 20091015_extract.csv
in my shell script i set the following variable:
TODAY=`date +%Y%m%d`
when i start an ftp session (within my shell script) I want to transfer the file like this:
put $TODAY_extract.csv
however, ftp is not... (2 Replies)
Discussion started by: soliberus
2 Replies
6. UNIX for Advanced & Expert Users
Hello All,
Request any one of Unix/Linux masters to clarify on the below.
How far it is feasible to open a new ftp connection for transferring each file when there are multiple files to be sent. I have developed shell script to send all files at single stretch but some how it doesnt suit to... (3 Replies)
Discussion started by: RSC1985
3 Replies
7. Shell Programming and Scripting
Hi All,
I have written a script to FTP files from local server to remote server. When i try it for few number of files the scripts runs successfully. But the same script when i run for 200-300 files it gives me performanace issue by aborting the connection.
Please help me out to improve the... (7 Replies)
Discussion started by: Shiv@jad
7 Replies
8. Shell Programming and Scripting
hi,
I have ftp script where the user name has "\" in it and my script unable to detect it....here is what I am doing...
`ftp -vin <<- FTP >> log.txt 2>&1
user ibm\user password
FTP`
my log says..
user ibmuser not found...
please help..... (4 Replies)
Discussion started by: mgirinath
4 Replies
9. UNIX for Dummies Questions & Answers
Still a Beginner here ..
Does anyone no how to get the IP address of the machine thats logged in (bearing in mind there will be others logged in) while they are logged in to the Unix server and pass this as a variable to a shell script so as I can FTP files to that machine via a shell script, at... (2 Replies)
Discussion started by: Gerry405
2 Replies
10. UNIX for Advanced & Expert Users
Hi All
We have a number of FTP Shell scripts running every day on a scheduled basis.
The issue we have is if the host connection is not available after a little while ftp times out and the script hangs as the shell returns to the ftp> prompt waiting for input from a user.
Any ideas how... (2 Replies)
Discussion started by: mlucas
2 Replies