• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic