IBM FTP Adapter manual Tokens Replaced with

Page 18

Chapter 3 - FTP Commands

List of Commands

user An optional user name. Some schemes such as FTP allow the specification of a user name.

password An optional password. If present, it follows the user name, separated

by a colon. The user name and password are followed by an at-sign (@). Within the user and password field, any :, @, or / characters

must be encoded.

The URL does not need to be completely URL-encoded. You only need to use escape characters for tokens specifically used in an FTP URL as shown in the following table. Any FTP URL that contains spaces must be enclosed in quotes; for example:

-FIREWALLFTP://Home Machine/FTP Files

Tokens

Replaced with

% (percent)

%25

 

 

@ (at)

%40

/ (forward slash)

%2F

 

 

: (colon)

%3A

; (semicolon)

%3B

 

 

& (ampersand)

Escape not needed, use as is

# (pound)

Escape not needed, use as is

 

 

8-bit or control characters

Escape not needed, use as is

 

 

F T P A d a p t e r R e f e r e n c e G u i d e

1 8

Image 18
Contents FTP Adapter Reference Guide Document History Part Product Version Published Number Contents Troubleshooting About This Document Related ReferencesFTP Adapter OverviewSystem Requirements Access to International VANs About SocketsCommand Alias IAaliascardnum OAaliascardnumFTP Commands List of CommandsLSsorttype Account -AC or -ACCT Audit -A or -AUDITClient Certificate Password -CPASS Certificate Authority -CAClient Certificate -CERT Code Page Local -CPL Code Page Remote -CPRFirewall Connection Method URL -FW or -FIREWALL Open Site Transparent User Userfw UserfwpassAdapter Behavior when -FIREWALL Command Present Ftpuser, Pass ftppassOpen URL Syntax Userlogon or UserTokens Replaced with FTP URL -URL Ftpext-m1st-02.txt Ignore -I or -IGNORE Keep Server -KSList Option -LS Passive Mode -PV or -PASV Port Mode -PT or -PORTMake Directory -MKD Private Key Password -KPASS Private Key -PKEYQuantity -QTY Site -SITE Number of files to be retrieved by the adapterSSL Encryption Strength -STR SSL Protocol -SPROTOStage -STG or -STAGE System -SYS WIN32Trace -T or -TRACE Syntax Summary Data SourcesData Targets Using FTP Adapter Commands URL SyntaxExamples Syntax Summary URL Syntax URL Encoding Troubleshooting Adapter Audit LogAdapter Trace File Sample FTP Adapter Trace FileTroubleshooting Adapter Trace File Appendix a Return Codes and Error Messages MessagesAppendix a Return Codes and Error Messages Index Index