FtpDir(3) Library Functions Manual FtpDir(3)NAME
FtpDir - Performs a verbose directory.
SYNOPSIS
#include <ftplib.h>
int FtpDir(const char *outputfile, const char *path,
netbuf *nControl);
PARAMETERS
outputfile
Name of a local file to receive the directory listing.
path File specification to pass to remote 'ls'.
nControl
A handle returned by FtpConnect().
DESCRIPTION
Sends a LIST command to the server with the specified path. The response to this is usually a long format directory listing which will be
written to the file named in outputfile. If outputfile is specified as NULL, the list will be written to stdout.
RETURN VALUE
Returns 1 if successful or 0 on error.
FTPlib 06 November 1997 FtpDir(3)
Check Out this Related Man Page
modelicac(1) General Commands Manual modelicac(1)NAME
modelicac - modelicac is a compiler for a subset of the Modelica language including parts of the 'equation' subset that can express rela-
tions between Real variable.
SYNOPSIS
modelicac [-c] [-o <outputfile>] <inputfile> [ -L directory | -hpath directory | -keep-all-variables | -jac | -no-parameter-removal | -no-
simplifs | -trace filename | -xml ] This manual page documents briefly the modelicac commands. Note that modelicac is only available on
the platform which are supported by ocamlopt (ie amd64 hurd-i386 i386 powerpc sparc)
OPTIONS
A complete list of options is included below.
-c Compile only, do not instantiate. Modelicac produces a "*.moc" file when invoked with that option.
-o outputfile
Set output file name to <outputfile> (this option also works with -c option but is somewhat useless because of the class name
restrictions given above).
-L directory
Add <directory> to the list of directories to be searched when producing a C file (no effect when used with -c).
-hpath directory
Specify a path to be added to #include directives in the generated C code.
-keep-all-variables
Do not remove any variable from the initial system.
-jac Generate analytic jacobian matrix code.
-no-parameter-removal
Do not remove any parameter
-no-simplifs
Same as -keep-all-variables -no-parameter-removal
-trace filename
Generate tracing information for external function calls into <filename>
-xml Generate an XML version of the model instead of target code
AUTHOR
Modelicac was written by TNI-Valiosys and Imagineby.
This manual page was written by Sylvestre Ledru <sylvestre@debian.org>.
November 18, 2008 modelicac(1)
Hi Everyone,
We are migrating from FTP to SFTP. We used the following script for FTP:
echo "ftp -np -i -v << EOF" >> ${FTP_READY_FILE}
echo "open ${SRC_FTP_SERVER} " >> ${FTP_READY_FILE}
echo "user ${SRC_FTP_USER} ${SRC_FTP_PWD}" >> ${FTP_READY_FILE}
echo "binary" >> ${FTP_READY_FILE}... (5 Replies)
I am trying to write a script that allows me to check a directory for files that i will sftp to another server.
When the file is created it creates a .ready file that is supposed to signal a file is fully created and ready to sftp. for example a file named 10312014.13.07.40.27711113 would have... (22 Replies)
Need help as to why when I try email the following it does not come out right:
DateOt=`date +"%a %b %d %T %Y"`
TimeOt=`date +%H:%M:%S`
interval=`cat $SecDiff| awk '{print $3}'`
PortInReq2=`cat /shared/ftpdir/tools/quelog/logs/quelog.NPS_TO_SMG.log | grep PQI | wc -l`
PortInRes2=`cat... (2 Replies)