TunaAdmiral
MIS
Hi folks!
I'm rather confused about an intermittent problem I've been having using .netrc files for automated FTPs. The format I use is as follows:
machine ftp.machine.com login username password mypassword
macdef init
put localfilename remotefilename
bye
This would seem to be pretty straight forward, and I've had good success using the same formula in the past. However, I keep running into the same problem when I first create a new .netrc process.
In the ftplog of the process, I see the following error:
Macro definition missing null line terminator.
As I have already stated, I have experienced this problem in the past. Each time, the problem has seemed to correct itself (I try the new process a few days later, for example, and it works!). If I did something to correct it, I sure as heck would like to know what it was!
Any ideas, so that you might help me prevent any future forehead-to-keyboard collisions?
Thanks in advance!
Mikeymac
I'm rather confused about an intermittent problem I've been having using .netrc files for automated FTPs. The format I use is as follows:
machine ftp.machine.com login username password mypassword
macdef init
put localfilename remotefilename
bye
This would seem to be pretty straight forward, and I've had good success using the same formula in the past. However, I keep running into the same problem when I first create a new .netrc process.
In the ftplog of the process, I see the following error:
Macro definition missing null line terminator.
As I have already stated, I have experienced this problem in the past. Each time, the problem has seemed to correct itself (I try the new process a few days later, for example, and it works!). If I did something to correct it, I sure as heck would like to know what it was!
Any ideas, so that you might help me prevent any future forehead-to-keyboard collisions?
Thanks in advance!
Mikeymac