IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to transfer file password protected thru FTP


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chetanambi

New User


Joined: 21 Jan 2012
Posts: 58
Location: India

PostPosted: Thu Apr 30, 2015 10:05 am
Reply with quote

Hi

I have a dataset in mainframe and want to send this file with password protected to a server. Let's say if file name on server is 'abcd.csv' and this file in the server should be password protected. I did searched on net and here in this group. But could not get it. Is it possible do this? Any pointers will be helppful.

Thanks a lot in advance.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Apr 30, 2015 10:27 am
Reply with quote

You could ZIP the dataset with a password and then FTP it. You will have to tell the receiving end which password to use.
Back to top
View user's profile Send private message
chetanambi

New User


Joined: 21 Jan 2012
Posts: 58
Location: India

PostPosted: Thu Apr 30, 2015 10:42 am
Reply with quote

Hi Peter, Thanks a lot for quick reply.

So will the 'abcd.csv' file on server will be password protected? bear with me if I sound naive. Want to clarify.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 30, 2015 5:55 pm
Reply with quote

Data set protection on a mainframe uses the security package (such as RACF, TOP SECRET, ACF2) to define protected resources and who can access the protected resources. In wanting to password protect a file on another system, you need to break the problem into multiple parts:
1. Transfer the mainframe data set to the other system
2. Add password protection to the file on the other system

You cannot have data set protection on the mainframe and transfer that protection to another system (unless it is a z/OS system and shares the security package database). Other platforms do not have the same security packages as the mainframe.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Apr 30, 2015 8:47 pm
Reply with quote

Quote:

Data set protection on a mainframe uses the security package (such as RACF, TOP SECRET, ACF2) to define protected resources and who can access the protected resources.


I didn't read that in the PKZIP manual.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 30, 2015 11:01 pm
Reply with quote

I think the question comes down to whether or not the mainframe data set is already protected, or if the TS merely wants the copied file on the remote server to be password protected.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri May 01, 2015 11:23 am
Reply with quote

Quote:
and want to send this file with password protected to a server


That is quite clear to me.

PKZIP uses its own platform-wide encryption/decryption algorithms.
Back to top
View user's profile Send private message
chetanambi

New User


Joined: 21 Jan 2012
Posts: 58
Location: India

PostPosted: Fri May 08, 2015 11:26 am
Reply with quote

I want to password protect the file before sending to server. Is it possible without using any packages like PKZIP etc.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri May 08, 2015 11:58 am
Reply with quote

What do you mean by "password protect the file before sending to server"?

What server do you have that supports file-level passwords anyway?

You should be able to restrict access to a single user on a server. Why wouldn't that be good enough?

If you are somehow prevented from doing that, how about encrypting the file?

Otherwise you need a package that runs in both environments and supports passwords. Like PKZIP.
Back to top
View user's profile Send private message
shub2204

New User


Joined: 13 May 2020
Posts: 19
Location: India

PostPosted: Fri Aug 14, 2020 10:06 pm
Reply with quote

You can protect the file if you are using ZIP390 to do the ZIP
You have to give PASSWORD PARAMETER and when your file is opened in another system it will ask for that password
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top