[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Complete FTP session from a CL program



Sender: "Buck Calabro" <Buck.Calabro@xxxxxxxxxxxx>

Apologies to all for a late response.  I was somehow unsubscribed from the list and couldn't see your replies.  Our Moderator fixed it up for me.  Thanks Scott!

>1) How are errors handled? 

Errors are thrown to the job log as an escape message.  It's up to the calling CL program to deal with the situation.

>2) How does it determine things like 
>   binary vs. ascii mode?   

Parameters on the command:

FTPCMD DIRECTION(*SND)                             
       HOSTNAME(HOSTNAME.ORGANISATION.TLD)         
       USERNAME(username)                          
       PASSWORD()                                  
       LOCAL('/dir/dir/dir/dir/local.file.name')   
       REMOTE('/dir/dir/dir/remote.file.name') 
       NAMEFMT(*PATH)                              
       PORT(*DFT)                                  
       PASSIVE(*NO)                                
       BINARY(*NO)                                 

>3) Where does logging of session go?

To the job log.

It's a first cut right now.  How do I go about posting it?  Inline text?
  --buck
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------