Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
FTP PUT file with REPLACE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1566
Location: Andromeda Galaxy

PostPosted: Mon Aug 10, 2015 10:43 pm    Post subject: FTP PUT file with REPLACE
Reply with quote

Hi all,

I am looking for a SYNTAX for PUT file with REPLACE option

So I wanted to know if it is possible to PUT a file with REPLACE and the destination file doesn't exist. Will it fail or will it pass ?

If someone can get me the link to the manual it will help.

Thanks


I searched here but I could not get the syntax
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Tue Aug 11, 2015 12:14 am    Post subject: Reply to: FTP PUT file with REPLACE
Reply with quote

There is no "put" with the "replace" option.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Tue Aug 11, 2015 6:20 am    Post subject:
Reply with quote

The IP User's Guide and Commands manual is located in the Communications Server bookshelf and it explains the FTP subcommands in detail. On the PUT command, one of the manual statements is
Quote:
If the remote host already has a file with the name specified by foreign_file, the remote host overwrites the existing file. If the remote host does not have a file with the same name specified by foreign_file, the remote host creates a new file.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Tue Aug 11, 2015 2:45 pm    Post subject: Reply to: FTP PUT file with REPLACE
Reply with quote

The "permissions" for the file and directory on the target system (which has files and directories) will come into it. If that gives a conflict, there would be no possibility to "force" a change anyway.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1566
Location: Andromeda Galaxy

PostPosted: Fri Aug 14, 2015 9:19 pm    Post subject:
Reply with quote

Thanks all .. Explanation helped
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Picking up the latest PS file pema_yozer JCL & VSAM 6 Thu Oct 11, 2018 12:26 pm
No new posts Process only last key record in a fil... Naveen.katkuri24 DFSORT/ICETOOL 8 Tue Oct 09, 2018 9:39 am
No new posts ISPF 3.4 edit of a ps file, disp use... Carrie Da Silva TSO/ISPF 3 Fri Sep 21, 2018 3:01 am
No new posts ICETOOL - Finding keys within a file nartcr DFSORT/ICETOOL 10 Mon Sep 17, 2018 6:39 am
No new posts Replace comp-3 field value to comp-3 ... dharmaraok DFSORT/ICETOOL 5 Fri Sep 14, 2018 3:46 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us