FTP syntax (Check plz)

Hello
Sorry for the loooooong post but can someone tell me why it ain't working?
//FTPApp.java
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.io.*;
import java.net.*;
import java.lang.reflect.*;
import sun.net.ftp.*;
import sun.net.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.event.*;
public class FTPApp extends JFrame
public static int BUFFER_SIZE = 10240;
protected JTextField m_txtUser;
protected JPasswordField m_txtPassword;
protected JTextField m_txtURL;
protected JTextField m_txtFile;
protected JTextArea m_monitor;
protected JProgressBar m_progress;
protected JButton m_btPut;
protected JButton m_btGet;
protected JButton m_btFile;
protected JButton m_btClose;
protected JFileChooser m_chooser;
protected FtpClient m_client;
protected String m_sLocalFile;
protected String m_sHostFile;
public FTPApp() {
super("Web Spinner FTP Client");
JPanel p = new JPanel();
p.setBackground(new Color(212,218,179));
//p.setLayout(new DialogLayout2(10, 5));
//p.setLayout(new DialogLayout(10,5));
p.setLayout(new GridLayout(8,0));
p.setBorder(new EmptyBorder(5, 5, 5, 5));
//p.add(new JLabel("User name:"));
m_txtUser = new JTextField("anonymous");
//p.add(m_txtUser);
//p.add(new JLabel("Password:"));
m_txtPassword = new JPasswordField();
//p.add(m_txtPassword);
//p.add(new JLabel("URL:"));
m_txtURL = new JTextField();
//p.add(m_txtURL);
//p.add(new JLabel("File:"));
m_txtFile = new JTextField();
//p.add(m_txtFile);
//p.add(new DialogSeparator("Connection Monitor"));
m_monitor = new JTextArea(5, 20);
m_monitor.setEditable(false);
JScrollPane ps = new JScrollPane(m_monitor);
//p.add(ps);
m_progress = new JProgressBar();
m_progress.setStringPainted(true);
m_progress.setBorder(new BevelBorder(BevelBorder.LOWERED,
Color.white, Color.gray));
m_progress.setMinimum(0);
JPanel p1 = new JPanel(new BorderLayout());
//p1.add(m_progress, BorderLayout.CENTER);
//p.add(p1);
//p.add(new DialogSeparator());
m_btPut = new JButton("Put");
ActionListener lst = new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (connect()) {
Thread uploader = new Thread() {
public void run() {
putFile();
disconnect();
uploader.start();
m_btPut.addActionListener(lst);
m_btPut.setMnemonic('p');
//p.add(m_btPut);
m_btGet = new JButton("Get");
lst = new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (connect()) {
Thread downloader = new Thread() {
public void run() {
getFile();
disconnect();
downloader.start();
m_btGet.addActionListener(lst);
m_btGet.setMnemonic('g');
//p.add(m_btGet);
m_btFile = new JButton("File");
lst = new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (m_chooser.showSaveDialog(FTPApp.this) !=
JFileChooser.APPROVE_OPTION)
return;
File f = m_chooser.getSelectedFile();
m_txtFile.setText(f.getPath());
m_btFile.addActionListener(lst);
m_btFile.setMnemonic('f');
//p.add(m_btFile);
m_btClose = new JButton("Close");
lst = new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (m_client != null)
disconnect();
//else
//System.exit(0);
m_btClose.addActionListener(lst);
m_btClose.setDefaultCapable(true);
m_btClose.setMnemonic('g');
//p.add(m_btClose);
getContentPane().add(p, BorderLayout.CENTER);
m_chooser = new JFileChooser();
m_chooser.setCurrentDirectory(new File("."));
m_chooser.setApproveButtonToolTipText(
"Select file for upload/download");
//creating layout
JPanel pan1 = new JPanel(new GridLayout(0,2));
pan1.add(new JLabel("User Name:"));
pan1.add(m_txtUser);
m_txtUser.setBackground(Color.white);
JPanel pan2 = new JPanel(new GridLayout(0,2));
pan2.add(new JLabel("Password"));
pan2.add(m_txtPassword);
m_txtPassword.setBackground(Color.white);
JPanel pan3 = new JPanel(new GridLayout(0,2));
pan3.add(new JLabel("Url"));
pan3.add(m_txtURL);
m_txtURL.setBackground(Color.white);
JPanel pan4 = new JPanel(new GridLayout(0,2));
pan4.add(new JLabel("File:"));
pan4.add(m_txtFile);
m_txtFile.setBackground(Color.white);
m_txtFile.setText();
JPanel pan5 = new JPanel();
m_monitor.setSize(500,50);
ps.setSize(500,50);
pan5.add(ps);
JPanel pan6 = new JPanel();
pan6.add(m_progress);
JPanel pan7 = new JPanel(new GridLayout(0,4));
pan7.add(m_btPut);
pan7.add(m_btGet);
pan7.add(m_btFile);
pan7.add(m_btClose);
pan1.setBackground(new Color(212,218,179));
pan2.setBackground(new Color(212,218,179));
pan3.setBackground(new Color(212,218,179));
pan4.setBackground(new Color(212,218,179));
pan5.setBackground(new Color(212,218,179));
pan6.setBackground(new Color(212,218,179));
pan7.setBackground(new Color(212,218,179));
     p.add(pan1);
p.add(pan2);
p.add(pan3);
p.add(pan4);
p.add(pan5);
p.add(pan6);
p.add(pan7);
     m_monitor.setBackground(Color.white);
WindowListener wndCloser = new WindowAdapter() {
public void windowClosing(WindowEvent e) {
disconnect();
//System.exit(0);
addWindowListener(wndCloser);
setSize(340,340);
setResizable(false);
setVisible(true);
setLocation(220,130);
setBackground(new Color(212,218,179));
public void setButtonStates(boolean state) {
m_btPut.setEnabled(state);
m_btGet.setEnabled(state);
m_btFile.setEnabled(state);
protected boolean connect() {
m_monitor.setText("");
setButtonStates(false);
m_btClose.setText("Cancel");
setCursor(Cursor.getPredefinedCursor(
Cursor.WAIT_CURSOR));
String user = m_txtUser.getText();
if (user.length()==0) {
message("Please enter user name");
setButtonStates(true);
return false;
String password = new String(m_txtPassword.getPassword());
String sUrl = m_txtURL.getText();
if (sUrl.length()==0) {
message("Please enter URL");
setButtonStates(true);
return false;
m_sLocalFile = m_txtFile.getText();
// Parse URL
int index = sUrl.indexOf("//");
if (index >= 0)
sUrl = sUrl.substring(index+2);
index = sUrl.indexOf("/");
String host = sUrl.substring(0, index);
sUrl = sUrl.substring(index+1);
String sDir = "";
index = sUrl.lastIndexOf("/");
if (index >= 0) {
sDir = sUrl.substring(0, index);
sUrl = sUrl.substring(index+1);
m_sHostFile = sUrl;
try {
message("Connecting to host "+host);
m_client = new FtpClient(host);
m_client.login(user, password);
message("User "+user+" login OK");
message(m_client.welcomeMsg);
m_client.cd(sDir);
message("Directory: "+sDir);
m_client.binary();
return true;
catch (Exception ex) {
message("Error: "+ex.toString());
setButtonStates(true);
return false;
protected void disconnect() {
if (m_client != null) {
try { m_client.closeServer(); }
catch (IOException ex) {}
m_client = null;
Runnable runner = new Runnable() {
public void run() {
m_progress.setValue(0);
setButtonStates(true);
m_btClose.setText("Close");
FTPApp.this.setCursor(Cursor.getPredefinedCursor(
Cursor.DEFAULT_CURSOR));
SwingUtilities.invokeLater(runner);
protected void getFile() {
if (m_sLocalFile.length()==0) {
m_sLocalFile = m_sHostFile;
SwingUtilities.invokeLater( new Runnable() {
public void run() {
m_txtFile.setText(m_sLocalFile);
byte[] buffer = new byte[BUFFER_SIZE];
try {
int size = getFileSize(m_client, m_sHostFile);
if (size > 0) {
message("File " + m_sHostFile + ": " + size + " bytes");
setProgressMaximum(size);
else
message("File " + m_sHostFile + ": size unknown");
FileOutputStream out = new
FileOutputStream(m_sLocalFile);
InputStream in = m_client.get(m_sHostFile);
int counter = 0;
while(true) {
int bytes = in.read(buffer);
if (bytes < 0)
break;
out.write(buffer, 0, bytes);
counter += bytes;
if (size > 0) {
setProgressValue(counter);
int proc = (int) Math.round(m_progress.
getPercentComplete() * 100);
setProgressString(proc + " %");
else {
int kb = counter/1024;
setProgressString(kb + " KB");
out.close();
in.close();
catch (Exception ex) {
message("Error: "+ex.toString());
protected void putFile() {
if (m_sLocalFile.length()==0) {
message("Please enter file name");
byte[] buffer = new byte[BUFFER_SIZE];
try {
File f = new File(m_sLocalFile);
int size = (int)f.length();
message("File " + m_sLocalFile + ": " + size + " bytes");
setProgressMaximum (size);
FileInputStream in = new
FileInputStream(m_sLocalFile);
OutputStream out = m_client.put(m_sHostFile);
int counter = 0;
while(true) {
int bytes = in.read(buffer);
if (bytes < 0)
break;
out.write(buffer, 0, bytes);
counter += bytes;
setProgressValue(counter);
int proc = (int) Math.round(m_progress.
getPercentComplete() * 100);
setProgressString(proc + " %");
out.close();
in.close();
catch (Exception ex) {
message("Error: " + ex.toString());
protected void message(final String str) {
if (str != null) {
Runnable runner = new Runnable() {
public void run() {
m_monitor.append(str + '\n');
m_monitor.repaint();
SwingUtilities.invokeLater(runner);
protected void setProgressValue(final int value) {
Runnable runner = new Runnable() {
public void run() {
m_progress.setValue(value);
SwingUtilities.invokeLater(runner);
protected void setProgressMaximum(final int value) {
Runnable runner = new Runnable() {
public void run() {
m_progress.setMaximum(value);
SwingUtilities.invokeLater(runner);
protected void setProgressString(final String string) {
Runnable runner = new Runnable() {
public void run() {
m_progress.setString(string);
SwingUtilities.invokeLater(runner);
public static void main(String argv[]) {
new FTPApp();
public static int getFileSize(FtpClient client, String fileName)
throws IOException {
TelnetInputStream lst = client.list();
String str = "";
fileName = fileName.toLowerCase();
while(true) {
int c = lst.read();
char ch = (char) c;
if (c < 0 || ch == '\n') {
str = str.toLowerCase();
if (str.indexOf(fileName) >= 0) {
StringTokenizer tk = new StringTokenizer(str);
int index = 0;
while(tk.hasMoreTokens()) {
String token = tk.nextToken();
if (index == 4)
try {
return Integer.parseInt(token);
catch (NumberFormatException ex) {
return -1;
index++;
str = "";
if (c <= 0)
break;
str += ch;
return -1;

hello again.
Excuse me..i'll be looking for the exceptions.. i have post the code of the ftp client once more for you programmers to have a look (it has the main function to run it) The problem is that the ftp client cannot upload file... i don't know why.. perhaps someone could help me by trying it
Bernard

Similar Messages

  • Syntax check warning

    Hi All,
              I hav a small query . i m working in upgrade and in slin syntax check warning i m getting warning
    i hav a statement like   ULINE AT 0(120).
    Its giving a warning " Syntax check warning
    The static output position "0" must be positive."
    Can anyone plzz guide me regarding this,
    thanking u all.
    regards,
    sahakla

    Hi..,
    in list output..
    the list output length  will be counted in terms of characters.. the default list length is 132 characters..
    maximum no.of characters is 1023..
    the count starts from 1.
    thats it !!
    there is nothing much abt it.
    plz do remember to close the thread when ur problem is solved !! reward all helpful answers !!
    regards,
    sai ramesh

  • Text editor syntax check

    Is it possible to do a syntax check on my text editor when the save button is clicked?
    I saw posts of syntax check but they seemed to only check syntax on programs and not text in text editor. If it is possible to do so with text editor, codes examples and explanation is appreciated

    well friend there is nothin like checking syntax in text editor because whatever wrong syntax u gonna write will be treated as text apart from code.
    so there is no separate checking for them but yesthere are some simple things that can b checked for example u must have seen in old editor of script that left side has got only some fixed values like /: , =, * , and paragraph format but here also if u choose  invalid paragraph format then also ur default paragraph will work and no syntax error occurs.
    plz reward if helpful,
    keep rockin
    vivek

  • Syntax check error in the standard include

    Hi,
    I have modified one standard include using access key to insert one logic as per businness requirements.Now after inserting that code iam getting syntax error but while activating it is not showing the error and getting activated.
    The include is V05XZZMO in that i have inserted code is as follows
    FORM MOVE_USERFIELDS USING ZP.
      CASE ZP.
        WHEN 'VBRK'.
        header
        MOVE LVBRK-XXXXX TO LFAMTV-ZZXXXXX.
    *{   INSERT         GDVK934083                                        1
              MOVE LVBRK-ZUONR TO LFAMTV-ZZZUONR.
    *}   INSERT
        WHEN 'VBRP'.
        item
        MOVE LVBRP-XXXXX TO LFAMTV-ZZXXXXX.
    *{   INSERT         GDVK934083                                        2
       MOVE LVBRP-MATWA TO LFAMTV-ZZMATWA.
    *}   INSERT
      ENDCASE.
    ENDFORM.
    now it is throwing error saying that LFAMTV doesn't exist...when I double click on that it is taking me to the FM RV_INVOICE_VIEW_2 where it is defined....
    Can anyone know the reason why it is throwing the error when we go for the syntax check but when u activate the program it is getting activated.. so can this error can be neglected?
    Any help on this will be appreciated..
    Regards,
    Rohan.

    Hi,
    First comment ur code and then activate the include.
    Now put a break point in the form and then in the debug mode check the structre LFAMTV is visible or not.
    if yes then once again add ur code and then activate the whole program.
    and now once again debug it and see...., whether the values are updated to the strurure LFAMTV.
    Regards,
    Nagaraj

  • SQL Developer 1.1.0.21: Issues with Data Grid and SQL syntax checking

    In this new release of SQL Dev, when I execute a SQL in the SQL Worksheet and click in the Data Grid in the Results tab and try to navigate within a record using arrow keys, the grid cell enters into edit mode by default and so I cannot use the Left or Right arrow keys to navigate the grid. I am forced to use tab key to navigate. This is counter intuitive in my opinion.
    Is there any option to change this behavior?
    Another issue that I have come across is with SQL syntax checking. In some cases, when I press F9 to execute a SQL, it shows the SQL as executed i.e. shows something like 0.0134 seconds in the toolbar and no results displayed. In reality, the SQL had some syntax error which were NOT reported. This can be frustrating since now I have to fall back to SQL*Plus or TOAD just for syntax check.
    I like the fact that SQLDev highlights the current SQL but it would be more useful if it just indicated the first line of the current sql instead of highlighting the whole sql.
    Manish

    "In this new release of SQL Dev, when I execute a SQL in the SQL Worksheet and click in the Data Grid in the Results tab and try to navigate within a record using arrow keys, the grid cell enters into edit mode by default and so I cannot use the Left or Right arrow keys to navigate the grid. I am forced to use tab key to navigate. This is counter intuitive in my opinion."
    In the "Results" tab, Click Ctrl & Tab keys (at the same time) or with mouse click on any cell other than the first column (a sequence or rownum), you will be able to navigate using the arrow keys.
    "Another issue that I have come across is with SQL syntax checking. In some cases, when I press F9 to execute a SQL, it shows the SQL as executed i.e. shows something like 0.0134 seconds in the toolbar and no results displayed. In reality, the SQL had some syntax error which were NOT reported. This can be frustrating since now I have to fall back to SQL*Plus or TOAD just for syntax check."
    The 0.0134 seconds could be the result of the most recently executed successful statement. Check the Script Output tab for errors. Use F5 (Run Script option) instead of F9.
    "I like the fact that SQLDev highlights the current SQL but it would be more useful if it just indicated the first line of the current sql instead of highlighting the whole sql."
    On the SQL statement (or code), Right Click -> Format SQL (or press Ctrl & B), proper formatting would help.
    I use version 1.0.0.15.57 and seems to be working allright.
    - Babu Rangasamy

  • Getting Error 26 in ALE IDOC scenario .- EDI Syntax Check Error...

    Hi..
    i am working in ALE Idoc scenario...I am getting Status 3 as well as status 26 in we02 transaction in my custom IDOC scenario for outbound process..
    The error is 'EDI- SYntax Check'..
    How to remove this error..
    Pls help.

    ya, there is only one segment available in IDOC..named i.e zseg_a .
    So , error in postion is avoided..
    How to find syntax error then?

  • Syntax check for tables and function modules

    Hi,
    I am writing a program that perform syntax check on object such as executable programs , function modules and tables.
    Syntax check works fine for programs, but not for tables.
    How can I perform syntax check on my tables or structures?
    I get my data from the table TADIR. But I don't get my function modules from there. What is the table for this.
    Thanks 4 ur replies.
    Parvez

    hi
    good
    generally in sap while creating a table or structure we get the error and we solved them,but like reports during runtime it is not possible to check the syntax of a table or structure.
    thanks
    mrutyun^

  • Can we use SAMT to syntax check methods in global classes ?

    Transaction SAMT can be used to perform syntax checks on programs but I can't see how to use it to check methods in global  classes. Can anyone tell me how to do this ?
    thanks,
    Malcolm.

    I've figured out a way to do this.
    You need to put the class name followed by '=====CP' into the program name......with enough ='s to make the name up to 32 characters. Bit fiddly but it can be done.

  • Warning in query in Extended Syntax Check

    Hi all,
    I perform Extended Syntax Check.
    It generates following warning for the query: -
    In "SELECT SINGLE....", the WHERE condition for the key field "MATNR" does not test for equality. Therefore the single record in question may not be unique.
    (You can hide the message using "#EC *)
    Please tell me what does it mean. How can I suppress this warning?
    Regards,
    Saurabh A. Buksh

    Hi,
    whenu r using select single use a variable or a workarea don't use tables.
    select single matnr from mara into v_matnr
    where matnr in s_matnr.
    also as it is warning message u can neglectit .
    when u  r using select single u should give entire key information also.
    Regards,
    Nagaraj
    Message was edited by: nagaraj kumar nishtala

  • Extended Syntax Check  in abap code

    Hi Guys,
    We are upgrading from 4.6 C to ECC 6.0.  When I do the Extended Syntax check for the custom function module it gives me the following error.  Please help.
    The EXCEPTION "REPORT_NOT_EXISTENT" is not defined in the interface of the function module "RS_VARIANT_CONTENTS" "RS_VARIANT_CONTENTS".  Internal Message Code: MESSAGE G-7. 
    (The message can be hidden with "#EC ARGCHECKED)
    Regards,
    Shankar

    <b>Don't suppress the message. </b> You should only suppress messages if you are aware of why they are appearing, and they are not an error.
    What it means is, that in your custom function module, there is some code like
    CALL FUNCTION 'RS_VARIANT_CONTENTS'
      EXPORTING
        report                     = v_report
        variant                    = v_variant
    EXCEPTIONS
       VARIANT_NON_EXISTENT        = 1
       VARIANT_OBSOLETE            = 2
       REPORT_NOT_EXISTENT         = 3
       OTHERS                      = 4
    But if you look at FM rs_variant_contents, you'll see this exception is not defined.  The correct course of action is to remove it from your call.
    matt

  • No error messages by Syntax Checker, even there a lot

    Our Design Editors (9.0.2.94.11) Syntax Checker gives never an error message, not even there are syntax errors. What can I do?

    Check your wireless router. For same strange reason my router locks up every time an iphone update is installed. To fix it, I have to disconnect it (Linksys WRT54G v.3) from my cable modem and clear all of its settings by holding in its reset button. I then have to log onto the router with the old default password (the one I set was cleared when I pressed reset) and then reset my wireless security, name, etc.. Then I restart my PC that is connected to the router and everything works again. iPhone and laptop can now connect to wireless.

  • bsp:parameter with syntax check?

    I use subcontrollers pretty often in my application.
    I usually pass parameters to my subcontrollers like this:
    <bsp:call url = "blabla.do" comp_id = "id1">
        <bsp:parameter name = "my_attribute" value = "<%= lv_bla %>" />       
    </bsp:call>
    By this, the public attribute "my_attribute" of the controller class of blabla.do is set to the value of lv_bla. This works perfectly.
    However, what if there is no such an attribute in the controller class or if I rename the attribute. Of course, the syntax checker would not recognize this.
    I was thinking of adding a dummy-statement to the bsp:call that would detect the syntax error
    <% IF controller->my_attribute IS INITIAL.ENDIF.%>
    However, obviously, my_attribute is not in the controller, but in the subcontroller class. Can I also access the subcontroller? Or are there other ways to check if my_attribute exists in the subcontroller class?

    hi,
    One way to access a subcontroller class is to instantiate it using create object but in this case the instance of it will not be the same one in its parent controller.
    another way in a controller class there is an attribute M_SUBCONTROLLERS of type BSP_CONTROLLER_LIST  which contains Tables with Instances of Subcontrollers (it is protected type). so we can make our own attribute (public) in controller of same type and inside our controller we just fill our attribute with values from this one. this way it will be ascessible outside also.
    one more way is we just instatiate the subcontroller in our application class instead of instantiating in controller this way the same instance of the same subcontroller will be accessible and we can check for a attribute existance in it.
    hope this may help you,
    cheers,
    Hemendra

  • Error in Extended syntax check- Select Query

    Hi all,
    Iam getting this following error in Extended syntax check
    " Large table PA0002: No field of a table index in WHERE
    condition"
    Code :SELECT SINGLE PERNR INTO (G_PERNR) FROM PA0002 WHERE ZZLEGACY_PAYROLL = I_FILETAB-PRNO
                                                           AND ZZLEGACY_PAYSYS = I_FILETAB-PRSYS
                                                           AND ZZLEGACY_PAYINS = I_FILETAB-PRINS.
    can anyone help on this?

    Hi,
    Change the code like this and check............
    For this u need put INSIDE LOOP.
    Select single PERNR into G_PERNR from PA0002 where PERNR = I_FILETAB-PRNO and .......... and ......
    Check like this...
    Thanks.
    If this helps you reward with points.
    Message was edited by: KDeepak
    Message was edited by: KDeepak

  • Syntax check of code

    I am passing certain code in table itab and then doing a syntax check using SYNTAX-CHECK FOR itab MESSAGE mess LINE lin WORD wrd .The problem with this method is it check the code line by line and assign mess with the first error msg  but I want to trap all the error message of the code in itab at once in another table.
    Is it possible to trap all the error msg at once in a internal table.

    Hi,
    This is similar to what ABAP Editor sytax check does. You cannot check sytax of the "futher" code as the "closer" code may affect the "further". Unless you correct the first error you cannot therefore check if futher lines are correct. If this worked like you want it would have to correct "closer" errors first by itself, then it could check rest of the code. But how the compilator (generall meaning) would have to know what to place there. This is of course impossible. There is no such compliator doing so in none of known to me programming languages.
    You may skip this by a trick. Looping at the table with a code and checking each line of this with a check syntax. Then collect all these errors within an error table.
    Nevetherless be carefull !! You would have to place excatly one statement per line in code table. Otherwise it won't pass the exam. Moreover you cannot use any of chain statements i.e.
    write: 'first line',
            'second line'.
    ...should be replaced with
    write 'first line'.
    write 'second line'.
    Hope this give you some idea:)
    Regards
    Marcin

  • Syntax Check for *.java files

    Hello erveryone,
    I'm wondering if anybody has an advice how to enable (if possible) syntax check in JDeveloper 10.1.2.
    For example:
    public String toString() {
    String result = "test";
    The missing return statement is not shown in the editor. It's only shown by the compiler.
    Thanks in advance
    Alex

    Thanks for your reply,
    I checked out the links you mentioned, but I think the informations about the code editor and the code assist are not very detailed.
    I checked out the tool you mentioned above (PMD) and it was quite fine unsing it for one class. But I tried to check about 300 classes at a time and it hangs after a few minutes.
    So I think it's a little improvement, but I will still look for a tool compareable to eclipse.

Maybe you are looking for

  • How to allow a user to change Payment terms on A/R documents

    Hi All, I want to allow one of my user to change payment terms on A/R documents. I could'nt found it where to authorize a user for this purpose. Can anybody help me out with this? BR

  • HT201272 my file never downloaded properly and i need to re download

    i just got a tv show "africa" and i tryed to watch the first one and it asks me to locate the file. i go to the itunes folder where all the other file are execpet the forst epp what do i do

  • Java exec question

    If i start a command with java exec and i want to terminate the command from running how to i do this? what i am doing now is i wait 5 seconds and if there is no output from the command i ask for exitValue() which throws an exception which i catch. T

  • Printer D110 AIO incompatible cartridges

    I finally fixed my printer to it is able to scan and print, but now when I attempt to print anything it gives me the error message that "The cartridge is incompatible with this configuration"  Tri-color, Black.  I tried that alignment and the cleanin

  • How to add string to sendbuffer in visual basic?

    1.if buffer type=FML,then ' Fchg(sendBuf, Fldid("ACCOUNT_ID"), 0, accountNumber&, 0)' can add the accountnumber into sendbuffer. 2.if buffer type=STRING ,then how can i add a simple string into sendbuffer before the tpcall()? Eager for the reply.