aspose file tools*
The moose likes I/O and Streams and the fly likes Is it possible to write a file which is remotely located via Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Is it possible to write a file which is remotely located via Java?" Watch "Is it possible to write a file which is remotely located via Java?" New topic
Author

Is it possible to write a file which is remotely located via Java?

dharma lingam s
Greenhorn

Joined: Aug 29, 2013
Posts: 14
hi all,

in java we are able to write a file which is in the local system. Is it possible to write anything on the remotely located file..?? How we can achieve this in JAVA.

Tell some suggestions..

regards,
cooldharma06.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12785
    
    5
Writing files on another system depends of course on the operating system, utilities and security arrangements on the other system.

For example, you might have an FTP server on the other system.

There is no general answer to this question.

Bill
dharma lingam s
Greenhorn

Joined: Aug 29, 2013
Posts: 14
i will explain the things. i am having one web applications which is running in the server. from that application i want to write some contents in some file.
dharma lingam s
Greenhorn

Joined: Aug 29, 2013
Posts: 14
hi

i am doing some file operations using java. i edit my local system files(like txt) by the file operations.

Now i want to edit the same files which is remotely located.

Example scenario:

Suppose the system having the ip:10.187.39.25. the txt file is located in /usr/src/xxx/yyy.txt.

by using the java program from my system i have to edit the yyy.txt file.

is it possible.? please guide me or send some suggestions.

Regards,
cooldharma06
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to write a file which is remotely located via Java?