Understanding FTP connection code & process of FTPing
Jim/Hello All,
Thanks for your reply, its very hard for a newbie like me debugging a shell script which is already written, can you please help me understand the below script lines hope you would n't mind since i think it might be a peice of cake for you based on your experience. For reference please check the complete script at the end, I didn't understand the below points as of now where i am stuck.
1) After the function "fn_printLog" is defined the script is reading the filename from the parameter file
and parsing the variables and calling the function, in the below 2 portions of the code, was this function called 4 times for XTEST=11 and XTEST=12 ?? and i believe when script says
he is declaring and defining the variable at the same time,please correct me if i am wrong.
2) What exactly this command is doing here "ftp -v -n -i<$DIR/ftp_$FEED.log" i know this is reading the log file and doing FTP process as per instructions specified in it. what role does these arguments do (-v -n -i) play in this process.
Below is the complete script which i am debugging and understanding to figure out the head and tail of this script. Many Thanks and appreciate your help.
I just started a new job and inherited a Fedora core 3 server. I wanted to open the ftp ports and I wanted to verify this code before I mess things up. From my reading the two lines below should allow ftp access can anyone confirm my attempt.
iptables -A INPUT -p tcp - sport 21 -m state - state... (0 Replies)
Hi all,
i am not able to connect the ftp through userA.
Can you please tell me what are the possible ways to troubleshoot
this issue?
Regards
krishna (2 Replies)
Hi
Can someone help me what is the problem, when i try to login via ftp, though i entered the correct password, i got an error message
Connection refused.
please help. thanks (3 Replies)
Hi all
i want to do FTP via running a shell script and i want to hard code username and password for that particular server..
by writing it in a file can u help me in this regard..
Thank u
Naree (2 Replies)
Hi,
Anyone encounter whereby when you FTP from an Unix server (Solaris 8) to another server (Window Server 2003), you tend to wait a long while when you do a "ls" and you get a timeout after that. However, when you FTP again and do a "ls", the result of "ls" shown immediately. All connection are... (5 Replies)
I am getting the error in this command when i am pitting it in shell script
ftp -nvi jcmpcor1.abc.com >/work/test98.dat << EOD
error:-
invalid command.
but when i am writting it from outside it work fine. (7 Replies)
Hi,
Have anyone seen this problem, there is one remote side where their ftp connection to our server will always fail with connection closed by remote host and the second connection will be working.
is this an OS issue or network issue?
Thanks
Robert (4 Replies)
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Hi,
I will ftp aroung 80 files after connecting to an FTP Server. But after 2 minutes of connection, it is timed out and connection is dying. Server had a 2 minute connection timeout if connection is idle. But my question, Isn't tranfering files not considered as an activity. Is the connection... (7 Replies)