remote « ftp « Java Network Q&A

Home
Java Network Q&A
1.API
2.bluetooth
3.Client
4.connection
5.Cookie
6.Development
7.Email
8.File
9.ftp
10.http
11.HttpClient
12.https
13.ip
14.Network
15.OS
16.RMI
17.Security
18.Server
19.Socket
20.tcp
21.UDP
22.url
Java Network Q&A » ftp » remote 

1. how to read a text file within remote ftp directory    coderanch.com

Dear friends How to read a text file within remote ftp directory? My program is this.I have a directory named "Sample Files" on remote ftp server which contains a text file batch2.txt.I want to read that file.Please tell me how to do it.Here is my program: /* * Main.java * * Created on April 23, 2008, 4:41 AM * * To ...

3. FTP remote file parsing    coderanch.com

I am trying to parse remote xml file. when i check the path of the file using outDocFile.getCanonicalFile() , it is pointing to local("C:/ct-data/ald/erd/relDeletes) but the variable(outputLocation) is pointing to "/ct-data/ald/erd/relDeletes". because of this i'm getting outDocFile.exists() =null please let me know, if i am missing anything. here is the code: String outputLocation= "/ct-data/ald/erd/relDeletes"; String oct= "entity-N_CCH-61874.xml"; try { FTPClient ftp ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.