10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out.
I am specifically facing issues while running for loops.
I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Discussion started by: mohit_vardhani
2 Replies
2. Shell Programming and Scripting
Hi All , I want to use pipe in ftp session . Please let me know if there is any possibility
I have done FTP to a remote host with proper username and password
Now I want to take the latest file in a directory . The below is not workinf
ftp> ls -lrt |... (4 Replies)
Discussion started by: Sandeep Lade
4 Replies
3. Shell Programming and Scripting
Hi guys,
I am using a script that run ftp and transfer file from my source server to the destination server.
Since i have transferred my files to the destination server, now i want to run a script at the destination server.
Could you please help me regarding how to run a script in a ftp... (7 Replies)
Discussion started by: jaituteja
7 Replies
4. Shell Programming and Scripting
Hello All,
I have another Korn shell question. I am writing a script that will ftp a file from my production database to my test database.
To this, I have to construct a loop that checks a specified folder for a file.
If the file exists, I want it execute the ftp protocol and then exit. ... (2 Replies)
Discussion started by: jonesdk5
2 Replies
5. Shell Programming and Scripting
Hello ,
My requirement is as follows:
I want to connect to a remote FTP server using FTP and then get the latest file from server location
can u pls share code snippet for this ?
Regards,
Suresh (4 Replies)
Discussion started by: sureshg_sampat
4 Replies
6. UNIX for Dummies Questions & Answers
In FTP session, how could know the present working directory in local machine? pwd command gives the present working directory for remote machine only. (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
7. Shell Programming and Scripting
Hello all,
I have written a shell script which would prompt the user to enter some name and a folder would be created by that name.
This script should run automatically when the users provide there credentials during a FTP session and for every FTP session.
And after they have provided there... (5 Replies)
Discussion started by: h3llh0l3
5 Replies
8. Shell Programming and Scripting
Hi
I am trying rename multiple files in a remote location by connecting through FTP. How do i do this? I get error as for is not FTP command. I looked the FAQ for scripting but it is doesnt relate to my post.
Please help. Thanks
ftp -in >Error.log <<!
open $HOST
user $User $Pwd
for... (2 Replies)
Discussion started by: appsguy616
2 Replies
9. Shell Programming and Scripting
Is there any command which displays date while i am in a ftp session?
I tried the date command, but in vain
ftp> date
?Invalid command
ftp>
Can someone please help me. Thanks (2 Replies)
Discussion started by: vivek_damodaran
2 Replies
10. UNIX for Advanced & Expert Users
I am having trouble getting files to ftp over when I run the file names through a loop. If I just do one file it works, but inside of a for loop it does not.
Help!
################section 2
cd /home/salazar/chk_data
chmod 777 *
ftp -n 161.241.--.-- <<!
user anonymous \n
ascii
for... (6 Replies)
Discussion started by: jsalz638
6 Replies