06-05-2009
Further to jayan_jay example .
jay.txt
user <username> <password>
cd <directory path in UNIX server>
lcd <Local drive in Windows machine>
bin
put <filename>
bye
jay.bat
@echo off
ftp -n -s:jay.txt <IP Address of UNIX Server>
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
The Setup is like this. I'm connecting to Unix machine from my local machine. After connecting to Unix M/c, i need to connect FTP server. Am successful in connecting to FTP server, but am not able to download the file from the ftp server to my local machine. I have different user id's and... (1 Reply)
Discussion started by: ranjith_taurean
1 Replies
2. HP-UX
want to remove the thread
thanks (2 Replies)
Discussion started by: indira
2 Replies
3. Shell Programming and Scripting
want to remove this thread.
thanks (2 Replies)
Discussion started by: indira
2 Replies
4. Shell Programming and Scripting
Hello Sir/ Madam,
i m new user in unix shell scripting.Please guide me to crack this problem.
Thanking you. (1 Reply)
Discussion started by: Nirmal
1 Replies
5. Shell Programming and Scripting
Hi,
I need to copy few files from remote server to local server.
I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed.
... (5 Replies)
Discussion started by: arunkumarmc
5 Replies
6. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
7. Shell Programming and Scripting
Validating the size of file transferred from ftp server to the local system.
File type: Text file/Flat file
Source System: Windows / Unix Systems
Target System is always: Unix
Mode of Transfer : ASCII
We have generic ftp shell script that transfers the files from different ftp servers. ... (2 Replies)
Discussion started by: jpundalik
2 Replies
8. Shell Programming and Scripting
Hi All,
can anybody explain me how to ftp files from local system to unix server using Shell scripting without using any softwares.
i have developed some code but its not wrking.
lclpath=/dba58/d039/ftppubd/ajay
echo $lclpath
cd $lclpath
user='rajesh'
pswd='rajesh'
host="3.209.136.253"... (5 Replies)
Discussion started by: rajesh_pola
5 Replies
9. Shell Programming and Scripting
Hi,
Is there a way I can copy a file from a server to a local folder (i.e. My Documents)? can it be done by scp?
I tried this but it just rename the file as the folder it has to be transferred at.
scp -r name@some_server:/home/user/file.txt 'somehere\home\home_dir'
Thanks. (4 Replies)
Discussion started by: erin00
4 Replies
10. Shell Programming and Scripting
Hi,
I want to delete a file on the local server, while connected to remote server through FTP.
I am using the below code for this
$FTP_CMD -v -n $HOST <<*! >> $LOGFILE 2>&1
user $USER $PASSWORD
cd $DIR
... (11 Replies)
Discussion started by: jhilmil
11 Replies
JAY(1) General Commands Manual JAY(1)
NAME
jay - an LALR(1) parser generator for Java and C#
SYNOPSIS
jay [ -tv ] [ -c ] [ -p ] [ -b file_prefix ] [ -V yyValue ] filename < skeleton
DESCRIPTION
Jay reads the grammar specification in the file filename and generates an LR(1) parser for it. The parsers consist of a set of LALR(1)
parsing tables and a driver routine from the file skeleton written in the Java programming language. Jay writes the parse tables and the
driver routine to standard output.
The following options are available:
-b file_prefix
The -b option changes the prefix prepended to the output file names to the string denoted by file_prefix. The default prefix
is the character y.
-c The -c option makes jay generate C# code instead of the default Java.
-t The -t option arranges for debugging information to be incorporated in the compiled code.
-v The -v option causes a human-readable description of the generated parser to be written to the file y.output.
-p The -p option causes jay to print the directory in which its sample skeleton files are installed. If a project wants to use
the default skeleton file included with jay, it can use this option in a makefile to find the path to the skeleton or skele-
ton.cs file included with the jay distribution.
If the environment variable TMPDIR is set, the string denoted by TMPDIR will be used as the name of the directory where the temporary files
are created.
FILES
skeleton
y.output
/tmp/yacc.aXXXXXX
/tmp/yacc.tXXXXXX
/tmp/yacc.uXXXXXX
DIAGNOSTICS
If there are rules that are never reduced, the number of such rules is reported on standard error. If there are any LALR(1) conflicts, the
number of conflicts is reported on standard error.
HISTORY
Jay is derived from Berkeley yacc . Input conventions closely follow those of yacc ; for details, consult the parser skeleton file and the
commented example included with the sources.
4.3 Berkeley Distribution May 24, 1993 / July 8, 1998 JAY(1)