How to execute FTP server put command!

Hi,
i am uploading a flatfile into the application server using FTP !
for that i had logged into the respective application server in CMD prompt and
enter the following statement  ( OS : WINDOWS XP )
PUT  filepath\filename
But i am not able to upload the file.
is it correct ? or am i missing something?
Thanks,
Ravi

Hai Ravi,
   Follow these steps for setting up FTP on Windows XP
For any Windows workstation to be able to accept FTP connections, an FTP server must be installed and active.
<b>Windows 2000 and XP</b>
Setting up an FTP server in Windows XP Professional or in Windows 2000 involves the installation of Internet Information Services (IIS). This suite of Windows components handles all the functions formerly handled by NT's Peer Web Services. IIS, and consequently FTP server capability, is not included in Windows XP Home Edition.
Note: IIS is known to have serious security flaws and has been targeted by several computer viruses, including Code Red and Nimda. If you install IIS on your computer, UITS strongly advises that you also install any security update patches available from Microsoft. The appropriate patches for Windows 2000 are available at the following URL:
http://www.microsoft.com/windows2000/downloads/critical/q300972/default.asp
Microsoft claims that Windows XP already blocks the viruses in question, but you should check frequently for any updates that may be released. See the following site for IIS updates:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/iis/Default.asp
<b>Installing IIS</b>
For Windows XP Professional systems running in the default Start menu configuration, click Start, then Control Panel, then Add or Remove Programs. In Windows 2000 (or in XP if it is set to classic Start menu view), click Start, then Settings, then Control Panel, then double-click Add/Remove Programs.
Note: In Windows XP, the default desktop view and Start menu are quite different than they are in the Windows Classic View (e.g., in Windows 2000). Therefore, navigating to certain items may be different in XP; for example, the path from the Start menu to the Control Panel in the default XP view is simply Start, then Control Panel, whereas in the Classic View it is Start, then Settings, then Control Panel. In the interest of broad applicability, most instructions in the Knowledge Base assume that you are using the Classic View. There are several steps you can take to switch from the Windows XP default view to the Windows Classic View. For more information, see the Knowledge Base document In Windows XP, how do I switch to the Windows Classic View, Classic theme, or Classic Control Panel?
<b>Click Add/Remove Windows Components.</b>
Double-click Internet Information Services. This will open another window listing the IIS subcomponents.
Check the box next to File Transfer Protocol (FTP) Server. The Common Files and Internet Information Services Snap-In boxes will also check by default. Make sure no other boxes are checked, then click OK.
Note: Windows may prompt you for your Windows CD at this point.
<b>Configuring the FTP Server</b>
On the desktop, double-click My Computer, then double-click the hard drive on which you have Windows installed.
Open the folder inetpub. Right-click the ftproot folder and select Properties.
Click the Sharing tab. Select the radio button Share this folder, then click Permissions. From the list that appears, select Everyone, and then click Remove.
Click the Add... button. In the drop-down list, select your computer's name. In the list of user groups that appears in the center scroll box, select Users, then click Add, followed by OK. In the Permissions window, set the access level. If a user only needs to download files from your computer, set the access to Read. To give upload permission, also check Change. Click OK.
Create User accounts for each of the individuals who will need to access your server. You can do so by opening the Control Panel, then double-clicking the Users and Passwords icon. For each user, you will need to provide a username and domain.
In the main Control Panel window, double-click Administrative Tools, then double-click the Computer Management icon. A new window will open. On the left, beside Services and Applications, click the + (plus sign), and then click the + (plus sign) beside Internet Information Services.
Right-click Default FTP server and select Properties. Under "Services", make sure that Allow anonymous connections is not checked. This will prevent unauthorized access to your workstation. Click OK, then close all windows.
After that,
Go to cmd.
type     >ftp
          >open
          >to hostname or ipaddr
          >give uid & pwd
          >put sourceFilename targetFilename
I hope it will be useful for u..
Thanks & Regards,
Gopinathan.T

Similar Messages

  • How to see FTP server Directory in OBIEE 11g

    Hello All,
    I am want to create data File(extract) and put that file on FP server, and call that file into OBIEE
    so whenever user login he can access that file.
    Can yuo please tell me how I can achive this /

    Check this link and let me know how it works for you.
    http://blog.guident.com/2010/10/pushing-obiee-reports-or-dashboards-to-an-ftp-server/
    If this is okay then will guide you to call from BI
    Pls mark as correct/helpful if helps

  • How to execute a "real" VBS command in DIAdem script?

    Hello,
    I've some troubles to execute specific "real" VBS command lines in DIAdem script: 
    e.g.: 
    Workbooks.OpenText filname, DataType:=xlDelimited, tab:=True, DecimalSeparator:=",", ThousandsSeparator:="."  
    Using other writings as
    Workbooks.OpenText(filname, DataType:=xlDelimited, tab:=True, DecimalSeparator:=",", ThousandsSeparator:=".")Workbooks.OpenText filname, "DataType:=xlDelimited", "tab:=True", "DecimalSeparator:=','", "ThousandsSeparator:='.'"  
    don't help, I always get error messages. It seams, that DIAdem has problems with recognition of  := .
    How can I include such kind of VBS command line in a DIAdem script without getting problems?
    Sven

    Hi,
    thanks for answer, but unfortunately its not over yet.
    I tryed the following possibilities:
    Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,xlDelimited,,,True,,,,,,,,".",",",,True)Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,xlDelimited,,,1,,,,,,,,".",",",,1) Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,"xlDelimited",,,True,,,,,,,,".",",",,True)  Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,"xlDelimited",,,1,,,,,,,,".",",",,1)  Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,1,,,True,,,,,,,,".",",",,True)Set create_tabfile = Excel.Workbooks.OpenText(Filename,,,1,,,1,,,,,,,,".",",",,1)but always I get some error messages. I assume, that there is just a format error in the command line, may you help me out with some hints, how to do it right?
    Regards
    Sven

  • How to execute some code in command line, and read its output?

    I'v found here http://www.sap-advisor.com/abap-coding/how-to-execute-operating-system-commands-from-within-sap/ that I can execute commands from the windows command line for example inside SAP.
    But I want to take it one step further and read its output. is it possible?

    Hi RagnaRock,
    one possible approach can be outputting the results of the command into a text file (i.e. "command >result.txt"), and then read this file from SAP/ABAP.
    I hope this helps. Kind regards,
    Alvaro

  • How to execute IDC services from command line

    Hey Guys,
    is there some way we can execute IDC Services from command prompt.
    your any pointers will be highly appriciated.
    regards,
    sapan
    Edited by: sapan on Mar 9, 2009 7:26 AM

    Hey sapan,
    You can use IdcCommand to execute services from the command line. The process is as follows:
    1. Create a text file with the services calls you want to make, the definitions are in hda format:
    @Properties LocalData
    IdcService=UPDATE_DOCINFO
    dID=1
    dDocName=000001
    dDocType=MyType
    dSecurityGroup=Public
    dRevLabel=1
    dDocAuthor=sysadmin
    dDocTitle=My Title
    @end
    <<EOD>>
    (Note: for multiple entries in the file <<EOD>> is very important)
    2. Execute IdcCommand from the <content server install>/bin directory:
    IdcCommand -f image_update.hda -u sysadmin -l c:\idccommand.log
    Options:
    -f = file with service definitions
    -u = user to run as
    -l (lowercase L) = location for log of execution
    More detailed documentation can be found in the Idc Command Reference (idc_command_reference_10en.pdf).
    Hope that helps,
    Andy Weaver - Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw >

  • How to execute application server file from abap program

    Hi Friends,
    i have a requirement to execute application server file using abap program.
    i got a file directory like '/home/im3/hrintf/xxx.sh' , it's of unix file, so they want me to execute through abap program.
    pls suggest me with relevant logic.
    Thank you.
    Regards
    Ramesh M

    Define the external command in SM49/SM69
    Try with SXPG_CALL_SYSTEM or SXPG_COMMAND_EXECUTE
    Also check this link
    link:[Execute Unix Script|http://searchsap.techtarget.com/tip/0,289483,sid21_gci774071,00.html]

  • FTP server: PORT command not supported??

    Hi,
    In a nutshell - we are trying to set up PASV -- PORT connection between a Tiger server (10.4.11) and another system (say it's a windows FTP server). Issuing a PORT command to a Tiger FTP server fails with this error:
    -> PORT 192,168,11,3,199,158
    <- 500 Invalid PORT command
    I have done some research on the web and as far as I can see - this is just a feature that is disabled in Mac OS X ftp server.
    What's strange is that "features" command states that PORT is supported.
    Has anyone seen PORT command work for a Tiger Server ftp daemon?
    Has anyone succeeded enabling this command on a Tiger server?
    Can you recommend another FTP server that works well on a Tiger server?
    Thanks a million,
    Darius

    Passive (PASV) and Port (PORT) mechanisms are orthagonal.
    If you're working with PORT, then you're almost certainly trying to clear through one or more firewalls. And a firewall can also trigger the Illegal Port Command error for a PORT command.
    (Though I don't see a PORT command in the Mac OS X ftp client. I've checked a couple of clients, and it isn't common to expose it.)
    ftp is a mess. Insecure, difficult to configure, insecure, firewall unfriendly, insecure, and slow. And did I mention insecure?
    (No, I'm not a big fan of ftp.)
    Some reading material:
    http://www.cert.org/techtips/ftp_portattacks.html
    http://www.slacksite.com/other/ftp.html
    http://cr.yp.to/ftp/security.html
    As for a suggestion, chuck ftp and switch to sftp.

  • How to execute batch files or command in JSP environment

    Hi,
    I am new to Java in general and JSP too.
    I have an application that uses JSP code i need to make it run or execute a number of batch files that run under command prompt (ms-dos)?
    Can you provide me with sample code on how to do this?

    Simply put, you can't do that.
    (Outputs from executing .BATs can be used in a response strings, though.)
    Learn Java and JSP/Servlet basics.

  • HOW TO EXECUTE ABAP SERVER PROXY?

    Hi,
    I am working on a scenario in which message is passed from Integration Server to ABAP server proxy.
    In case of client proxy we execute EXECUTE_SYNCHRONOUS methjod of proxy,but I am bit confused in case of server proxies.
    How do we execute server proxy method?

    Hi Similar to Client proxy, you will have the method EXECUTE_SYNCHRONOUS or EXECUTE_ASYNCHRONOUS for your server proxy. If your WebAS is based on 6.4 or above you can test the server proxy with a sample pay load very easily. In T-code sproxy, you will see a menu called proxy, Click on that and click test proxy, check the XML payload and you can enter the payload in the next screen and check your proxy..
    Regards,
    Jai Shankar.

  • How to execute more than one command in a Process

    Hello all,
    I would like to change the user in my application by
    using the unix command su user and then execute some commands as this user.My code is the following, my problem is to execute other commands after execute the su command.
    public static void main(String [] args)
    try
    Runtime r = Runtime.getRuntime();
    String msg = "";
    String emsg = "";
    int len = 0;
    byte buffer [] = new byte[100];
    Process p1 = r.exec(new String [] "su","user"});
    InputStream input = p1.getErrorStream();
    len = input.read(buffer);
    System.out.println(new String(buffer,0,len));
    OutputStream out = p1.getOutputStream(); String password = "password";     
    out.write(password.getBytes());
    out.flush();
    out.close();
    System.out.println(password);
    p1.destroy();
    catch(Exception e)
    System.out.println(e.toString());

    For those of you who are "shell challenged", here's a Java program that will tell you how the shell interprets the command and argument you give it:
    public class RuntimeHelper {
        public static void main(String[] args) {
            for (int i = 0; i < args.length; i++)
                System.out.println(args);
    When you run the program with
    java RuntimeHelper su username -c "cmd arg1 arg2"
    the output is:
    su
    username
    -c
    cmd arg1 arg2
    Each line shows one argument that the shell passed to the java command.

  • How to execute a unix/dos command in Java

    Hi,
    I want to execute dos/unix commands in my java program. Can anyone tell me how to do this. Say I want to restart my httpd daemon using the command: "service httpd restart" or test my httpd.conf file using the command "testparn"
    thanks in advance
    Hugo Hendriks

    hallo,
    test this:
    Process p = Runtime.getRuntime().exec(Your_Programm);
    p.waitFor();
    LineNumberReader lnr = new LineNumberReader(new InputStreamReader(p.getInputStream()));
    Your_Programm must be a shellscript. regard that your java programm must have the right to start the httpd!
    Carsten Bluetner

  • How to execute ODI scenarios from command line in Unix

    Hi Friends,
    I am using ODI 11g.
    I want to execute ODI senarios using the command line argument in Unix.
    Please let me know how to proceed with this.
    Thanks,
    Lony

    Hi,
    unser the /your_ODI_HOME/agent/bin folder.
    Excute this
    sh startscen.sh REFRESH_ID 001 GLOBAL 5 -NAME=agent_ODI
    REFRESH_ID=Your Scenario name
    001:Version
    GLOBAL:Context name
    5=Log Level
    agent_ODI=Your agent name
    Regards

  • How to execute solaris lpd printing command from java code

    hi folk,
    I want to print a post script file on a network printer (my java code will receive the Printer's IP Address and the filename ) , i'm using the solaris lpd printing command :
    lpadmin -p banana_ps -o protocol=bsd,dest=IP -v /dev/null
    -m netstandard -T PS -I postscript
    my question is how execute this command from the java code :)
    i really appreciate ur advices

    Hi,
    See RunTime.getRuntime ().exec (...).
    Hope that help,
    Jack

  • How to Execute SQL Server stored procedure through SQL Developer?

    Hi,
    I was successful in connecting SQL Server database using SQL Developer. I am able to see all the objects such Tables,Views & Procedure and also can query data using sql Query. But when it comes to executing procedure there's no option to achieve this. I tried "Exec |<Execute Procedure> Proc_name" but unfortunately both statement threw Errors.
    Please suggest about other alternates.
    Thanks in Advance,
    AP

    Hi,
    I was successful in connecting SQL Server database using SQL Developer. I am able to see all the objects such Tables,Views & Procedure and also can query data using sql Query. But when it comes to executing procedure there's no option to achieve this. I tried "Exec |<Execute Procedure> Proc_name" but unfortunately both statement threw Errors.
    Please suggest about other alternates.
    Thanks in Advance,
    AP

  • Any ideas on how to execute a DOS prompt command

    I am trying to do the following and need help :
    Step#1 :
    Accepting fields on a screen (which I know how to do)
    Step#2 :
    After editing, when the user presses the Submit button, I want to trigger a command to run in the Dos environment at a command line, then return ??
    Can this be done using Java ?
    Thank you.

    Process is a class in the java.lang.Process package.
    The windows is just a variable that I have to check what is the Operating System running my Java Application.
    You need to look at the API for the Runtime class.
    This class has a method for excecuting commands.

Maybe you are looking for

  • Converting OBIEE Answers / Interactive Dashboards into .pdf or .xls files

    Hi all; I'm a freshie here as well as in Business Intelligence industry. Right now, without prior knowledge about this tool, I'm working in OBIEE answer. Is it possible for us to convert OBIEE answer report/dashboard into .pdf or .xls files? Other to

  • Can't launch the Pantone Calibrator Panel. Help!!!

    The tray shows on the taskbar  and I clicked the right bottom then clicked 'lauch color calibrator' , but the application will never be launched(Same when I open it in the Start manu). Even though I have unistalled the pantone calibrator and then rei

  • 4.7EE on WINDOWS 2003 O/S: dispatcher and message service not working

    Hi all, i have installed 4.7EE on WINDOWS 2003 O/S, but my dispatcher and message service is not working, can you guys help me out to start my dispatcher and message service. let me know the steps to get back my sap MMC UP. thanks Edited by: Julius B

  • No joy with new SG200-08

    I have had no luck with a new SG200-08 switch, firmware 1.0.7.4.  It never acquires an IP address from the upstream server (System LED flashes continuously and forever) yet plugging the same cable into a PC or laptop results in an immediate and succe

  • Elements 12 program problem

    I have a licenced copy of Elements 12 which has been used since December 2013.  I am now being told that Elements Organiser is not currently licenced.  Please launch Elements Editor to update the licencing information - which I have done and nothing