Click to See Complete Forum and Search --> : FTP Problems


padillah
11-21-2000, 03:54 PM
I am trying to FTP a file from a web server to the mainframe, and the resulting file winds up as 80 positions (truncated from a much longer length). Is there a default of 80 when you FTP to the mainframe that needs to be changed?
The code I am using is:

locsite trailingblanks
GET dealerunload.txt 'fdchp09.cs0132dy.dealer.trans'
QUIT

Any help is appreciated, thanks!
PS if you could email your response to jkerr1@ford.com that would be very very nice of you! Otherwise I will check back here..

pbharris
11-21-2000, 04:25 PM
before you enter enything enter bi to make sure the trnasfer mode is binary. then get the file as usual. i think that is your problem anyway....

also, i don't know if you want the tick marks on there, try getting one file at a time

[This message has been edited by pbharris (edited 21 November 2000).]

tkendr01
11-06-2002, 12:12 PM
I work on the mainframe every day.
How are you performing the transfer:
a. download from server to PC, then upload to mainframe
b. executing FTP on the mainframe either as a batch job or in foreground

The suggestion of using binary transfer will only avoid translation between collating sequences - ASCII-to-EBCDIC in this case. I doubt that it will affect your record lengths.

IBM FTP has a SITE command which can be used to modify the attributes of the receiving dataset, as well as provide space allocation information.