Removing file extension when FTP to Mainframe PDS Dataset

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
jsmithcol
500 Command not understood
Posts: 1
Joined: 2008-02-12 21:00
First name: James
Last name: Smith

Removing file extension when FTP to Mainframe PDS Dataset

#1 Post by jsmithcol » 2008-02-14 22:38

I'm trying to copy text files up to an IBM Mainframe into a PDS and I'm having a hard time getting the .txt extenstion off of the file when the file is FTP'd. Is there a way to get the extension off when you FTP the file?

BuzW
500 Command not understood
Posts: 3
Joined: 2008-05-12 16:26
First name: Buz
Last name: Williams

Re: Removing file extension when FTP to Mainframe PDS Dataset

#2 Post by BuzW » 2008-05-12 16:36

Ditto here.

I'd like a checkbox option to ignore suffixes during transfer.

Hardy
500 Command not understood
Posts: 1
Joined: 2009-10-27 21:12
First name: Hardy
Last name: Sherwood

Re: Removing file extension when FTP to Mainframe PDS Dataset

#3 Post by Hardy » 2009-10-27 21:22

Filezilla does not handle the uploading of files with extensions to a PDS. The PDS member name must be 8 characters or less and must not contain a period. Filezilla does not seem to be aware of these restrictions. The simplest solution is for Filezilla to remove the extension and truncate the name to at most eight characters.

FGH-Jon
500 Command not understood
Posts: 1
Joined: 2018-10-03 10:46
First name: Jon
Last name: Holmes

Re: Removing file extension when FTP to Mainframe PDS Dataset

#4 Post by FGH-Jon » 2018-10-05 09:16

I'm having same issue here - all these years later.
I've found it easiest to rename the file on the PC, dropping the suffix, then transfer, then rename PC version back.
This method works, but it's a pain (are you sure you want to rename this file etc).

I have seen "Drop suffix to Mainframe Server" as a check box on another FTP Client
I've also seen where you can do a right click and one of the options is "transfer as", that's useful also
e.g. If you want to send a log up to the mainframe and call it Tuesday, its simple
A rename in flight.
It must be possible, because the syntax of the raw FTP command allows it
Come on Developers

Thanks
Jon

Post Reply