-
March 25th, 2002 07:21 AM
#1
.netrc file size error ! ! !
Hi,
I have a Korn Shell creating a dynamic .netrc file for performing a FTP job.
The .netrc is sometimes around 20K bytes. While tyring to perform the FTP it gives me the following message :
4K macro buffer exceeded
How can I solve this problem ?
Thanks
-HN
-
March 26th, 2002 03:57 AM
#2
Create .netrc:
.netrc
---
machine xxx.xxx.xxx.xxx login user password passwd
---
Create script file, for example:
script
---
#! /bin/sh
ftp xxx.xxx.xxx.xxx <<EOF 2>&1
prompt off
binary
#FTP commands go here
bye
EOF
---
Run script.
[This message has been edited by Mulder (edited 03-26-2002).]
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks