Post a File to a web server using HTTP_POST

Hello,
I have to generate a program to post a file ".TXT" to a web server using a HTTP POST with multipart form and a couple of variables (user, password).
I was investigating and I found that I can do it using SAPHTTP but I dont know how to work with the FM HTTP_POST.
Does anyone have a sample code?
Thanks
Ariel

sample usage:
  CALL FUNCTION 'HTTP_POST'
    EXPORTING
      ABSOLUTE_URI                = IM_OFX_CONTROL_DATA-ADDRESS
      REQUEST_ENTITY_BODY_LENGTH  = RESPONSE_ENTITY_BODY_LENGTH
      RFC_DESTINATION             = IM_OFX_CONTROL_DATA-HTTP_RFCDEST
      USER                        = IM_OFX_CONTROL_DATA-HTTP_USER
      PASSWORD                    = IM_OFX_CONTROL_DATA-HTTP_PASSWORD
      BLANKSTOCRLF                = 'X'
    IMPORTING
      STATUS_CODE                 = STATUS
      STATUS_TEXT                 = STATUS_TEXT
      RESPONSE_ENTITY_BODY_LENGTH = RLENGTH
    TABLES
      REQUEST_ENTITY_BODY         = LT_REQUEST
      RESPONSE_ENTITY_BODY        = RESPONSE
      RESPONSE_HEADERS            = LT_RESPONSE_HEADERS
      REQUEST_HEADERS             = LT_HTTP_HEADERS
   EXCEPTIONS
        OTHERS                      = 1.
Refer the programs:
LFPIFF02            
LOFXALSU04          
LPRGN_URL_RESPONSEU01
LSBCCU01            
LSFTPU09            
for some idea.
regards,
ravi

Similar Messages

  • Uploading a file to the web server

    How can i upload a file to the web server using JSP.

    hello sir,
    Could U even tell me performance which one is better.
    U have mentioned that Multipartrequest is Complex for Beginers,
    but as far as performance is concerned which is better.
    If Taglib is used is it error Free , as I do not know much abt taglib.
    have just read a little abt it , have never created my own Custome Tag.
    Could U just Guide me which is the best site where I could get know a little abt Taglib.An easy tutorial where I could read and start working on My application.
    I have been given a Deadline. So Please help me man.
    If U have the source Code for Uploading of a File Please Cut Paste it.
    I have to finish the project on time .
    Please
    With Regards
    Eklavya

  • How to Download a file from web server using servlets

    how do we download a file from Java Web Server connecting to oracle database
    it should start as soon a i click a button in my html browser
    please reply as it is needed to complete my project to submited to the collage

    With SQLJ you can do it.
    When you look at:
    http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/basic/basic.htm
    or
    http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.htm
    There are samples for reading LONGRAW / BLOB from Database. If you want use it in servlet you have to pass the result to the responce object, set the correct mime-type and set the response.setContentLength( xx). This is for some PlugIns nessessary (pdf).
    regards Dietmar

  • Deploying war files on iplanet web server 6.0

    Hello All,
    I tried to deploy an war file on iplanet web server 6.0 using both command line wdeploy and iplanet webserver browser based admin tool. Both the times it did say successfully deployed. I checked the WEB-INF files and it does contain all class files..But the problem is when I try to post a form to one of the class files the error log says as if it cannot find the class file.(I tried the sample app HelloWorld supplied by vendor)
    =========
    05/Mar/2002:13:19:14] config (13777): for host xx.xx.xx.xx trying to POST /samples/helloworld/GreeterServlet, handle-processed reports: The request method is not applicable to this requested resource.
    =================
    any help in this regards is appreciated
    Thanks
    sudhir

    Hello,
    I got few steps to deploy the WAR file, if you followed the same steps and got the error then ignore this else try with this steps.
    a) Set your environment variable IWS_SERVER_HOME to your server_root directory.
    b) Add the server_root/bin/https/httpsadmin/bin directory to your classpath.
    c) Configure your virtual server for web applications.
    From the Server Manager page, select the VirtualServerClass tab, select a Class, and click the Manage button.
    Select a Virtual Server and go to the Java Web Apps Settings page for that virtual server. Make sure that the virtual server has Web Apps State turned On, and web-apps.xml is the name of Web Apps File.
    To extract the sample WAR file HelloWorld.war in server_root/plugins/servlets/examples/web-apps/HelloWorld, use the wdeploy command as follows:
    wdeploy deploy -u /hello -i server.iplanet.com -v testvs -d
    /iws60/https-server.mydomain.com/testvs/web-apps/hello
    /iws60/plugins/servlets/examples/web-apps/HelloWorld/HelloWorld.war
    The syntax for the command is as follows:
    wdeploy deploy -u uri_path -i instance -v vs_id [-d directory] war_file
    uri_path Specify the URI prefix (a path to access the web application from the browser).
    instance Specify the server instance name. (Note: Do not include "https" in the front.)
    vs_id Specify the Virtual Server name as it appears on the Manage Virtual Servers page.
    directory Specify a directory to extract WAR files. If this directory doesn't exist already, it will be created for you now.
    war_file Specify the name of the WAR file.
    If the WAR file is extracted successfully, the message "web application deploy successful" appears at the command line.
    For verification, go to the /iws60/https-server.iplanet.com/testvs/web-apps/hello directory. It should have the following contents:
    colors
    index.jsp
    META-INF
    WEB-INF/
    web.xml
    /classes/
    HelloWorldServlet.class
    HelloWorldServlet.java
    SnoopServlet.class
    SnoopServlet.java
    In the server_instance/config directory, the web-apps.xml file should have the following entry:
    <vs>
    <web-app uri="/hello"
    dir="/iws60/https-server.iplanet.com/testvs/web-apps/hello"/>
    </vs>
    Restart the server instance from the command line or go to the admin GUI and apply configuration changes to the server instance.
    Now when you access the webserver instance in your browser, the Error log of that server instance will record successful initialization of the web application environment(web-apps.xml) for the virtual server(vs name). You can access the web application from a browser as follows:
    http://server.Mydomain.com:80/hello/index.jsp
    or:
    http://server.Mydomain.com/hello/
    The syntax is as follows:
    http://vs_urlhost[:vs_port]/uri_path/[index_page]
    Thanks
    Selva

  • I want to cache all files in my web server for JRE auto installation

    Hi,
    I have written an application for my customer. When they access my web server, they will auto-install jre 6.12 and then load my application using jnlp. All that is done, but i want to improve in the following ways:
    1. I want to have more quiet installation of java. It should only show progress bar or just run in background. In the jre installation file (cab file), there is a file jinstall-6u12.inf, the last line is "run=%EXTRACT_DIR%\jinstall.exe /installurl=http://localhost/1.6.0_12-b04.xml /installmethod=plugin". What should I add to this line to make the installation more quiet?
    2. When my client install jre, i want them to fetch all necessary files from my web server, so when java web site is down, i can still provide files they need to install java. I am aiming jre 6.12 only.
    Thank you in advance.
    William

    Open Macintosh HD > Applications > Utilitiies > AirPort Utility
    Click on the Time Capsule icon
    In AirPort Utility 6.x.....click Edit to the right of the Time Capsule
    In AirPort Utility 5.x.....click Manual Setup
    Click the Disks icon/tab at the top of the next window
    Click Erase
    The "Quick Erase" option will only take a few minutes, but it is not a secure Erase.
    The "Zero Out" option will replace everything on the disk with zeros, and will likely take 4-6 hours for the process to complete, depending on the size of the drive.
    The erase procedure will only affect the disk. It will not affect any of the network settings, passwords, etc that you have stored on the Time Capsule.

  • File Based Multithreaded Web Server Question

    Hi friends,
    I have the code of a simple File Based Multithreaded Web Server. I have been asked to add proper http/1.1 Keep-Alive behavior to it. As far as I understand it means to use the same socket for the request coming from the same client without opening a new socket for every request by it. I am unable to implement it. Any help would be greatly appreciated. The entire code is as below:
    package multithreadedwebserver.com;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    /** This Class declares the general and HTTP constants
    * and defines general static methods:
    class Constants {
    /** 2XX: generally "OK" */
    public static final int HTTP_OK = 200;
    public static final int HTTP_CREATED = 201;
    public static final int HTTP_ACCEPTED = 202;
    public static final int HTTP_NOT_AUTHORITATIVE = 203;
    public static final int HTTP_NO_CONTENT = 204;
    public static final int HTTP_RESET = 205;
    public static final int HTTP_PARTIAL = 206;
    /** 3XX: relocation/redirect */
    public static final int HTTP_MULT_CHOICE = 300;
    public static final int HTTP_MOVED_PERM = 301;
    public static final int HTTP_MOVED_TEMP = 302;
    public static final int HTTP_SEE_OTHER = 303;
    public static final int HTTP_NOT_MODIFIED = 304;
    public static final int HTTP_USE_PROXY = 305;
    /** 4XX: client error */
    public static final int HTTP_BAD_REQUEST = 400;
    public static final int HTTP_UNAUTHORIZED = 401;
    public static final int HTTP_PAYMENT_REQUIRED = 402;
    public static final int HTTP_FORBIDDEN = 403;
    public static final int HTTP_NOT_FOUND = 404;
    public static final int HTTP_BAD_METHOD = 405;
    public static final int HTTP_NOT_ACCEPTABLE = 406;
    public static final int HTTP_PROXY_AUTH = 407;
    public static final int HTTP_CLIENT_TIMEOUT = 408;
    public static final int HTTP_CONFLICT = 409;
    public static final int HTTP_GONE = 410;
    public static final int HTTP_LENGTH_REQUIRED = 411;
    public static final int HTTP_PRECON_FAILED = 412;
    public static final int HTTP_ENTITY_TOO_LARGE = 413;
    public static final int HTTP_REQ_TOO_LONG = 414;
    public static final int HTTP_UNSUPPORTED_TYPE = 415;
    /** 5XX: server error */
    public static final int HTTP_SERVER_ERROR = 500;
    public static final int HTTP_INTERNAL_ERROR = 501;
    public static final int HTTP_BAD_GATEWAY = 502;
    public static final int HTTP_UNAVAILABLE = 503;
    public static final int HTTP_GATEWAY_TIMEOUT = 504;
    public static final int HTTP_VERSION = 505;
    /* the Web server's virtual root directory */
    public static File root;
    static PrintStream log = null;
    /* Configuration information of the Web server is present
    * in this props object
    protected static Properties props = new Properties();
    /* timeout on client connections */
    static int timeout = 0;
    /* maximum number of worker threads */
    static int workerThreads = 5;
    /* General method for printing strings */
    static void printString(String s) {
    System.out.println(s);
    /* print logs to the log file */
    static void log(String s) {
    synchronized (log) {
    log.println(s);
    log.flush();
    /* print to the log file */
    static void printProperties() { 
    printString("\n");
    printString("#####################################################################");
    printString("\n");
    printString("Web server's virtual root directory= "+root);
    printString("Timeout on client connections in milliseconds= "+timeout);
    printString("Number of Worker Threads= "+workerThreads);
    printString("\n");
    printString("#####################################################################");
    printString("\n\n");
    printString("********************WEBSERVER STARTED SUCCESSFULLY********************\n");
    /* load server.properties from java.home */
    static void loadServerConfigurationProperties() throws IOException {
    File f = new File(System.getProperty("java.home")+"\\lib\\"+"server.properties");
    if (f.exists()) {
    InputStream is =new BufferedInputStream(new FileInputStream(f));
    props.load(is);
    is.close();
    String r = props.getProperty("root");
    if (r != null) {
    root = new File(r);
    if (!root.exists()) {
    throw new Error(root + " Server Root Directory does not exist");
    r = props.getProperty("timeout");
    if (r != null) {
    timeout = Integer.parseInt(r);
    r = props.getProperty("workerThreads");
    if (r != null) {
    workerThreads = Integer.parseInt(r);
    r = props.getProperty("log");
    if (r != null) {
    log = new PrintStream(new BufferedOutputStream(
    new FileOutputStream(r)));
    /* Assign default values to root, timeout,
    * workerThreads and log if the same have
    * not been specified in the server.propwerties file
    if (root == null) {   
    root = new File(System.getProperty("user.dir"));
    if (timeout <= 1000) {
    timeout = 5000;
    if (workerThreads > 25) {
    printString("\n");
    printString("#####################################################################");
    printString("\n");
    printString("Too many Threads!!!Maximum number of Worker Threads can be 15 only");
    printString("\n");
    printString("#####################################################################");
    workerThreads = 15;
    if (log == null) {
    log = System.out;
    public class WebServer extends Constants {
    /* Specifying Default port for listening the requests */
    static int port = 8080;
    /* The Vector class implements a growable array of objects.
    * Like an array, it contains components that can be accessed using an integer index.
    * The size of a Vector can grow or shrink as needed to accommodate adding and
    * removing items after the Vector has been created.
    * The workerThreads are added to the Vector object threads where the worker threads stand idle
    * Vector is used since it is synchronized
    static Vector threads = new Vector();
    public static void main(String[] userSpecifiedPort) throws Exception {
    if (userSpecifiedPort.length > 0) {
    port = Integer.parseInt(userSpecifiedPort[0]);
    loadServerConfigurationProperties();
    printProperties();
    /* Instantiate ThreadPoool class and call
    * the createThreadPool() method on threadPool object
    ThreadPool threadPool= new ThreadPool();
    threadPool.createThreadPool();
    /* This class implements java.lang.Runnable.
    * It runs in a worker thread to process the request and serve files to the clients.
    class Worker extends WebServer implements Runnable {
    static final byte[] EOL = {(byte)'\r', (byte)'\n' };
    final static int BUFFER_SIZE = 2048;
    /* A byte array buffer to read and write files.
    * Memory is allocated to it once in the construtor of the class Worker
    * and reused thereafter
    byte[] buffer;
    /* Socket for the client being handled */
    private Socket socket;
    Worker() {
    buffer = new byte[BUFFER_SIZE];
    socket = null;
    synchronized void setSocket(Socket socket) {
    this.socket = socket;
    notify();
    public synchronized void run() {
    do {
    if (socket == null) {
    /* Wait */
    try {
    wait();
    } catch (InterruptedException e) {
    continue;
    try {
    handleClientRequest();
    } catch (Exception e) {
    e.printStackTrace();
    socket = null;
    Vector pool = WebServer.threads;
    synchronized (pool) {
    /* When the request is complete add the worker thread back
    * into the pool
    pool.addElement(this);
    }while(true);
    void handleClientRequest() throws IOException {
    InputStream is = new BufferedInputStream(socket.getInputStream());
    PrintStream ps = new PrintStream(socket.getOutputStream());
    /* we will only block in read for this many milliseconds
    * before we fail with java.io.InterruptedIOException,
    * at which point we will abandon the connection.
    socket.setSoTimeout(WebServer.timeout);
    socket.setTcpNoDelay(true);
    /* Refresh the buffer from last time */
    for (int i = 0; i < BUFFER_SIZE; i++) {
    buffer[i] = 0;
    try {
    /* We will only support HTTP GET/HEAD */
    int readBuffer = 0, r = 0;
    boolean endOfLine=false;
    while (readBuffer < BUFFER_SIZE) {
    r = is.read(buffer, readBuffer, BUFFER_SIZE - readBuffer);
    if (r == -1) {
    /* EOF */
    return;
    int i = readBuffer;
    readBuffer += r;
    for (; i < readBuffer; i++) {
    if (buffer[i] == (byte)'\n' || buffer[i] == (byte)'\r') {
    /* read one line */
    endOfLine=true;
    break;
    if (endOfLine)
    break;
    /*Checking for a GET or a HEAD */
    boolean doingGet;
    /* beginning of file name */
    int index;
    if (buffer[0] == (byte)'G' &&
    buffer[1] == (byte)'E' &&
    buffer[2] == (byte)'T' &&
    buffer[3] == (byte)' ') {
    doingGet = true;
    index = 4;
    } else if (buffer[0] == (byte)'H' &&
    buffer[1] == (byte)'E' &&
    buffer[2] == (byte)'A' &&
    buffer[3] == (byte)'D' &&
    buffer[4] == (byte)' ') {
    doingGet = false;
    index = 5;
    } else {
    /* This method is not supported */
    ps.print("HTTP/1.0 " + HTTP_BAD_METHOD +
    " unsupported method type: ");
    ps.write(buffer, 0, 5);
    ps.write(EOL);
    ps.flush();
    socket.close();
    return;
    int i = 0;
    /* find the file name, from:
    * GET /ATG/DAS6.3.0/J2EE-AppClients/index.html HTTP/1.0
    * extract "/ATG/DAS6.3.0/J2EE-AppClients/index.html "
    for (i = index; i < readBuffer; i++) {
    if (buffer[i] == (byte)' ') {
    break;
    String filename = (new String(buffer, 0, index,
    i-index)).replace('/', File.separatorChar);
    if (filename.startsWith(File.separator)) {
    filename = filename.substring(1);
    File targ = new File(WebServer.root, filename);
    if (targ.isDirectory()) {
    File ind = new File(targ, "index.html");
    if (ind.exists()) {
    targ = ind;
    boolean fileFound = printHeaders(targ, ps);
    if (doingGet) {
    if (fileFound) {
    sendResponseFile(targ, ps);
    } else {
    fileNotFound(targ, ps);
    } finally {  
    // socket.close();
    System.out.println("Connection Close nahi kiya");
    boolean printHeaders(File targ, PrintStream ps) throws IOException {
    boolean ret = false;
    int responseStatusCode = 0;
    if (!targ.exists()) {
    responseStatusCode = HTTP_NOT_FOUND;
    ps.print("HTTP/1.0 " + HTTP_NOT_FOUND + " not found");
    ps.write(EOL);
    ret = false;
    } else {
    responseStatusCode = HTTP_OK;
    ps.print("HTTP/1.0 " + HTTP_OK+" OK");
    ps.write(EOL);
    ret = true;
    log("From " socket.getInetAddress().getHostAddress()": GET " +
    targ.getAbsolutePath()+"-->"+responseStatusCode);
    ps.print("Server: Simple java");
    ps.write(EOL);
    ps.print("Date: " + (new Date()));
    ps.write(EOL);
    if (ret) {
    if (!targ.isDirectory()) {
    ps.print("Content-length: "+targ.length());
    ps.write(EOL);
    ps.print("Last Modified: " + (new
    Date(targ.lastModified())));
    ps.write(EOL);
    String name = targ.getName();
    int ind = name.lastIndexOf('.');
    String ct = null;
    if (ind > 0) {
    ct = (String) map.get(name.substring(ind));
    if (ct == null) {
    ct = "unknown/unknown";
    ps.print("Content-type: " + ct);
    ps.write(EOL);
    } else {
    ps.print("Content-type: text/html");
    ps.write(EOL);
    return ret;
    void fileNotFound(File targ, PrintStream ps) throws IOException {
    ps.write(EOL);
    ps.write(EOL);
    ps.println("The requested file could not be found.\n");
    void sendResponseFile(File targ, PrintStream ps) throws IOException {
    InputStream is = null;
    ps.write(EOL);
    if (targ.isDirectory()) { ;
    listDirectory(targ, ps);
    return;
    } else {
    is = new FileInputStream(targ.getAbsolutePath());
    try {
    int n;
    while ((n = is.read(buffer)) > 0) {
    ps.write(buffer, 0, n);
    } finally {
    is.close();
    /* mapping file extensions to content-types */
    static java.util.Hashtable map = new java.util.Hashtable();
    void listDirectory(File dir, PrintStream ps) throws IOException {
    ps.println("<TITLE>Multithreaded Webserver</TITLE><P>");
    ps.println("<html><body align=center>");
    ps.println("<center><h3><font color=#9999CC>Simple File Based MultiThreaded WebServer</font></h3></center>");
    ps.println("<table border=1 align=center>");
    ps.println("<tr bgcolor=#9999CC><td width=100% height=100% align=center><h3>Directory Listing</h3></td>");
    ps.println("<td width=40% height=40% align=center><h3>Type</h3></td>");
    String[] list = dir.list();
    for (int i = 0; list != null && i < list.length; i++) {
    File f = new File(dir, list);
    if (f.isDirectory()) {
    ps.println("<tr><td>");
    ps.println("<font size=\""+"2"+"\"face=\""+"Verdana"+"\"> <A HREF=\""+list[i]+"/\">"+list[i]+"</A></font><a href=\""+list[i]+"/\"></a>\n<BR></td>");
    ps.println("<td align=center><a href=\""+list[i]+"/\"><img src=\""+"/images/folder.jpg"+"\"></img></a>");
    ps.println("</td");
    ps.println("</tr>");
    } else {
    ps.println("<tr><td>");
    ps.println("<font size=\""+"2"+"\" face=\""+"Verdana"+"\"></A> <A HREF=\""+list[i]+"\">"+list[i]+"</A></font><A HREF=\""+list[i]+"\"></A>\n<BR></td>");
    ps.println("<td align=center><a href=\""+list[i]+"/\"><img src=\""+"/images/file.gif"+"\"></img></a>");
    ps.println("</tr>");
    ps.println("</table>");
    ps.println("<P><HR><I><font color=blue>"+(new Date())+"</font></I>");
    ps.println("<I><font color=blue>Copyright to HCL Technology Ltd</font></I>");
    ps.println("<I><font color=blue>Author Vivek Kumar Sinha</font></I>");
    ps.println("</body></html>");
    The ThreadPool class contains a Vector of WorkerThread objects.
    These objects are the individual threads that make up the pool.
    The WorkerThread objects will start at the time of their construction.
    If there are more HTTP requests than there are WorkerThreads,
    the extra requests will backlog until WorkerThreads free up.
    class ThreadPool extends WebServer{
    void createThreadPool(){
    for (int i = 1; i <= workerThreads; ++i) {
    Worker w = new Worker();
    Thread t=new Thread(w, "Worker Thread No."+i);
    t.start();
    /* Uncomment to check the number of worker threads running */
    // printString("Worker Thread No."+i+" Started");
    threads.addElement(w);
    try{
    ServerSocket serversocket = new ServerSocket(port);
    do {
    Socket socket = serversocket.accept();
    Worker w = null;
    synchronized (threads) {
    if (threads.isEmpty()) {
    /* Do nothing */
    } else {
    w = (Worker) threads.elementAt(0);
    threads.removeElementAt(0);
    w.setSocket(socket);
    } while (true);
    } catch (IOException e) {
    e.printStackTrace();

    Thank you for Welcoming me!!! I am very new to this forum so din't have this idea.
    I am unable to add the keep alive behavior . I don't have problem with any part of the code. The problem is i don't know how to make that enhancement in the existing code.
    Regards

  • Transmitting and Receiving an audio file in a web server

    Hello all,
    How do I transmit an audio file from a Web Server as requested by a web based thin client (jsp)?
    Rgds,
    Seetesh

    If I were to use the programs : Transmitter and Receiver
    Transmitter
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/RTPTransmit.html
    Receiver
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/AVReceive.html
    Can the same be writen as either a Servlet or JSP so that the same can be executed on a Web Server?
    Any workaround on the code to make it run.
    Rgds,
    Seetesh

  • Deploying an ear file in Sun Web Server

    I have an ear file that we use to deploy to weblogic. Is it possible to deploy an ear file to Sun WEb Server 6.0? Instead of deploying the war files one-by-one?
    If yes, what are the steps?
    Thanks.
    Beth

    No, Sun ONE Web Server does not support ear files; ear files are typically the domain of J2EE application servers.

  • Captivate Files Loaded on Web Server

    I have loaded a captivate file (along with all its dependent files) onto a web server in order to link it to our Plateau LMS.  I had no problem with the link, but a narration that is supposed to start later in the file begins when the main Captivate page is opened.  I am not the creator of the Captivate file and have never worked with the program.  Is there something that needs to be done to the file to keep it from doing this?

    Are you using Aggregator? Or is is a very long project? I've noticed Aggregator projects often want to jump into the audio while the presentation is still loading. The easiest fix for that is via Edit --> Preferences. Select Start and End in the Project group, uncheck Auto Play, and, as a touch of class, add a graphic to be displayed until the user presses the play button (which will be in the middle of the presentation when it loads).

  • Browse Files on a Web Server

    Hello,
    How could I start writing an applet for viewing files on my web server? I looked around the forum and on the net but couldn't find anything very helpful. Any resources or links are also much welcome.
    Thanks,
    LD

    Thanks for your reply Andy,
    All I want to do now is have something user friendly so that they could browse a tree folder and download some files on my web server. I don't really know if I should stick with Java or opt out and go try using JavaScript or other scripts - what's your view on this?
    I wrote some code in Java that creates a folder tree, starting from the folder where the applet is placed. Then I would have a table showing all the files etc...In my IDE it works fine but on the server it either doesn't show anything or complains about security issues (I tried different methods).
    (My web server is just a common commercial web server. When there's no index.html on a particular folder on the server and I locate it in my web browser, it does show a listing of all that is in there.)
    Here's my code:
    Thanks for your help,
    LD
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.io.File;
    import java.io.FileFilter;
    import javax.swing.JOptionPane;
    import javax.swing.JScrollPane;
    import javax.swing.JTree;
    import javax.swing.UIManager;
    import javax.swing.tree.DefaultMutableTreeNode;
    public class WebServerFileBrowser extends Applet
        private JTree dirTree;
        private JScrollPane treeSPane;
        String root;
        /** Initializes the applet WebServerFileBrowser */
        public void init()
            try {
                java.awt.EventQueue.invokeAndWait(new Runnable()
                    public void run()
                        // Set applet's look and feel as the system's
                        try {
                            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                        } catch (Exception ex) {
                            ex.printStackTrace();
                        //End of settings    
                        initComponents();
            } catch (Exception ex) {
                ex.printStackTrace();
        private void populateDirTree()
    //        System.out.println(getCodeBase());
    //        root = "D:\\TestDir";       
            try {
                // Getting the root directory which is the directory where the applet is located
                File rootDir = new File (".");
                root = rootDir.getCanonicalPath();
                File topDir = new File(root); // The top/root directory
                DefaultMutableTreeNode treeTop = new DefaultMutableTreeNode(new Folder(topDir)); // The top node of the directory tree
                growDirTreeNodes(treeTop, topDir);
                dirTree = new JTree(treeTop); // After the directory tree nodes are fully grown, add them into the directory tree
            } catch (Exception ex) {
                ex.printStackTrace();
            JOptionPane.showMessageDialog(this, root);
        // Implementing the concept of recurrence, the directory tree is grown top down
        private void growDirTreeNodes(DefaultMutableTreeNode node, File dir)
            File[] dirs = getDirList(dir);
            for (int i = 0; i < dirs.length; i++) {
                node.add(new DefaultMutableTreeNode(new Folder(dirs)));
    growDirTreeNodes(((DefaultMutableTreeNode) node.getChildAt(i)), dirs[i]);
    // This method is used to return an array of child directories that are in a parent directory
    private File[] getDirList(File dir)
    File[] dirs = dir.listFiles(new FileFilter()
    public boolean accept(File file)
    return file.isDirectory();
    return dirs;
    private void initComponents()
    setLayout(new BorderLayout());
    populateDirTree();
    treeSPane = new JScrollPane(dirTree);
    add(treeSPane);
    * This sub class represents a folder which is equivalent to a directory
    * Main reason for this class' existence is to override the toString() method
    * so that when added into the dirTree, the nodes show the name of the folder
    * and not the full path of that directory
    class Folder
    private String name;
    private File dir;
    public Folder(File dir)
    this.dir = dir;
    name = dir.getName();
    public String getName()
    return name;
    public File getDir()
    return dir;
    public String toString()
    return name;

  • Problem uploading Muse-exported files on my Web server

    I'm using the FTP client Transmit for years and I'm very pleased with it.
    I use also Muse from the first preview and I always use the "Export to HTML" feature, and place the files on my remotely-hosted Web servers (NetSol).
    When I upload all kind of files (HTML, CSS, .ZIP, videos,…), everything works fine.
    Since yesterday, when I upload files generated by Muse, Transmit stalls and is unable to save the file on the Web server. I receive all kind of transfer errors.
    Something must have happened recently.
    I use the latest Muse CC2014 version and the latest Transmit version.
    I called NetSol support and they said they change nothing on their Web servers recently. They point out that all my non-Muse files upload correctly.
    The big problem is that I can't update my websites anymore.
    How to share here the exported Muse folder?
    Thank you.

    Switched to FileZilla
    Here's the current log and it is failing all the time.
    NetSol told me they have restarted the server and checked for authorisations, and they say it should work as it works for other files.
    Status:      Connection established, waiting for welcome message...
    Response: 230 Login successful.
    Command: SYST
    Response: 215 UNIX Type: L8
    Command: FEAT
    Response: 211-Features:
    Response:  EPRT
    Response:  EPSV
    Response:  MDTM
    Response:  PASV
    Response:  REST STREAM
    Response:  SIZE
    Response:  TVFS
    Response:  UTF8
    Response: 211 End
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Retrieving directory listing...
    Command: PWD
    Response: 257 "/"
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,122,127)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Status:      Directory listing successful
    Status:      Retrieving directory listing...
    Command: CWD /htdocs
    Response: 250 Directory successfully changed.
    Command: PWD
    Response: 257 "/htdocs"
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,123,133)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Status:      Directory listing successful
    Status:      Retrieving directory listing...
    Command: CWD /htdocs/indesign
    Response: 250 Directory successfully changed.
    Command: PWD
    Response: 257 "/htdocs/indesign"
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,124,119)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Status:      Directory listing successful
    Status:      Retrieving directory listing...
    Command: CWD /htdocs/indesign/digitalpublishing
    Response: 250 Directory successfully changed.
    Command: PWD
    Response: 257 "/htdocs/indesign/digitalpublishing"
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,125,9)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Status:      Directory listing successful
    Status:      Retrieving directory listing...
    Command: CWD /htdocs/indesign/digitalpublishing/twixl
    Response: 250 Directory successfully changed.
    Command: PWD
    Response: 257 "/htdocs/indesign/digitalpublishing/twixl"
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,125,96)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Status:      Directory listing successful
    Status:      Retrieving directory listing...
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Command: PWD
    Response: 257 "/htdocs/indesign/digitalpublishing/twixl/twixlfacts"
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,125,186)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Status:      Calculating timezone offset of server...
    Command: MDTM sitemap.xml
    Response: 213 20140918164807
    Status:      Timezone offsets: Server: 0 seconds. Local: 7200 seconds. Difference: 7200 seconds.
    Status:      Directory listing successful
    Status:      Retrieving directory listing...
    Command: CDUP
    Response: 250 Directory successfully changed.
    Command: PWD
    Response: 257 "/htdocs/indesign/digitalpublishing/twixl"
    Status:      Directory listing successful
    Status:      Retrieving directory listing...
    Command: CWD twixlfacts
    Response: 250 Directory successfully changed.
    Command: PWD
    Response: 257 "/htdocs/indesign/digitalpublishing/twixl/twixlfacts"
    Status:      Directory listing successful
    Command: DELE sitemap.xml
    Response: 250 Delete operation successful.
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/css/site_global.css
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/css/index.css
    Response: 250 Directory successfully changed.
    Command: TYPE A
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 250 Directory successfully changed.
    Command: TYPE A
    Response: 227 Entering Passive Mode (206,188,192,135,130,87)
    Command: STOR site_global.css
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,130,92)
    Command: STOR index.css
    Response: 150 Ok to send data.
    Response: 150 Ok to send data.
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connection established, waiting for welcome message...
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/css/site_global.css
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 250 Directory successfully changed.
    Status:      Retrieving directory listing...
    Command: TYPE I
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/css/index.css
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 250 Directory successfully changed.
    Status:      Retrieving directory listing...
    Response: 227 Entering Passive Mode (206,188,192,135,133,227)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Command: TYPE A
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,135,193)
    Command: STOR site_global.css
    Response: 227 Entering Passive Mode (206,188,192,135,135,195)
    Command: STOR index.css
    Response: 150 Ok to send data.
    Response: 150 Ok to send data.
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/css/site_global.css
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Status:      Retrieving directory listing...
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,139,52)
    Command: LIST
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 150 Here comes the directory listing.
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 226 Directory send OK.
    Command: TYPE A
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 227 Entering Passive Mode (206,188,192,135,139,81)
    Command: STOR site_global.css
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/css/index.css
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,139,110)
    Command: STOR index.css
    Response: 150 Ok to send data.
    Response: 150 Ok to send data.
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/index.html
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,143,173)
    Command: STOR index.html
    Response: 150 Ok to send data.
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/muse_manifest.xml
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,143,241)
    Command: STOR muse_manifest.xml
    Response: 150 Ok to send data.
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/index.html
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Status:      Retrieving directory listing...
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,146,182)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,146,224)
    Command: STOR index.html
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/muse_manifest.xml
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Status:      Retrieving directory listing...
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,147,43)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,147,77)
    Command: STOR muse_manifest.xml
    Response: 150 Ok to send data.
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/muse_manifest.xml
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Status:      Retrieving directory listing...
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,152,8)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,152,60)
    Command: STOR muse_manifest.xml
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/index.html
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Status:      Retrieving directory listing...
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,153,212)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,153,253)
    Command: STOR index.html
    Response: 150 Ok to send data.
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/sitemap.xml
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,156,194)
    Command: STOR sitemap.xml
    Response: 150 Ok to send data.
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/css/index.css
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts/css
    Response: 550 Failed to change directory.
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Command: MKD css
    Response: 257 "/htdocs/indesign/digitalpublishing/twixl/twixlfacts/css" created
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts/css
    Response: 250 Directory successfully changed.
    Command: PWD
    Response: 257 "/htdocs/indesign/digitalpublishing/twixl/twixlfacts/css"
    Status:      Retrieving directory listing...
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,158,202)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,158,252)
    Command: STOR index.css
    Response: 150 Ok to send data.
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/sitemap.xml
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Status:      Retrieving directory listing...
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,161,149)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,161,186)
    Command: STOR sitemap.xml
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/css/index.css
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts/css
    Response: 250 Directory successfully changed.
    Status:      Retrieving directory listing...
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,163,215)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,164,8)
    Command: STOR index.css
    Response: 150 Ok to send data.
    Error:        Connection timed out
    Error:        File transfer failed
    Status:      Resolving address of XXXXXXX.netsolhost.com
    Status:      Connecting to XXX.XXX.XXX.XXX:21...
    Status:      Connection established, waiting for welcome message...
    Response: 220 (vsFTPd 2.3.4)
    Command: USER ftpXXXXXXX
    Response: 331 Please specify the password.
    Command: PASS ********
    Response: 230 Login successful.
    Command: OPTS UTF8 ON
    Response: 200 Always in UTF8 mode.
    Status:      Connected
    Status:      Starting upload of /Users/blackmountainprod01/Documents/Google Drive/eCampus.pro/cours/Twixl Publisher/Twixl Facts!/export/sitemap.xml
    Command: CWD /htdocs/indesign/digitalpublishing/twixl/twixlfacts
    Response: 250 Directory successfully changed.
    Status:      Retrieving directory listing...
    Command: TYPE I
    Response: 200 Switching to Binary mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,166,69)
    Command: LIST
    Response: 150 Here comes the directory listing.
    Response: 226 Directory send OK.
    Command: TYPE A
    Response: 200 Switching to ASCII mode.
    Command: PASV
    Response: 227 Entering Passive Mode (206,188,192,135,166,96)
    Command: STOR sitemap.xml

  • Web Dynpro application calling external web server using HTTPS giving error

    Hello,
    I don't know whether this is the right question in this forum but my ABAP web-dynpro applicaiton is expected to call another HTTP application on external web server through HTTPS. Presently it is calling through plain HTTP but we want to have HTTPS.
    Here are the steps that we followed based on the link from help.sap.com
    1] Received the certificate files from external web server
    2] Created SSL Anonymous client
    3] Imported the certificate files under this client and added into the certificate list
    4] Re-started ICM
    5] Created RFC Destination of type HTTP to connect to external server with SSL option and basic authentication. This RFC destination was working under plain HTTP.
    When tried with Test connection it gave error "ICM_HTTP_CONNECTION_FAILED".
    Any idea what might be missing. Thanks in advance.
    Regards
    Rajeev

    Used proper certificate after which the error went away

  • Cant do a file get from external server using file sender adapter with ftp

    Hi all,
    Up until now our company has only used the file sender adapter with ftp protocol to get a file from our XI server for processing and input the file into an integration process
    I have a requirement to do an ftp file get from an external server
    From our XI development server I can ftp directly to the external server and view the required directory using the command window via a DOS prompt (FTP open ...).  So all firewall issues and communications are fine
    Unfortunately I cannot currently pull files from the external server using the XI file adapter with ftp protocol from the XI development server AWB017
    FTP Connection Parameters: External server name using port 21, Data Connection is Passive, No security, I supply a userid and password
    Processing Parameters: Processing Mode is Archive (I tried test but this did not work either)
    No messages appear in the RWB
    Is there something else that I need to set up in order for the external ftp get to work via the XI file adapter?
    Regards,
    Mike

    Thanks for your responses.
    I have found the error messages in the File Adapter Monitor
    Scenario 1
    When I prefix the source directory with a forward slash, eg <b>/Folder/Subfolder</b> the error message is as follows
    <b>EST: Error: Error connecting to ftp server 'ip address': FTPEx: /Folder/Subfolder: The system cannot find the path specified</b>
    Scenario 2
    When I DO NOT prefix the source directory with a forward slash, eg <b>Folder/Subfolder</b> a different error message is returned
    <b>Error: Retrieving file 'FILENAME.XML' failed unexpectedly: FTPEx: Folder/Subfolder: The system cannot find the path specified</b>
    At least in this scenario the adapter has been able to identify the file on the external FTP site but cannot retrieve it
    Questions
    I thought that the backslash prefix for the source directory was mandatory but I am receiving an error in each scenario
    I receive the same error message whether the Processing Mode is 'Archive' or 'Test'
    The logs on the external ftp server seem to indicate that I am simply connecting, sending username and password then quiting straight away. I am not issuing any commands that they can see
    I thought that being a Sender adapter it would inherently execute a Pull or Get command
    To recap, from our XI development server I can ftp directly to the external server and view the required directory using the command window via a DOS prompt (FTP open ...). So all firewall issues, communications, userid and password are fine
    Has anyone experienced these issues?
    Please advise on next course of action?
    Regards,
    Mike

  • Running a batch file on  a web server

    hi,
    i am facing a problem regarding running a batch file(with a java command in that file) on a web server.
    i am having a batch file which is running a chatapplication (this file is having a single line -- "java ChatServer 8080")
    i want to execute this command ( file ) on my web server
    can u help me plz ( i think u can)
    thanx 4 reading my problem...
    -ashish

    thanx 4 replying
    but as i am a developer and i am developing the aplication for a client, so should i speak to the client for this or can i do this without interrupting them?
    -ashish

  • Can data be passed to an external web server using the "in-course web browsing" feature in ver. 7?

    Can data be passed to an external web server using the "in-course web browsing" feature in ver. 7? I would like to display a simple web page, and I would like to pass to that web page the answers to all the quiz questions, quiz score, etc. In other words, instead of passing quiz results to a SCORM-compliant LMS like Moodle, I'd like to pass that data to a Drupal Webform using a URL like:
    https://www.example.com/my-drupal-webform?param1=value1&param2=value2...&paramn=valuen
    Is this possible?
    Thanks,
    John

    You have to make sure every step in MOS Document ID 726414.1 that is applicable to your E-Business Suite 12.1.x release is performed. Enabling ASADMIN is just one of the steps. In spite of following all the steps in this Document you continue to get the error when clicking "Generate WSDL", please log a Service Request with Oracle Support.I will check all steps again. Maybe I missed one... Thanks!

Maybe you are looking for

  • Bluetooth on a nokia

    I am trying to develop an app that uses bluetooth for my nokia 6102i phone, but I am having trouble figuring out whether or not that is even possible. The reason I doubt the possibility of this is that my phone is not on the list of devices that have

  • Userexit for F-47

    hI, pLEASE any one tell me userexit or badi for f-47 (payment request) . I already find it by userexit program can any one have idea how put validation through spro. Regards, Gurprit

  • Should I Install Firmware Version 1.30.02 On My Vision:

    I've had my ZVM for a couple of months now and was wondering what most of you would advise people to do about updating their firmware. I mainly use my ZVM for music and have had no problems with it so far. I'm always a little leery of installing new

  • Need to install the flash player?

    I downloaded the flash player, so it said. But on facebook it still won't ;lay the videos. Says i need to download the flash player. I downloaded it twice. I can't find it on my computer either. I need help please.

  • Missing font in book file

    I've been getting this missing font message when I open a book file: The "Arial Black" Font is not available.   "Arial Black Heavy" will be used in this session. Why are there font references in the book file (see .mif excerpt below)? Why am I gettin