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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT FREEBSD
pppdump
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)