Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-18-2008, 06:19 PM
dowell's Avatar
Member
 
Join Date: May 2008
Posts: 6
dowell is on a distinguished road
using java to login to unix
Hey people..i want to use a windows java application to login to unix. In a particular i want that application to read a particular file in unix.

How can i do it in unix???
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-19-2008, 06:25 PM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 524
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Quote:
i want to use a windows java application to login to unix
What do you mean? you will deploy your windows java application into unix platform?

@ the First paragraph of File Class, you can find the pattern equivalent to "\\".
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-20-2008, 05:03 PM
dowell's Avatar
Member
 
Join Date: May 2008
Posts: 6
dowell is on a distinguished road
Quote:
Originally Posted by sukatoa View Post
What do you mean? you will deploy your windows java application into unix platform?

@ the First paragraph of File Class, you can find the pattern equivalent to "\\".

No...the java application is running in windows..but i want it to login to unix just like the way you can create an ftp batch file containing the commands to run.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-21-2008, 08:19 AM
danielstoner's Avatar
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 183
danielstoner is on a distinguished road
Then you have to use your own protocol or a library that implements standard protocols. A good library is Apache Commons Net: Net - Apache Commons Net

Supported protocols are:

* FTP
* NNTP
* SMTP
* POP3
* Telnet
* TFTP
* Finger
* Whois
* rexec/rcmd/rlogin
* Time (rdate) and Daytime
* Echo
* Discard
* NTP/SNTP
__________________
Daniel @ [
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Language is froth on the surface of thought
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 05-23-2008, 08:26 AM
dowell's Avatar
Member
 
Join Date: May 2008
Posts: 6
dowell is on a distinguished road
thanx so much....am gonna try that
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing unix system using java abhishek.sinha AWT / Swing 3 06-19-2008 09:05 AM
how to run java app on windows in a cron like on unix rockie12 Advanced Java 7 05-23-2008 02:39 PM
Filter a file in java (unix cut command equivalent) marcosabel New To Java 0 02-11-2008 08:26 PM
Running java program with arguments in Unix" gvi Advanced Java 2 11-08-2007 08:01 PM
problems with Login Peter Java Servlet 2 06-12-2007 02:50 PM


All times are GMT +3. The time now is 07:22 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org