Need info regarding DeliveryRequest class.

Hi,
In my program I have used DeliveryManager and DeliveryRequest class to upload a file in server by SFTP.
My query is , will file get append to the server or it will replace the file in server.
see below for my code.
//create DeliveryManager instance for FTP
DeliveryManager dm = new DeliveryManager();
log.writeln("create delivery manager instance",1);
DeliveryRequest req = dm.createRequest(DeliveryManager.TYPE_SFTP);
log.writeln("create request",1);
req.addProperty(DeliveryPropertyDefinitions.SFTP_AUTH_TYPE,
DeliveryPropertyDefinitions.SFTP_AUTH_TYPE_PASSWORD);
req.addProperty(DeliveryPropertyDefinitions.SFTP_HOST,HostName);
req.addProperty(DeliveryPropertyDefinitions.SFTP_USERNAME,UserName);
req.addProperty(DeliveryPropertyDefinitions.SFTP_PASSWORD,Password);
req.addProperty(DeliveryPropertyDefinitions.SFTP_REMOTE_DIRECTORY,OutputDirectory);
req.addProperty(DeliveryPropertyDefinitions.SFTP_REMOTE_FILENAME,FileName);
req.setDocument(InputDirectory+FileName);
log.writeln("Submited The FTP request For FileName:"+FileName+" HostName:"+HostName+" ........",1);
DeliveryResponse dr=req.submit(); //File transfer FTP request
req.close();
log.writeln("Successfully FTPed..",1);

Why not simply try it out (with a test.txt file, not something important) and be 100% sure? Whatever anyone here tells you can be a brutal lie so you need to check for yourself what is said anyway.

Similar Messages

  • Need info regarding infotype 0017.

    Dear Experts,
    I am new to Travel Management.
    In infotype 0017, I need information regarding RGrp M/A Statutory, RGrp M/A Enterprise,EE Grp Expense Type and EE Group Travel Mgt fields.
    I verified few config documents of Travel Management but could not understood the applicability of the above fields. Please help me in this regard.
    Points could be awarded accordingly.
    Regards,
    Dolly

    Hi,
    RGrp M/A Statutory->  Identifies a reimbursement group for meals/accommodations for which the same statutory or pay scale trip provisions for meals and accommodations are valid
    A reimbursement group is a grouping of employees for whom the same trip provisions are valid. The reimbursement group is specialized by the trip expense category.
    A reimbursement group for meals/accommodations is a reimbursement group for which the same trip provisions for meals/accommodations are valid.
    The reimbursement group for meals/accommodations is specialized as to whether it is needed to represent statutory/pay scale or enterprise- specific trip provisions.
    Example
    Trip costs levels A, B, C according to German Travel Expense Statutes
    Grouping of employees according to pay scale groups
    RGrp M/A Enterprise-> Identifies a reimbursement group for meals/accommodations for which the same enterprise-specific trip provisions for meals and accommodations are valid
    A reimbursement group is a grouping of employees for whom the same trip provisions are valid. The reimbursement group is specialized by the trip expense category.
    A reimbursement group for meals/accommodations is a reimbursement group for which the same trip provisions for meals/accommodations are valid.
    The reimbursement group for meals/accommodations is specialized as to whether it is needed to represent statutory/pay scale or enterprise- specific trip provisions.
    Example
    Members of the Executive Board
    Managers
    Salaried employees
    Industrial workers
    EE Grp Expense Type -> An employee grouping for trip expense type is a classification of employees for whom these trip expense types are permissible.
    Example
    - Executive Board
    - executive employee
    EE Group Travel Mgt fields-> An employee grouping for Business Trip Management is a classification of employees designed to fulfill the purposes of Business Trip Management.
    Example
    - employee
    - mailman
    - other
    Regards,
    Pramitha.

  • Need info regarding Oracle UCM Accounts and Security Groups behaviour

    Need information regarding Oracle UCM Accounts and Security Groups behaviour.
    Oracle UCM version: 11.1.1.5.0
    Steps:
    1. Log in with "weblogic" user and created a content with id "content1"
    2. Applied "@acc1(R)" and "TestGroup1" to the cotent created in step 1
    3. Log out
    4. Log in as "acc1user1", the user is not able to see the "content1"
    5. Log out
    6. Log in as "role1user1", the user is not able to see the "content1"
    Account and Group information:
    1. User "acc1user1" is part of "@acc1(R)"
    2. User "role1user1" is part of "role1(R)" and is mapped to "TestGroup1" in UCM
    Expected:
    Both "acc1user1" and "role1user1" should be able to see "content1" as they have at least Read permission.
    Please help me understand why the users are not able to see the content.

    ACLs, like Accounts, are optional security setting which may add on some extra functionality to mandatory security groups. Likewise, the resulting permission is taken as an intersection of SG and ACLs.
    But in the second part the number of set of users is huge (approx say 600)I don't get this completely. Does this mean that those "sets of users" (users who see the same data) are distinct and that there is 600 of such groups?
    If you read thoroughly the manual I sent earlier, there is a recommendation that there should be maximum 50 security groups, and you should use accounts, should this number be exceeded. This means you could have all the documents in one security group (and have one common role with Read permission), but combine it with accounts. ACLs are not a good choice here - their performance and manageability is much worse than of accounts. ACLs are primarily used if you expect security settings to change during the lifetime (e.g. a project manager adds temporarily rights to access an item to another user, and revokes it when the user finishes his or her work).
    Note that accounts as well as permissions of users within accounts can also be mapped externally (from LDAP/AD) and it usually follows some kind of org chart.
    I'd feel more comfortable not to speak about users, security groups, roles, etc., but about some real-life objects and scenarios.

  • Need info regarding class extending AbstractSessionBean

    I have a JSF application and in one of my class �MainSessionBean extends AbstractSessionBean� and this bean is defied as session scope in the managed-bean.xml
    In this class MainSessionBean there are some methods like
    public void init() ,
    private void _init()
    public void passivate() ,
    public void destroy()
    The comment says these mathods are created automatically.
    These methods have lots of initialization code like setting data source, transaction attributes etc. And no where in my application these methods are called. When I tried to create similar java class I�m not able to create any of these methods. Is this IDE specific? How are these methods created?
    I�m using the RAD and websphere application server 6.1.

    I think you are confusing an EJB session bean with a JSF managed bean with scope of session.

  • Need info regarding HANA DB  & MaxDB/SAPDB

    Hi All,
    I have a requirement where in I need to get the following information in regard to HANA DB & MaxDB/SapDB. Kindly suggest.
    This info I need to get from ECC or similar Box. Please let me know in which SAP table we can get this info.
    Information requried
    ================
    Database version
    Schemas
    Database parameters
    Configuration files
    Data files
    Log files
    Regards,
    Mani

    > Database version
    > Schemas
    System - status
    > Database parameters
    > Configuration files
    > Data files
    > Log files
    DB50 - or DBACOCKPIT
    Markus

  • Need info regarding tasks in ThreadPool, Executor and ExecutorService

    Hi all,
    I would like to know the answers for the following questions regarding tasks:
    1.How do you create a self-starting task.(the task that starts executing as soon as we create runnable object)
    2. how do we create a task which is executed outside the runnableObject
    3. If we are executing one task in a program, how many tasks are actually running in the JVM
    4. how do we know whether a task is active or not
    5. what happens when a task in in wait but no one signals it
    6. what happens when a task does not release the lock
    7. which method is used to pause a task
    8. how do we stop and restart a task
    9. if three instances of a runnable class start executing in parallel, which one terminates first.
    I was looking for the answers for the above question in java doc and few other sites, but was of no help.
    It would be great if anyone can answer these questions. That would be lot of help.
    Thanks!!

    I see nothing in your questions relating to ThreadPool or Executors.
    Sounds like a "homework" assignment.
    First thing you need to be clearer on is what is a "task". There is no pre-defined notion of "task" in Java.
    Any introductory text of multi-threading in Java will answer those questions as they apply to threads. See the FAQ for some references.
    David Holmes

  • Variant to data: Need info regarding type of data

    Hello,
    What I want to do is very basic. I will acquire the image using CCD camera. The
    image is a raw data type: 2D array of type long (4 bytes per element) or integer (2 bytes per element). I can save the image even as .tiff file. Using Variant To Data, I am converting the image so that labview can handle it (I am not sure whether I really need this) before I write that data to some file and save it. I have to define data type for Variant To Data. I tried to define the data type. However, I am confused. Would anybody give me some suggestion?
    Thanks a lot,
    Dushyant

    Hrm, you'll need to be more specific about your actual question in order for us to give you a good answer, but, without more information, I'd say you should just define the type as a 2-d array of either longs or words. (i.e. get an array constant, place a numeric constant inside of it, right click the numeric constant, and select Representation->Long or Representation->Word then wire the constant to the Type input of the Variant to Data).
    If you're dealing with variants, I'd guess you are probably calling an ActiveX control or server to communicate with your camera?
    Regards,
    Ryan K.

  • Need info regarding light weight AP 1042 registration

    hi ,
    I ordered controller 2504 and will arive soon. I want to know that after configure the initial setup of 2504 (i.e. AP manager , Managment IPs etc) and defining the DHCP for AP. Will the 1042 lightweight AP will register with the controller automatically or i need to manually define the AP (MAC address) on WLC. and also whether the Option 43 and 60 are correctly defined?
    Management Interface: 10.10.22.15
    AP Manager Int: 10.10.22.16
    ip dhcp pool WLAN103
    network 10.10.3.0 255.255.255.0
    default-router 10.10.3.1
    option 60 ascii "Cisco AP c1040"
    option 43 hex f104.0a0a.1610
    dns-server 10.10.3.1
    ip dhcp pool WLAN103
    network 10.10.3.0 255.255.255.0
    default-router 10.10.3.1
    option 60 ascii "Cisco AP c1040"
    option 43 hex f104.0a0a.1610
    dns-server 10.10.3.1
    port-channel load-balance src-dst-ip
    interface range gig 2/38 - 41
      switchport
      channel-group 13 mode on
      no shutdown
    interface port-channel 13
      switchport
      switchport trunk encapsulation dot1q
      switchport trunk native vlan 1
      switchport trunk allowed vlan 1,122,103,113,1002 - 1005
      switchport mode trunk
      no shutdown
    Regards
    Naray

    Hi Naray,
    I just setup my wireless network with 2504 WLC and 1142 AP's. I don't have to define option 43 or 60 for DHCP i think you need to do this if you have more than one dhcp scope or if you create new scope for wireless.
    In my case i use my old dhcp scope and i just configured wlc with external dhcp and AP joined straight  away. One issue i had was AP wasn't joinging the WLC because of wronge time and date on wlc. Its prety straight forward hope it goes well for you.

  • Need info regarding disk packs

    Greetings.
    There is a need to maintain different dev/production configurations (for different
    customers or different software releases) on the same Sun system (for
    example T5120/T5220 or similar) and have the ability to switch to a
    particular configuration. I came to know that there is something
    called "disk packs" available from Sun which is cluster of disks and
    we can selectively deploy multiple OS/Configs in one of more disks
    and activate the desired configuration whenever there is a need.
    Would you be please able to provide if you have any information in
    this regard or suggest us what solution would work best for this usecase.
    Thanks
    Anand

    ACLs, like Accounts, are optional security setting which may add on some extra functionality to mandatory security groups. Likewise, the resulting permission is taken as an intersection of SG and ACLs.
    But in the second part the number of set of users is huge (approx say 600)I don't get this completely. Does this mean that those "sets of users" (users who see the same data) are distinct and that there is 600 of such groups?
    If you read thoroughly the manual I sent earlier, there is a recommendation that there should be maximum 50 security groups, and you should use accounts, should this number be exceeded. This means you could have all the documents in one security group (and have one common role with Read permission), but combine it with accounts. ACLs are not a good choice here - their performance and manageability is much worse than of accounts. ACLs are primarily used if you expect security settings to change during the lifetime (e.g. a project manager adds temporarily rights to access an item to another user, and revokes it when the user finishes his or her work).
    Note that accounts as well as permissions of users within accounts can also be mapped externally (from LDAP/AD) and it usually follows some kind of org chart.
    I'd feel more comfortable not to speak about users, security groups, roles, etc., but about some real-life objects and scenarios.

  • Need info regarding the infoobjects

    Hi All,
    My question is:
    when we display where used list for an infocube(an example), it will display the list of queries where it is been used in the system in the info-object format.(BW object list format like 4EPSFH54S2SE etc.,)
    Using this information how to find the technical name or the description of this query.
    Thanks with regards,
    Vinay

    you can use the table RSRREPDIR to get the necessary information...
    rgds, Ghuru

  • Need info regarding planning adapter for HAL

    Hi all
    We are using 9.3.1 on windows machine, I am wondering for HspJsHome.properties file where I can check the port number for RMI .
    i just want to double check the port no for RMI is registered in planning or not.
    I am unable to connect planning adapter with planning server, to my surprise i am unable to see HspJSHome.prper file in
    Hyperion\HyperionPlanning\AppServer\InstalledApps\Tomcat\5.0.28\ HyperionPlanning\webapps\HyperionPlanning\WEB-INF\classes
    we are using tomcat I am unable to see the folders from Hyperionplanning\webapps I didn't find them , after 5.0.28 i have only two bat files of start and stop planning bat files, and also I do have only one folder with name InstallableApps not InstalledApps ...in the above given path.
    Did I make any mistake in installation.
    I already created the planning applicattion and initialized the wrkforce and capex too...
    regards
    Mar

    Hi,
    Version 9.3.x does not use the HspJSHome.properties file, all this information is now stored in the relational database for the planning system.
    Cheers
    John

  • Need info regarding OCA

    Hi, All
    I am looking for first certification for OCA. I have seen the syllabus also.
    Please suggest me and provide me material, if you have.
    mail me at [email protected]
    Thanks in advance
    Arun

    Hi Arun,
    you need prepare the first 13 chapters of Oracle's Introduction to Oracle 9i: SQL pdfs..
    Regards
    Sai Krishna

  • Need info regarding calss extending AbstractSessionBean

    I have a JSF application and in one of my class �MainSessionBean extends AbstractSessionBean� and this bean is defied as session scope in the managed-bean.xml
    In this class MainSessionBean there are some methods like
    public void init() ,
    private void _init()
    public void passivate() ,
    public void destroy()
    The comment says these mathods are created automatically.
    These methods have lots of initialization code like setting data source, transaction attributes etc. And no where in my application these methods are called. When I tried to create similar java class I�m not able to create any of these methods. Is this IDE specific? How are these methods created?
    I�m using the RAD and websphere application server 6.1.

    I think you are confusing an EJB session bean with a JSF managed bean with scope of session.

  • Need Info Regarding Implementaion of Interfaces in java.sql package

    Hi All,
    I am interested in knowing details abt how the Interfaces in the java.sql package are implemented. We all work with the database using the interfaces provided ,but how do they work at the backend ? How can a Interface provide details (work ) with out an implementation class.I Is this taken care by the JVM or some of the Call level interfaces? Please do provide details abt this..

    hi Sheshadri,
    The implementation of the various interfaces in
    java.sql package are provided by your jdbc driver,
    which also manages the connection and communication of
    your java program with the appropriate database.
    cheers,
    -Jer

  • Very important and urgent - i need info regarding a function module

    hi all,
    can any one suggest me a function module which calculate the
    difference in two dates and give answer in days.
    some one suggest me the following function m odule
      CALL FUNCTION 'HR_SGPBS_YRS_MTHS_DAYS'
           EXPORTING
                beg_da     = wpv_dati
                end_da     = wpv_datf
           IMPORTING
                no_cal_day = wpv_days
    Please suggest any other function module.
    or i can use this Function module only

    Hi,
      U can use the following function  module.
    CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
      EXPORTING
        I_DATUM_BIS                   = date1
        I_DATUM_VON                 = date2
      I_KZ_EXCL_VON              = '0'
      I_KZ_INCL_BIS                 = '0'
      I_KZ_ULT_BIS                  = ' '
      I_KZ_ULT_VON                = ' '
      I_STGMETH                     = '0'
      I_SZBMETH                     = '1'
    IMPORTING
        E_TAGE                        = days
    EXCEPTIONS
      DAYS_METHOD_NOT_DEFINED       = 1
      OTHERS                        = 2
    Reward if useful.
    Regards,
    Rajesh Akarte

Maybe you are looking for

  • Unable to Center Page using CS3

    At http://www.theforrestproject.org/xindex.html I have spent many hours trying to center this page in a browser. I am satisfied that the text and horizontal navigation bar are centered about themselves but when viewed in a browser they are off-center

  • Unable to view photos in library. I already rebuilt my tumbnail caches....

    I am having the this problem: I can see the photos on the scroll in small view but when I click on a photo to make it large and view it there is a gray screen with a white dotted line around an exclamation point. I rebuilt the thumbnail cache, as som

  • Oracle BPM Suite 11.1.1.4 (Patchset 3) is available

    Oracle BPM Suite 11.1.1.4 (Patchset 3) is available at - http://www.oracle.com/technetwork/middleware/bpm/downloads/downloads-097443.html It requires WLS 10.3.4 - http://www.oracle.com/technetwork/middleware/downloads/index.html Dan Edited by: Daniel

  • Credit card from customer

    Hi my client is looking for ability to indicate for any invoice which is being paid by credit card by customer to know  that an credit card payment is in process for an invoice (but the transfer has not been completed / or applied) Guide me step wise

  • I have an iPhone 6 Plus and I can not connect to my iPad Air via bluetooth

    I have been trying to activate Instant Hotspot, and for starters I wanted to connect my iPhone 6+ to my iPad Air via bluetooth. In both devices the "Forget the Device" setting is greyed out. I figured I needed to forget device as I had an older iPhon