Announcing FTP Quote Command Deprecation

Hi Everyone,
Deprecations to FTP Commands
Oracle CM SDK provides several FTP quote commands to change system behavior via the FTP protocol.
Due to the fact that we have not found them as useful as originally planned and that they add unnecessary complexity to the FTP protocol server, we have decided to deprecate the following FTP Quote commands in this release.
- QUOTE ACL
- QUOTE NOACL
- QUOTE ADMIN
- QUOTE NOADMIN
These commands will be deleted from future releases of Oracle CM SDK.
Regards,
Simon Azriel
Principal Product Manager
Oracle Content Management SDK
Oracle

We need to FTP outbound (IBM Mainframe) and configure data block/window size before putting files. Any ideas?
Thanks
Rogerio

Similar Messages

  • FTP Quote Command

    Is possible executing a "quote" command before invoking FTP out adapter?
    Thanks
    Rogerio

    We need to FTP outbound (IBM Mainframe) and configure data block/window size before putting files. Any ideas?
    Thanks
    Rogerio

  • FTP STOR command with REST capability

    Hi folk,
    I have a cRIO on a remote field, and I need that the program running on that platform periodically uploaded, through the internet, the data files to an FTP server.
    I have used the FTP VIs included in the Internet Toolkit to develop this functionality and I am experiencing some problems.
    During the uploading of files of medium or large size, via FTP, can happen that the FTP server closes the connection.
    The reasons can be different, network operation exceeded the user-specified or system time limit, bandwidth usage is restricted or the bandwidth is limited, etc..
    To overcome this issue the correct strategy is to reopen the FTP connection and to restart the upload from the point where it was interrupted.
    It is very important to finish to upload only the remaining part of the file, and not to restart from the beginning, otherwise you could not end the upload if the FTP server closes the connection again and again.
    For implementing the resume, the FTP protocol supports a number of commands:
    SIZE <remote file-name>  Returns the size of a file (Binary mode) .
    REST <file-size>         Sets the following STOR command to restart transfer
                             from the specified point.
    STOR <remote file-name>  If anticipated from a REST command, store (upload)
                             only the part of the file starting from the
                             specified point.
    At the present, it seams to me that the LabVIEW Internet Toolkit does not support the capability of FTP resume.
    Furthermore, if during a FTP upload the connection is closed by the FTP server, the FTP [STOR].vi exits sometime with ambiguous errors.
    Exit with a correct error:
    Error 56 occurred at TCP Read in NI_InternetTK_Common_VIs.lvlib:TCP Read xTP Reply.vi:2->NI_InternetTK_FTP_VIs.lvlib:FTP Get Command Reply.vi:1->NI_InternetTK_FTP_VIs.lvlib:FTP Data Send.vi->NI_InternetTK_FTP_VIs.lvlib:FTP [STOR].vi
    Possible reason(s):
    LabVIEW:  The network operation exceeded the user-specified or system time limit.
    Exit with an ambiguous error:
    Error 54 occurred at TCP Open Connection in NI_InternetTK_FTP_VIs.lvlib:FTP Open Data Connection.vi->NI_InternetTK_FTP_VIs.lvlib:FTP Data Send.vi->NI_InternetTK_FTP_VIs.lvlib:FTP [STOR].vi
    Possible reason(s):
    LabVIEW:  The network address is ill-formed. Make sure the address is in a valid format. For TCP/IP, the address can be either a machine name or an IP address in the form xxx.xxx.xxx.xxx. If this error occurs when specifying a machine name, make sure the machine name is valid. Try to ping the machine name. Check that you have a DNS server properly configured.
    Do you have idea or suggestion of how  realize an FTP STOR command with REST capability?
    Thanks,
    Asper

    Unfortunately the best advice I could give you would be to make a copy of the FTP toolkit and add this functionality yourself. You should have most of the building blocks available to you so it should be fairly starightforward. You could reference the RFC (RFC 959 and RFC 3659 for extensions) for any specifics you need on the packet format. You will need to save some state information so you can resume your download from the correct point.
    Would it be possible to use TFTP? This is much leaner and more likely to succeed if the other ends supports it. I recently wrote a very basic TFTP Write. I'm sure I could do the TFTP Read in short order. I'm still working on packaging it up in a distributable form but I could provide you with a basic VI if needed.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • FTP Sub Command: Local Error with EasyDMS

    We have been using DMS for several years.  We have a vault setup and are able the checkin files with FTP via SAPGUI with no problems.  Recently we have been looking at EasyDMS.  We have it installed and can login ok.  When we try to drag a file into the windows explorer the popup appears and we can enter the META data.  When the file is checkin via FTP we get FTP Sub Command: Local Error.
    Any suggestions would be appreciated.

    Tom,
    We have encountered the exact same siituation with EasyDMS, we currently have had an OSS call to SAP for 2 weeks that ended up with the developers in Germany and bouncing the issue back to technical support and stating that they have no idea!
    We are also interested in an answer, sorry I can't help you, but you are not alone.

  • Mac "expect" function cannot work properly with ftp "!" command

    Lastly I have written a Expect-TCL script on Linux to automatically download log files from my company network device I have ever made used of ftp command “!” to go back to linux local to create directory with appropriate name for storing downloaded files.
    However, I found that when I use the same Expect-TCL script on my Mac, I found that the Expect script will stuck at ftp “!” command without proceeding onward. Here below is the command output with my sample experiment.
    BMBP:_Practise boyce$ expect sample-ftp.exp
    spawn ftp 127.0.0.1 21
    Connected to 127.0.0.1.
    220-Welcome to Boyce BMP FTP
    220 CrushFTP Server Ready!
    Name (127.0.0.1:boyce): boyce
    331 Username OK. Need password.
    Password:
    230 Password OK. Connected.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> binary
    200 Command ok : Binary type selected.
    ftp> verbose
    Verbose mode off.
    ftp> !
    bash-3.2$
    quit
    exit
    ^CBMBP:_Practise boyce$
    Here below is my sample script to test ftp “!” command:
    BMBP:_Practise boyce$ cat sample-ftp.exp
    #! /usr/bin/expect
    Default Settings
    set site "127.0.0.1"
    set port "21"
    set dirListFile "dir_list.txt"
    set sdUserName "boyce"
    set sdUserPwd "boyce"
    Launch a FTP session to SD
    set timeout 60
    log_user 0
    spawn ftp $site $port
    expect "Name" {send "$sdUserName\r"}
    expect "Password:" {send "$sdUserPwd\r"}
    expect "ftp>" {send "binary\r"}
    expect "ftp>" {send "verbose\r"}
    expect "ftp>" {send "!\r"}
    expect "(.*)" {send "ls\r"}
    exit
    Have you ever tried “!” command from expect script? Should it be classified as a bug on Mac Expect and do you know is there any patch available to fix such problem?

    Try posting this in the Unix Forums.

  • Implementing FTP SIZE command

    HI
    I am trying to implement the SIZE command in FTP. The RFC says that the return value of the SIZE command will depend on the current STRUCTURE , MODE and TYPE of data connection. However, it doenot say how . I have not been able to find anything on the net either. Does anyone have a working implementation of the SIZE command , taking into account all the above mentioned factors, or any idea of how the above factors affect the SIZE command return value? Any help would be highly appreciated.
    Thanks in Advance

    hi
    try getLocation() on each button. save this to file and when opening read the file applying the saved values to setLocation(...).
    try using perhaps property/value pairs for saving the values like this:
    firstbutton=0,0
    secondbutton=2,2
    then load this as a Properties object and apply the Point values
    Takis

  • Ftp location commands not working on programs

    Hi, I dont know how to explain this so I better post a screenshot. Im trying to open a remote file with bluefish to edit it in place and save changes after.
    I have tried to open with several programs with no luck, so its not bluefish specific, I have also tried aptana studio 3 and same thing. Of course those are not the real parameters for the ftp server (just in case ) they are just for ilustrative purposes.
    If I do it via dolphin, it works, konqueror also works, but whenever Im inside a different program it wont let me.
    What can I do to fix this?
    thanks in advance for the help!

    ok I am back with the solution
    For remote files, bluefish uses GVFS, so first thing you should check that you have that installed
    pacman -Ss gvfs
    that will bring you the related packages along with which ones are installed. In my case I had all the relevant ones and didnt install the bluetooth support or anything like that, just read the package descriptions and you should be fine.
    the command that will do magic for you is gvfs-mount use it as so:
    gvfs-mount ftp://yourdomain.com
    then it will ask for user and password just type them in and you are good to go (that command mounts the ftp on /hone/youruser/.gvfs)
    Then you can go into bluefish and see it on the file list and explore it to your hearts content along with edit it in place etc etc.
    you can do it with sftp also:
    gvfs-mount sftp://yourdomain.com
    If your hosting provider port number is different from the default just add it at the end of that line with a ":"
    gvfs-mount sftp://yourdomain.com:2222
    Hope it helps!

  • ASCII Mode Connection & FTP LIST command

    Hi All,
    I want to realize a simple Java FTP Client. At the beginning I tought to write a dir/file listing method, but I have no less difficulties to do it.
    As RFC says LIST is the appropriate command to be implemented.
    As I read RFC I should to open an ASCII Mode Connection but I don't know How.
    Connecting some ftp Server and sending it a "LIST" command I receive these replyes:
    331 User name okay, need password.
    230 User logged in, proceed.
    150 Opening ASCII mode data connection for /bin/ls.
    426 Data connection closed, transfer aborted.
    So, after 150 I should receive directory content, but it doesn't work. On the other side, if I want to send "HELP" command, using readLine() method I can display all reply from server.
    How can I make directory listing for my FTP Client?
    Thanks a lot...

    I prefer fireftp, but yea thats what I use to do any sort of ftp with the crio. At the time I was testing it I was able to log onto the ftp server of the crio, list directory and do get and put operations. Good to hear its working fine for you though.
    Looks like the device is having problems now (has become completely unresponsive) and is deployed 350 miles from here so we have some new problems to deal with. Maybe it was the device, I am not sure but I guess this is on hold until the device is back up.
    [will work for kudos]

  • Ip ftp username command fails

    I am trying to set up the default ftp username and password but get the following error. Can't see any reason for it and checked the manuals.
    mensa# config t
    Enter configuration commands, one per line. End with CNTL/Z.
    mensa(config)# ip ftp username cisco
    ^
    % invalid command detected at '^' marker.
    Same happens for the password
    when I check the options I have for ip
    mensa(config)# ip ?
    access-list Configure ip access list
    default-gateway Configure ip default gateway
    default-network Configure ip default network
    domain-list Add additional domain names
    domain-lookup Enable/Disable DNS
    domain-name Specify default domain name
    name-server Specify nameserver address
    route Configure static routing
    routing Enable ip routing
    tcp Enable ip tcp path-mtu-discovery
    Is there something else I have to do first ?
    Any help much appreciated
    Thanks

    Hi, this is for the MDS9120
    mensa# show version
    Cisco Storage Area Networking Operating System (SAN-OS) Software
    TAC support: http://www.cisco.com/tac
    Copyright (c) 2002-2005, Cisco Systems, Inc. All rights reserved.
    The copyrights to certain works contained herein are owned by
    other third parties and are used and distributed under license.
    Some parts of this software are covered under the GNU Public
    License. A copy of the license is available at
    http://www.gnu.org/licenses/gpl.html.
    Software
    BIOS: version 1.1.0
    loader: version 1.2(2)
    kickstart: version 2.1(2b)
    system: version 2.1(2b)
    BIOS compile time: 10/24/03
    kickstart image file is: bootflash:/m9100-s1ek9-kickstart-mz.2.1.2b.bin
    kickstart compile time: 8/30/2005 19:00:00 [09/18/2005 19:47:18]
    system image file is: bootflash:/m9100-s1ek9-mz.2.1.2b.bin
    system compile time: 8/30/2005 19:00:00 [09/18/2005 20:07:26]
    Hardware
    cisco MDS 9100 ("1/2 Gbps FC/Supervisor")
    Intel(R) Pentium(R) III CPU - with 964000 kB of memory.
    Processor Board ID JAB093400VV
    bootflash: 500736 blocks (block size 512b)
    slot0: 0 blocks (block size 512b)
    mensa kernel uptime is 48 days 21 hours 52 minute(s) 47 second(s)
    Last reset at 460859 usecs after Wed Dec 14 15:22:16 2005
    Reason: Reset Requested by CLI command reload
    System version: 2.1(2b)
    Service:
    Hope this is enough info.
    Thanks
    Gordon

  • Ftp cd command fails

    I have the following code which works with MS FTP service (IIS on XP) but fails against Unix and Maiframe FTP server implementaions.
    String ftp = "ftp://id:[email protected]/1/2/3/file.txt;type=i";
    FileInputStream fis = new FileInputStream(file);
    byte[] data = new byte[fis.available ()];
    fis.read ( data );
    fis.close();
    // ftp the file
    URL ftpUrl = new URL(ftp);
    URLConnection urlCon = ftpUrl.openConnection();
    urlCon.setDoOutput (true);
    // works fine against MS IIS 5.3 FTP Service; throws exception below on Unix SunOS 5.8 and mainframe ftp servers
    OutputStream os = urlCon.getOutputStream();
    os.write ( data );
    os.close ();
    java.io.FileNotFoundException: CWD 1: 550 1: No such file or directory.
            at sun.net.ftp.FtpClient.readReply(FtpClient.java:230)
            at sun.net.ftp.FtpClient.issueCommand(FtpClient.java:187)
            at sun.net.ftp.FtpClient.issueCommandCheck(FtpClient.java:200)
            at sun.net.ftp.FtpClient.cd(FtpClient.java:589)
            at sun.net.www.protocol.ftp.FtpURLConnection.cd(FtpURLConnection.java:243)
            at sun.net.www.protocol.ftp.FtpURLConnection.getOutputStream(FtpURLConnection.java:366)
            at com.db.cinq.purge.Cinqpj.ftpFiles(Cinqpj.java:957)
            at com.db.cinq.purge.Cinqpj.main(Cinqpj.java:119)
    /* manual ftp works fine
    H:\>ftp host.com
    Connected to host.com.
    220 host.com FTP server (Version 4.1 Mon Mar 23 10:20:45 CST 1998) ready.
    User (10.140.137.39:(none)): id
    331 Password required for id.
    Password:
    230 User id logged in.
    ftp> cd /1/2/3
    250 CWD command successful.
    ftp> ls
    200 PORT command successful.
    */Would greatly appreciate anyone's help.

    I have tried
    cd 1
    cd 2
    cd 3via XP ftp client and it is working fine. So I assume this is what Java class does after parsing FTP url.
    Could you please elaborate on your statement "Not only that, it looks as if may not be doing
    cd /1 as you might expect, and this could be a problem if your user account has a default working directory assigned by the FTP server. "
    As you pointed out, it might be something related to FTP home directory.

  • Cannot use quota command on NFS shares

    When I am logged into a host other than where the my users directories reside, the quota -v command does not display any information.
    Does the file systems need to be mounted differently? I know the mounts are definitely including the rq mount option.
    Thanks for the help,
    -Todd

    look into rquotad/rquota. it may be disabled (svcs nfs/rquota) or commented out in /etc/inetd.conf

  • Strange behavior ftp ls command

    Hi Everybody
    Here is the situation with FTP conections between diferent platforms
    FTP Server: Solaris 10
    FTP Client: Linux or Windows
    When I connect to the FTP Server and run a ls or ls -l command it does not return anything, it seems like the directory is empty, For example:
    user1@ubuntu:~$ ftp 10.2.1.11
    Connected to 10.2.1.11.
    220 tn-00 FTP server ready.
    Name (10.2.1.11:user1): billing1
    331 Password required for billing1.
    Password:
    230 User billing1 logged in. Access restrictions apply.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> ls -l
    200 PORT command successful.
    150 Opening ASCII mode data connection for /bin/ls.
    226 Transfer complete.
    ftp> ls
    ftp> ls
    200 PORT command successful.
    150 Opening ASCII mode data connection for /bin/ls.
    226 Transfer complete.
    But the directory is not empty...
    SO.. What i'm getting no output from ls or ls -l commands?
    Thanks so much for your help

    Hi! thanks for the reply!
    For Some reason the output of pwd command is "/", but the home directory for my test user is "/opt/mer/ler"
    [MMCR5-TIGO][root@mncn-00 /]>> ftp localhost
    Connected to localhost.
    220 mncn-00 FTP server ready.
    Name (localhost:mmsadmin): test
    331 Password required for test.
    Password:
    230 User test logged in. Access restrictions apply.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> pwd
    257 "/" is current directory.
    ftp> ls
    I don't know why if i connect form a Windows client or Linux clients the "ls" command does not return anything.
    Regards!

  • Ftp to sftp conversion

    Hi,
    I am using one shell script for file transfer wich is currently using ftp.
    Now I have a requirment to use sftp instead of ftp.
    Below is the script which is being used for file transfer.....
    ============================
    set -x
    #!/bin/sh
    # Command line parameters are
    # 1- File name
    # 2- Host
    # 3- User ID
    # 4- Password
    # 5-Virtual Folder
    # 6-Retry Interval
    # 7- No of Retries
    # 8- FTP result Directory
    # 9- MAIL TO ADDRESS
    #10- Ascii File Directory
    #echo $@ > /tmp/myparams.lst
    FILE=$5
    HOST=$6
    USER=$7
    PASSWD=$8
    VIRTUAL_FOLDER=$9
    RETRY_INTERVAL=10
    NUM_RETRIES=3
    FTP_RESULT_DIR=/data/tmp
    MAIL_TO_ADDR=[email protected]
    FILE_DIR=/data/tmp
    BASE=" "
    I=0
    RESULT_DIR="${FTP_RESULT_DIR}"
    LOG_DIR="${FTP_RESULT_DIR}/MY_DATA_FILE_SSS.log"
    rm MY_DATA_FILE_SSS.log
    function connect
    ftp -nv $HOST > $LOG_DIR <<END_SCRIPT
    quote USER $USER
    quote PASS $PASSWD
    lcd $FILE_DIR
    if [ $FILE="MY_DATA_FILE" ] then
    quote site recfm=fb
    quote site lrecl=111
    pwd
    put $FILE 'MY_DATA_FILE_SSS'
    fi
    quit
    END_SCRIPT
    while [ $I -lt $NUM_RETRIES ]
    do
    connect
    if grep "Transfer complete" $LOG_DIR
    then
    echo "Success"
    exit 0
    elif [ $I -lt $NUM_RETRIES ]
    then
    # echo "Error1"
    ((I=I+1))
    sleep $RETRY_INTERVAL
    else
    echo "error"     
    exit 0
    fi
    done
    SUBJECT="FTP to ${HOST} Done"
    mailx -s "${SUBJECT}" $MAIL_TO_ADDR < $LOG_DIR
    ======================================
    Can anybody help me to replace the ftp with sftp in this script?
    Thanks in Advance,
    Roopak

    It is not that difficult. The main difference is that sftp uses a different means of authentication. Thus the username and password (and ftp quote ) commands are not relevant.
    As for the sftp list of commands - very similar to ftp. I suggest that you try this conversion yourself. Will be a valuable exercise that will increase your knowledge.
    The list of commands:
    sftp> help
    Available commands:
    cd path                       Change remote directory to 'path'
    lcd path                      Change local directory to 'path'
    chgrp grp path                Change group of file 'path' to 'grp'
    chmod mode path               Change permissions of file 'path' to 'mode'
    chown own path                Change owner of file 'path' to 'own'
    df [path]                     Display statistics for current directory or
                                  filesystem containing 'path'
    help                          Display this help text
    get remote-path [local-path]  Download file
    lls [ls-options [path]]       Display local directory listing
    ln oldpath newpath            Symlink remote file
    lmkdir path                   Create local directory
    lpwd                          Print local working directory
    ls [path]                     Display remote directory listing
    lumask umask                  Set local umask to 'umask'
    mkdir path                    Create remote directory
    progress                      Toggle display of progress meter
    put local-path [remote-path]  Upload file
    pwd                           Display remote working directory
    exit                          Quit sftp
    quit                          Quit sftp
    rename oldpath newpath        Rename remote file
    rmdir path                    Remove remote directory
    rm path                       Delete remote file
    symlink oldpath newpath       Symlink remote file
    version                       Show SFTP version
    !command                      Execute 'command' in local shell
    !                             Escape to local shell
    ?                             Synonym for help

  • Mainframe Integration using File Adapter (FTP Mode):: ftp commands

    Hi,
    We are trying to integrate with Mainframe system using File Adapter. (FTP mode). We are able to write the file to Mainframe system but not able to format it properly. We had to provide FTP parameter,  <b>ftp.quote site recfm=fb lrecl=150</b>
    As per SAP Note 801926 :: XI 3.0 File Adapter: Additional Parameters, the only parameter that can be used is <b>ftp.timeout</b>. Has anyone tried out using other FTP parameters? (like ftp.quote)
    Any help is grealy appreciated.
    Regards,
    Siva Maranani

    I am looking at running some OS commands especially the QUOTE SITE FILENAME, and found this OSS note:
    https://service.sap.com/sap/support/notes/841704
    In this note it says...
    "Note that for the File Adapter transport protocol "FTP", the operating system command is NOT executed on the FTP server, but on the server hosting the Adapter Engine."

  • OS commands in FTP adapter

    Hi Experts,
    we are trying to use the OS command in the sender FTP adapter to compress the huge text files(approx 2 GB) before we pick the file to avoid the server issues.
    for which we are using the OS command,
    ssh -n -l user targetserver "cd /tagetdirectory; compress ExportFile.xml;mv ExportFile.xml.Z ExportFile.xml"
    The above is a single command supplied by the Basis team.
    the above command makes the connection to the target server with  the user ( password not required)and then compresses the file.
    I used the command in the sender FTP adapter as is.
    But the message processing made the XI server unavailable  and the process got failed due to HTTP_TRANSMISSION_ERROR
    Please suggest on the OS command, Is it a right command ? or do I need to add anything to it, to make it work.
    Please note that for the File Adapter transport protocol "FTP", the operating system command is NOT
    executed on the FTP server, but on the server hosting the Adapter Engine ( please refer to
    SAP note: 841704).
    Thanks,
    MK

    Thanks Michal,
    For "FTP" the command will be executed on the but on the server hosting the Adapter Engine, right?
    ssh -n -l user targetserver "cd /targetdirectory; compress ExportFile.xml;mv ExportFile.xml.Z ExportFile.xml"
    the command above is opening a secure channel from the XI host to the FTP host. We have a trusted relationship set up between the xiadm and ftpadm users which will allow this to occur without a password. and then it compress the file.
    Please suggest further to resolve the issue.
    I really appreciate you help.
    Thanks,
    MK

Maybe you are looking for

  • Sub vi front panel opens when main vi opens

    When I open my main vi I have one of my sub vi front panels that opens.  I looked in the properties for the sub vi and Show front panel when loaded is NOT checked. Is there something else I need to look at? Solved! Go to Solution.

  • Printers disappear in different location

    I have 3 places I use my Powerbook - home, work (at a school), other work (at a church). They all have printers and I have readded them all since installing Leopard. When I get to school, they are there, church they are there but everytime I come hom

  • After installing oracle 10g on linux im getting this error

    Hi, Can any one give me any solution on i getting an error after installing oracle 10g on linux. ERROR:- /oraeng/app/oracle/product/10.2.0/bin/clscfg: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such fi

  • MAP Toolkit inventory computers on remote domain through vpn

    Evening, Basically as the title says I need to pull inventory report using MAP toolkit from my remote domains the access of which is achieved through VPN. When I run the MAP wizard I get to the point were it asks me to specify domain (ex domainname.m

  • Editing InDesign docs in Photoshop?

    I have found the perfect editable magazine template but it's an InDesign file. Is it possible to open and edit this in Photoshop CS6. I would need to be able to drop in my own images and replace all the text without compromising the existing design,