10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello, we have a UNIX system the runs our business data.
We have 4 users that use a particular batch command file to extract data for use in the Windows side of the fence: (despreg.bat)
ftp
ftp> open danapak (database name)
connected to danapak
ftp> user ccsb
password ccsb
ftp>... (29 Replies)
Discussion started by: Mick_Dundee
29 Replies
2. Shell Programming and Scripting
hi,
is there a way i can execute a batch file containing ftp commands like we execute sftp batch file.
sftp -b batchfile user@server > output
how to create a batch file for ftp executing command and how to run the batch file from a shell script? (2 Replies)
Discussion started by: Little
2 Replies
3. Shell Programming and Scripting
HI,
Need to ftp a bunch of files in a directory in batch mode. TRying to ftp a single file first with below code.
#!/bin/ksh
function ftp_files
{
ftp -n ${D2_SRVR} <<-EOF
quote user ${D2_UID}
quote pass ${D2_PWD}
cd ${D2_DIR}/${D2_NAME}
lcd ${D1_DIR}/${D1_NAME}/dml/
put file1
... (6 Replies)
Discussion started by: cvsanthosh
6 Replies
4. Shell Programming and Scripting
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Discussion started by: goddevil
2 Replies
5. UNIX for Dummies Questions & Answers
How can I supply the userID/password when executing FTP in the batch mode? Using .netrc is not an option (prohibited per Corporate Policy).
Thank you in advance. (1 Reply)
Discussion started by: compaamat
1 Replies
6. UNIX for Advanced & Expert Users
Use of GDG files in UNIX using MBM (Mainframe Batch Manager).
Is any one working with GDG files in UNIX (AIX) using the MBM wrapper? I need some help to refer the GDG files in the scripts. (0 Replies)
Discussion started by: deeceeds
0 Replies
7. Windows & DOS: Issues & Discussions
Hi there
I want to create a batch file which Get (mget) the newly added Files only from specific directory on UNIX server to specific folder on windows server using FTP, and this batch file will be scheduled on the windows server to run daily to load the new files (load the newly added files... (1 Reply)
Discussion started by: alsharq
1 Replies
8. Windows & DOS: Issues & Discussions
Hi there
I want to create a batch file which Get (mget) the newly added Files only, from specific directory on UNIX server to local folder on windows server through FTP, and this batch file will be scheduled to run daily to load the new files.
help me plz :confused: (1 Reply)
Discussion started by: alsharq
1 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
Im trying to write a Unix FTP batch file within a program called SAS. Now i already have one for windows which works fine, but it doesnt work within unix.
I've been told that some of the commands are different from Windows to Unix, and ive looked round and am completely stumped...
... (0 Replies)
Discussion started by: shenniko
0 Replies
10. UNIX for Dummies Questions & Answers
Hello, I am a UNIX newbie and this is my first posting.
I need to create a batch command file to ftp from Sun/Solaris to AS/400.
Here is an example file:
ftp -d -i -n -v 172.28.16.22
pwd
ls
binary
quit
This is the result of executing the command file:
Connected to... (10 Replies)
Discussion started by: pietro
10 Replies