Sponsored Content
Full Discussion: Quit FTP issue
Top Forums Shell Programming and Scripting Quit FTP issue Post 302582556 by fpflug on Friday 16th of December 2011 10:23:20 AM
Old 12-16-2011
Quit FTP issue

Hey,

same problem. i want to check if files have been successfuly transferred after getting them back, but after I quit the ftp, nothing gets executed.

Difference from original post is that I get 226 and 221 feedbacks from the server.

Code:
226 Transfer complete.
2409 bytes received in 0.0086 seconds (2.7e+02 Kbytes/s)
221

My checking is using 'diff'.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Executing statements after quit in FTP.

In my shell script I am doing FTP along with other process. But all the statements after the "quit" command in FTP are not getting executed. Example: echo "This is a shell script to FTP a file" #ftp -inv <server name> <<eol>> <logfilename> #user <userid> <password> #put <filename> #quit... (2 Replies)
Discussion started by: dharmesht
2 Replies

2. UNIX for Dummies Questions & Answers

If FTP cron job fails to connect = quit

Im having a problem with my ftp CRON jobs. I have another related (but not the same question in shell scripting). My FTP CRON jobs connect to a server and drop some files off, if for some reason it cannot connect to the server (timesout/password wrong etc) instead of stopping, it tries again... (3 Replies)
Discussion started by: mokachoka
3 Replies

3. IP Networking

FTP issue

Hello all, FTP times out when I transfer large files. Small files get transffered fine. small files -------- -bash-3.1$ ftp -i cldevoradb01 Connected to cldevoradb01.enterprisenet.org. 220 (vsFTPd 2.0.5) 530 Please login with USER and PASS. 530 Please login with USER and PASS.... (4 Replies)
Discussion started by: luft
4 Replies

4. Shell Programming and Scripting

Issue with ftp

Hi friends, in one of the script i am doing ftp from solaris to a windows machine. From there i wll cd to specific directory. Now, let's say the directory is not there, then the cd command will fail. So, how i wll get to know here(in the unix box) that the command has failed. Thanks (3 Replies)
Discussion started by: tarakant
3 Replies

5. Solaris

FTP issue

Hi guys, I have a jumpserver that I connect to in order to connect to my SOLARIS boxes. I cannot connect directly. I used a remote terminal server and from there putty to the servers. That is OK. My only problem is when I need to FTP something to it. I have found no way to do that. Any... (4 Replies)
Discussion started by: 300zxmuro
4 Replies

6. UNIX for Dummies Questions & Answers

FTP Issue

Hi all, iam trying to connect to a ftp site in putty by using the follwing command . ftp URLname. I get the below error ftp: usftp.ABC.com: unknown host. Iam able to connect to the same site through windows commandline. Can anyone put your thoughts on what might be the issue?. ... (2 Replies)
Discussion started by: swathich
2 Replies

7. Shell Programming and Scripting

FTP script - 'quit' never executes

I have wrote a script to get a very large encrypted file from a remote ftp server to a local debian box. The file downloads successfully, but the script never exits, or quits. None of code executes after the ftp get command. The file is approx 291M Here is the code: !/bin/sh... (3 Replies)
Discussion started by: jstrahm
3 Replies

8. UNIX for Advanced & Expert Users

Ftp issue

Hi we are facing an issue on our server our job connects to a target server and pulls the file from a location .But it is taking too much time to do this . Hwne i manully do the ftp it finished in few seconds .but when the jobs is pulling it is taking 30 to 40 min . please see the log... (1 Reply)
Discussion started by: ptappeta
1 Replies

9. IP Networking

Issue with FTP?

HI Guys, Issue:: While doing bye command on ftp, it just hings as below untill you try Ctrl+C 891 bytes received in 0.0017 seconds (526.16 Kbytes/s) ftp> bye 221-You have transferred 0 bytes in 0 files. I too have tried with other commands like, close, disconnect etc but no luck. ... (1 Reply)
Discussion started by: Atp3530
1 Replies
PPPDUMP(1M)															       PPPDUMP(1M)

NAME
pppdump - convert PPP record file to readable format SYNOPSIS
pppdump [ -h | -p [ -d ]] [ -r ] [ -m mru ] [ file ... ] DESCRIPTION
The pppdump utility converts the files written using the record option of pppd into a human-readable format. If one or more filenames are specified, pppdump will read each in turn; otherwise it will read its standard input. In each case the result is written to standard out- put. The options are as follows: -h Prints the bytes sent and received in hexadecimal. If neither this option nor the -p option is specified, the bytes are printed as the characters themselves, with non-printing and non-ASCII characters printed as escape sequences. -p Collects the bytes sent and received into PPP packets, interpreting the async HDLC framing and escape characters and checking the FCS (frame check sequence) of each packet. The packets are printed as hex values and as characters (non-printable characters are printed as `.'). -d With the -p option, this option causes pppdump to decompress packets which have been compressed with the BSD-Compress or Deflate methods. -r Reverses the direction indicators, so that `sent' is printed for bytes or packets received, and `rcvd' is printed for bytes or pack- ets sent. -m mru Use mru as the MRU (maximum receive unit) for both directions of the link when checking for over-length PPP packets (with the -p option). SEE ALSO
pppd(1m) NOTES
The modified source for this package is available in the SUNWpppgS package. You can get the original source from ftp://linux- care.com.au/pub/ppp. 1 April 1999 PPPDUMP(1M)
All times are GMT -4. The time now is 03:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy