FTP transfert with progressbar

Hi !
I would like to download a file from my PXI controler to my remote PC. For the moment I use the FTP MS-Dos command (with System Exec.vi) but I would like to see the progression of my file (with a progress bar for instance). Someone can give me advices about it? I would like a free solution (not a commercial Win32 API).
Thanks,

Hi,
Concerning the same issue I am addressing the "FTP-forum".
I am doing FTP datarate measurements through the command windows,logging in to the ftp server use , ,
and or . I am reading the datarate and time that the downlaod (or upload)session took in and old fashon way (cut&paste). I found several examples aslike the one that I am attaching now, but I cannot modify it to read me the string that I need i.e. :bytes received in 8.86Seconds 8316.09Kbytes/sec
Can anyone help?
Example of my session.
ftp> bin
200 Type set to I.
ftp> prompt
Interactive mode Off .
ftp> mget *
200 Type set to I.
200 PORT command successful.
150 Opening BINARY mode data connection for Half.zip(73663934 bytes).
226 Transfer complete.
ftp: 73663934 bytes received in 8.86Seconds 8316.09Kbytes/sec.
Tnaks in advance
Yariv
Attachments:
FTP_with_the_Windows_FTP_Utility.llb ‏59 KB

Similar Messages

  • How to read a ftp file with a specified file name in Proxy-XI-File scenario

    Dear all,
    I have the following requirement:
    The end user send a request via the proxy to XI, within the request parameters there is a file name, and the XI need to retrieve the file content from a ftp server with this specified file name, how can I achieve this?
    According to my understanding, the file receiver adapter can only write the files to the server.
    Thanks and regards,
    Bean

    Dear Bean,
    This can be achieved using a BPM...
    you will have to use Two parallel receive steps within a fork...
    1. 1st receive step :This will bring the data from the proxy
    2. 2nd receive step :according to pipeline step before this step would be executed interface determination would be called withini that you can put a mapping wherin the source and target message type would be as follows
    a. source message type ; the file structure that is going to be picked from ftp structure
    b.target message type : same structure as source except at top you will add "filename" field
    (you cna find on forum how we can get a fielname in the mapping ..in case you dont knw )
    3. now you can define correlation on the field "fielname" in both the receive steps provide the hirearchy and structure of data coming from both file and procy are same...
    4..  after corelation you can put any steps like transformation ( as you want)
    Hope this helps

  • How to output FTP file with Code Page 8400?

    Hi gurus,
           As we know we can use  GUI_DOWNLOAD to download fiel with specific Code Page,
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
         filename          = 'E:\TEXT.TXT'
    *      confirm_overwrite = 'X'
          codepage          = '8400' "Chinese
        CHANGING
          data_tab          = i_file
        EXCEPTIONS
         file_write_error  = 1
          OTHERS            = 24.
      IF sy-subrc EQ 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    But my question is how to output file into FTP server with specific code page 8400?
      call function 'FTP_R3_TO_SERVER'
        exporting
          handle         = p_handle
          fname          = p_filename
          character_mode = 'X'
        tables
          text           = i_file
        exceptions
          tcpip_error    = 1
          command_error  = 2
          data_error     = 3
          others         = 4.

    Thanks but it is not my anwser
    I want to output file to FTP Server with specific code page like
    GUI_DOWNLOAD

  • FTP Adapter with Runtime OS Command before Message Processing

    Hi PI Techies,
    I have a confusion in using Sender FTP Adapter with Runtime OS Command before Message Processing.
    Scenario is like this:
    Ftp Adapter has to pick a file from FTP server after it checks that a Blank Marker file exists on PI server AL11 directory say "tmp directory".
    For this I am using Runtime OS Command before Message Processing where a shell script will check the existence of Blank Marker file on PI server AL11 and if found , it exits the script and FTP Adpater will then pick the Actual Data File and Process it.
    Now Confusion:
    I am confused in technical execution of steps by FTP Adapter..
    Whether FTP Adapter polling initiates the Interface or Runtime OS command checking the File existence will initiate the Interface?
    May be its follish to you guys... but please answer ..
    Regards,
    Anurag

    Hi,
    I will take it other way as we need to process the Data File not Marker File ( its just for checking the Data File is completely written on FTP server).
    Other way mean " Will Poll for Data.txt File and if  found then Runtime OS Command will do connect to FTP and check if Marker File exists, if yes then delete the marker file and read the actual Data File for processing.
    Please let me know, if Marker File does not exists on FTP folder, will it still read the Data File or will it exit the Adapter execution?
    Your help is much appreciated.
    Regards,
    Anurag

  • ESB: inbound file and outbound ftp adapter with multiple directories

    Basically I want to scan directories and write new files ftp directories. I could figure out how to do that for one directory. However I need to scan multiple directories and ftp upload files contained in those directories to corresponding ftp directories. Number of directories and their names are only known at run time. All directories are under one parent directory, both locally and the remote ftp site. We can assume all ftp directories exist.
    I could not figure out how to this. Is this possible at all? Directory names seem to be only specified at design time, for both inbound file adapters and outbound ftp adapters.
    Pranab

    Chris, I am not really sure this is the right place to ask this question. But hopefully you might have something in your armour to help me out.
    My requirement is to configure an inbound File/FTP adapter to read from a Directory which can be known only at runtime. A webservice call returns the file name and network path of the file to be read, but that happens only during the run time. I guess one way possible is, you configure a File/FTP Adapter with a logical name for directory and set the physical directory path using the endpoint property. But in that case, I should know the Physical directory @ deployment time.
    I would like to know whether it is possible to manipulate the Endpoint property of an ESB Service (SOAP Service/Routing Service/Adapter Service) during runtime.
    So is there any way to get the enpoint property configured during runtime??? Otherwise dO you recommend some other solution for this use case???
    Any help would be appreciated.
    -Sudheer

  • FTP Issue with Host name

    Hi All,
       When i tried to send the file to other FTP server with host name i am getting below error.
      Error when getting an FTP connection from connection pool: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled 
       resource: UnknownHostException: ftp.kms.telnet.vector.com.
    But i am able to send the file successfully using IP address.
    Can anyone pls suggest if any additional settings needs to be done in file adapter.
    Or any other setting needs to be taken care.
    Please advise.
    Thannks,
    Swetha

    Hi,
    Basis people are not aware of adding in host file, for that reason i am asking input here.
    My XI ssytem runs on OS level i.e on AS400.
    Basis team tried to reach host file by mapping into server, but they are unable to find host file. Do i need to ask OS level expert to add entry in host file.
    For my knowledge, can you pleae give me the path of host file at OS level if you have any idea.
    Please advise
    Thanks,
    Swetha

  • FTP upload with Flex 3

    Is it possible to upload a partiular file, in this case a
    users answer file, to an FTP site with out any interaction from the
    user. For example, when they are done the test, upload the answer
    file to an FTP site (without using cold fusion or asp or
    .net)?

    I have downloaded the coded and converted it to work with
    Flex 3 (changed it to WindowedApplication, and updated the
    FlexFTP-app.xml file). When i run it, I get the following:
    220 jpl Microsoft FTP Service (Version 5.0).
    USER jhughes
    331 Password required for jhughes.
    PASS *****
    230 User jhughes logged in.
    PASV
    227 Entering Passive Mode (66,109,241,93,12,42).
    LIST
    125 Data connection already open; Transfer starting.
    226 Transfer complete.
    TYPE I
    200 Type set to I.
    PASV
    227 Entering Passive Mode (66,109,241,93,12,43).
    STOR //test.txt
    550 /test.txt: Access is denied.
    It allows me to connect when I have the correct password but
    it will not allow me to upload or download files. Any ideas?

  • A Jrame with progressbar that is setVisible() in a n otherThread

    This title may seem a bit weird, but I really don't know how to explain it.
    My problem is this:
    For a (huge :p) project for school we need to read csv( Comma separated value) and put them in a database. Because this can take a while on remote servers I wanted to make Jframe with progressbar that is updated with each function that is done. But for some reason he doesn't show this Jframe UNTILL everything is read. It's like he doesn't use the Thread at all.
    I have to say I allready have 1 thread running for checking the database connection (+ the threads that swing uses), I don't know if this causes any problems:
    Here's the code
    The thread class
    * CsvCheckDoneThread.java
    * Created on 2 juni 2007, 18:12
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package Data;
    import View.CsvProgress;
    * @author Welles
    public class CsvCheckDoneThread implements Runnable {
        CsvProgress progress=new CsvProgress();
        /** Creates a new instance of CsvCheckDoneThread */
        public CsvCheckDoneThread(){
        public void run() {
            progress.setVisible(true);
        public void stopthread(){
            progress.dispose();
        public void setValue(int value){
            progress.setValue(value);
    }the Jframe with the progressbar
    * CsvProgress.java
    * Created on 2 juni 2007, 18:35
    package View;
    import javax.swing.*;
    import java.awt.*;
    * @author  Welles
    public class CsvProgress extends JFrame {
        /** Creates new form CsvProgress */
        public CsvProgress() {
            initComponents();
            //centerscreen();
            this.prgbar.setValue(0);
        private void centerscreen(){
            Dimension dim = getToolkit().getScreenSize();
            Rectangle abounds = getBounds();
            setLocation((dim.width - abounds.width) / 2,(dim.height - abounds.height) / 2);
        public void setValue(int value){
            this.prgbar.setValue(this.prgbar.getValue()+value);
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">                         
        private void initComponents() {
            jPanel1 = new javax.swing.JPanel();
            prgbar = new javax.swing.JProgressBar();
            jLabel1 = new javax.swing.JLabel();
            jPanel2 = new javax.swing.JPanel();
            jLabel2 = new javax.swing.JLabel();
            setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
            setAlwaysOnTop(true);
            setBackground(new java.awt.Color(214, 205, 244));
            setResizable(false);
            prgbar.setStringPainted(true);
            jLabel1.setFont(new java.awt.Font("Calibri", 0, 14));
            jLabel1.setForeground(new java.awt.Color(0, 0, 153));
            jLabel1.setText("<html>De csv's worden geladen.<br><p align=\"center\">Even geduld aub</p></html>");
            jPanel2.setBackground(new java.awt.Color(67, 67, 201));
            jLabel2.setFont(new java.awt.Font("Calibri", 0, 48));
            jLabel2.setForeground(new java.awt.Color(255, 255, 255));
            jLabel2.setText("<html>D<br>C<br>I</html>");
            javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
            jPanel2.setLayout(jPanel2Layout);
            jPanel2Layout.setHorizontalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel2Layout.createSequentialGroup()
                    .addGap(29, 29, 29)
                    .addComponent(jLabel2)
                    .addContainerGap(37, Short.MAX_VALUE))
            jPanel2Layout.setVerticalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel2Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 179, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(23, Short.MAX_VALUE))
            javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                    .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel1Layout.createSequentialGroup()
                            .addGap(27, 27, 27)
                            .addComponent(prgbar, javax.swing.GroupLayout.PREFERRED_SIZE, 242, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(jPanel1Layout.createSequentialGroup()
                            .addGap(80, 80, 80)
                            .addComponent(jLabel1)))
                    .addGap(34, 34, 34))
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                    .addContainerGap(65, Short.MAX_VALUE)
                    .addComponent(jLabel1)
                    .addGap(18, 18, 18)
                    .addComponent(prgbar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(77, 77, 77))
                .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            pack();
        }// </editor-fold>                       
         * @param args the command line arguments
        // Variables declaration - do not modify                    
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        private javax.swing.JProgressBar prgbar;
        // End of variables declaration                  
    }The class where I run the Thread
    public void InitializeCsv(String path) throws SQLException, IOException{
            csvcheckclass=new CsvCheckDoneThread();
            Thread cvsth = new Thread(csvcheckclass);
            try{
                cvsth.start();
                Csv c= new Csv(game, wedstrijd, speeldag, speler, team, club, reeks, bc,csvcheckclass);
                c.LeesCsv(path);
                kalender k= new kalender(14,wedstrijd,team, club, bc);
                k.create(); 
                csvcheckclass.stopthread();
            } catch (SQLException e){
                csvcheckclass.stopthread();
                throw new SQLException();
        }Some words will probably be unreadable by you guys (unless you understand dutch/flemisch), but I hope you get the picture on what I like to do :).
    If you could tell me what I'm doing wrong it would be a gigantic help for me (this is the last thing that I need to do).
    grtz!

    The most likely answer is that your CVS code is actually running in the AWTEventQueue thread. The fact that you call setVisible in another thread really does nothing, since it is the AWTEventQueue thread that actually controls the painting of the object. I am really surprised that having it in another thread actually does something different than not. Try printing out the name of the thread from the CSV code and see if I'm right, maybe we can work from there.

  • ACE FTP inspect with port range

    Hi everyone,
    I have a problem with passive FTP with fixed port range.
    I configured a ftp server with a fixed port range of 60000 - 60500 for the data channel.
    And the ace is configured with "inspect ftp" on policy of ftp-serverfarm.
    A tcpdump on server I can see that the server uses the portrange in response packet.
    (x,x,x,x,34,195) = 60099
    But on client I can see that the port on packet is change to another port. The ace is between server and client.
    On CCO I found a document "http://www.ciscosystems.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA1_7_/command/reference/policy.html#wp1006925" ->> Enables FTP inspection. The ACE inspects FTP packets, translates the address and the port that are embedded in the payload, and opens up a secondary channel for data.
    I don't understand why the ace change the port in ftp payload.
    Is it possible to  create the same port range on ace configuration of connectio to client?
    Thanks
    René

    You don't need inspect ftp with one server because you can avoid it.
    You can for example configure a loopback on the server with the vip address and configure the serverfarm as transparent on ACE.
    Then for the data channel, since your range of ports is quite small, you can catch it with a class-map and simply forward to the server.
    Like this, the server will use the vip address in all packets exchange with the cleint (no need to nat the payload) and when the client opens a data connection, the traffic is matched with the class-map and the connection can be forwarded to the server using the same transparent serverfarm.
    Less chance to run into compatibility issue.
    Better performance since we can switch traffic with inspecting its content.
    Gilles.

  • Ftp/networking with uverse

    So back in June I had an issue with my ftp not being able to reach servers while on my home att uverse network. Archived here: http://discussions.apple.com/thread.jspa?threadID=2048726&tstart=180
    After several weeks of restarting the att wireless router/modem and creating new networks, it finally worked. Now I'm back to where I started, unable to connect to ftp serves, with the exact same issues. The created network is the exact same.
    Also the apple software update server is inaccessible for the same reasons.
    Edit: All other network issues work fine, i.e. internet, email, etc.
    Any clues as to why this problem occurs with uverse? Solutions? Purely an issue with uverse?
    Message was edited by: John Littrell

    Well, I did not attempt to utilize this potential solution because everything is working again. So for three days, I couldn't connect to software update or my ftp servers, and now, without changing any settings, it's working fine.
    I'm inclined to agree that it's an issue with Uverse in general. Which is a shame, because there bundled packages and the actual service has been outstanding, barring this issue. As a whole, much better than my experiences with Time Warner.

  • FTP Server with WEB FTP function

    Hi,
    which is the best solution for a FTP Server with WEB FTP Service?
    kind regards
    Piero

    No, I am not running this solution at a corporate level; I'm just using this one for home use by maybe a dozen people. At any rate, I looked around for several and this one seemed to work best for me. Here's some others I checked into. I did use PFPFileNavigator before I found AjaXplorer. I went with AjaXplorer because I liked the interface better and it has LDAP support.
    PHPfileNavigator
    http://pfn.sourceforge.net/
    Relay
    http://ecosmear.com/relay/
    Mollify --- Probably the most "Mac looking" one
    http://www.mollify.org/
    QuiXplorer
    http://quixplorer.sourceforge.net/
    eXtplorer
    http://extplorer.sourceforge.net/
    Rumpus
    http://www.maxum.com/Rumpus/HomePage.html
    BarracudaDrive Web Server
    http://barracudaserver.com/products/BarracudaDrive/
    I hope this gives you some ideas. I spent about a week Googling, installing, and testing before settling on AjaXplorer. I tried PHPFileNavigator (but didn't have LDAP support, other than that I liked it), Rumpus (didn't like this as it is commercial, and, uses it's own built-in web server), Relay (not enough features), and Mollify (again, no LDAP support).
    Best regards,

  • FTP directory with AIR?

    How do you read an FTP directory with AIR?

    I found this worked for me:
    http://suzhiyam.wordpress.com/tag/as3-ftp/

  • FTP Directories with leading space report as empty

    FTP Directories with leading space in the name report "550/No such file/directories" when clicked-on. Works fine in IE and Chrome.
    == URL of affected sites ==
    ftp://index.storsys.ibm.com/tivoli-storage-management/

    See [/forum/1/609513]
    That is a problem with some IBM servers.
    [https://bugzilla.mozilla.org/show_bug.cgi?id=543805 Bug 543805] – FTP list parse error when list returns twice space between date and file name
    A workaround is this bookmarklet:
    <code>javascript:(function() } alert(j);})();</code>

  • Can't connect to ftp servers with Passive Mode

    Hello,
    I can't connect to ftp servers with Passive Mode.
    I have Linksys WRT54GL.
    Msg i have:
    [R] 200 PORT Command successful.
    [R] LIST -al
    [R] 150 Opening ASCII mode data connection for /bin/ls.
    [R] 426 Data connection closed, transfer aborted.
    [R] List Error
    and:
    [R] 200 Type set to A.
    [R] MODE Z
    [R] 200 MODE Z ok.
    [R] PASV
    [R] 227 Entering Passive Mode (*,*,114,11,8,147)
    [R] Opening data connection IP: *.*.114.11 PORT: 2195
    [R] Data Socket Error: Connection timed out
    [R] List Error
    Thanks for the help !

    Maybe you need to do Port Forwarding on your router...Check for the Port Numbers for your FTP Server...

  • Will Fire FTP work with Firefox 6

    Simoly that!
    Will Fire FTP work with Firefox 6

    https://addons.mozilla.org/en-US/firefox/addon/fireftp/
    Version 1.99.4 May 16, 2011 329.7 KB
    Firefox 4.0b1 - 7.*
    There is also a newer version at
    https://addons.mozilla.org/en-US/firefox/addon/fireftp/versions/
    Version 1.99.'''5''' August 14, 2011 330.8 KB
    Firefox 4.0b1 - 6.*

Maybe you are looking for