[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: FTP From SQR
UNIX:
Create a script like this:
ftp -v -i -n [remote server] <<EOF
user [username] [userpassword]
cd /directory
put [filename]
EOF
if you are running on NT, you need to create two files:
In your main batch file, you should have a line like:
ftp -n -i -s:f:\DATA\[filename] [remote server]
The file called [filename] should contain:
user [username] [password]
cd /[remote directory]
lcd /[local directory]
get [some file]
put [some file]
bye
the file [filename] should not have a .bat extension.
You can call the script/batch from the sqr using call system.
Gracen Duffield
Texas Department of Housing and Community Affairs
475-3839
-----Original Message-----
From: David Ward [mailto:wardd@UWWVAX.UWW.EDU]
Sent: Friday, July 09, 1999 9:02 AM
To: Multiple recipients of list SQR-USERS
Subject: FTP From SQR
Hello, everyone.
I've been sitting back quietly reading all the information posted on this
list for the last few months, and have really been impressed with the
technical knowledge of the members. I have an issue I'm trying to develop
a solution for.....
Has anyone ever fired off an FTP process from within an SQR, or created an
external program to do an FTP on the client, which is then called from an
SQR?
Thank you.
David Ward
Technology & Information Resources
UW-Whitewater
800 W. Main St.
Whitewater, WI 53190
E-mail: wardd@uwwvax.uww.edu
Voice: 414-472-1039
Fax: 414-472-5733