HP3000-L Archives

April 2009, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jeff Cox <[log in to unmask]>
Reply To:
Date:
Thu, 16 Apr 2009 10:27:37 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (1 lines)
Unfortunately, my business partner requires a BINARY transfer...



-----Original Message-----

From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf Of Gary S Robillard

Sent: Thursday, April 16, 2009 10:25 AM

To: [log in to unmask]

Subject: Re: [HP3000-L] FTP question



Hi Jeff,



If it is a text file you might try an ASCII transfer instead of BINARY, I see the same thing sometimes when I use binary on text files...



Thanks,

Gary



----- Original Message -----



From: Jeff Cox 



To: [log in to unmask]



Sent: Thu, 16 Apr 2009 14:07:19 +0000 (UTC)



Subject: [HP3000-L] FTP question







I am attempting a direct FTP to a business partner from my HP3000 and am



losing the record length/line feed/carriage return in the file during



the FTP process.  Here is the scripting I am using:







!SETVAR SM2FILE ("SPT_" + '!HPyyyymmdd')







!echo EXITONERROR > FTPTEMP







!echo OPEN ipaddress >> FTPTEMP







!echo USER username password >> FTPTEMP







!ECHO BINARY >> FTPTEMP







!ECHO CD /directory1/directory2 >> FTPTEMP







!ECHO PROMPT >> FTPTEMP







!ECHO PUT !SMTFILE.MANOUT !SM2FILE.MAN>> FTPTEMP







!ECHO QUIT >> FTPTEMP







!run ftp.arpa.sys < FTPTEMP















Odd thing is that when we go from the HP to an internal Windows server



and then Windows server to business partner, we have no problem with the



record format.















Any ideas?







Jeff Cox 



Senior Manager of Enterprise Systems 



Office 678-533-2811



Cellular 770-335-3142







[log in to unmask] 











* To join/leave the list, search archives, change list settings, *



* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *







* To join/leave the list, search archives, change list settings, *

* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *


ATOM RSS1 RSS2