aspose file tools*
The moose likes Programming Diversions and the fly likes silly question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "silly question" Watch "silly question" New topic
Author

silly question

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1000
    
    2
i have a bit silly question.
is it possible?
i have a doc file, which i attached in my gmail account and saved that mail/attached file, and one copy of that file is also in my computer.
what i want is when i do some changes on my computer doc file, the should automatic reflect to that file which is attached in my mail box.
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

I don't think so.

You may want to look into Google docs, but as far as I've even know, the attachment is static.

WP
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18669
    
    8

You might have IMAP access to your Gmail account, but even if you did, it isn't possible to update a message in a folder. You would have to delete the message and replace it by a new version containing the updated document.

And that's assuming you actually had Internet access at the time you updated the document. And it's also assuming you had some process which noticed that the document had been changed and could act upon that. A really impractical idea, really.
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1000
    
    2
Paul Clapham wrote:You might have IMAP access to your Gmail account, but even if you did, it isn't possible to update a message in a folder. You would have to delete the message and replace it by a new version containing the updated document.

And that's assuming you actually had Internet access at the time you updated the document. And it's also assuming you had some process which noticed that the document had been changed and could act upon that. A really impractical idea, really.


okay so is it possible, i will create a simple desktop app, using which i regularly update that document or something like that??
else what can be possible to achieve this type of situation, i don't want to login gmail againand again and upload that document.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18669
    
    8

Punit Jain wrote:okay so is it possible


I suppose it might be.

i will create a simple desktop app, using which i regularly update that document or something like that??


Simple? I don't recall saying that. What gave you that idea?

else what can be possible to achieve this type of situation, i don't want to login gmail againand again and upload that document.


Google Docs. Sharepoint. Anything which stores the document in one place and doesn't attempt to synchronize multiple copies of the document.
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1000
    
    2

Simple? I don't recall saying that. What gave you that idea?

no one, i just thought to do this, actually in my office i daily update my doc file that what i have done today and how and than i will upload that on my gmail, so that i will able to read that at my home as well, therefore i thought to do this.
and can you please tell me how do i do this, if i don't want to go with google docs and sharepoint, and if i want to do this by programming?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18669
    
    8

Frankly, if you can't already figure out how to do that then I would say you're better off using a Google Doc or something like that.
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1000
    
    2
okay what i think is:
i will create a simple gui, which take one file and has one submit button, when i click submit file should saved to drafts in my gmail, and there if put one condition if file already exist replace the contents.
but is this possible?
file should saved to drafts in my gmail
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

silly or chilly ?
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1000
    
    2
silly: if no solution for this.
chilly: if i got any solution.
Darren Song
Greenhorn

Joined: Aug 03, 2012
Posts: 12

You might want to try DropBox.com

I use it to share files between my personal computer, my phone and my work computer.

It basically creates a folder in your computer and if you make a change in one place, it will synchronize the folder in other computers.

Also, the android app also let you export the files from the drop box and attach it to gmail or w/e.


I also took advantage of this at my previous work.

I made batch script to backup the database files into dropbox folder(as it's just a regular windows folder) and it synchronize to a backup computer automatically.


OCPJP6, OCEJWCD, OCEEJBD

Today I do what others don't,
So tomorrow I can do what others can't.
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1000
    
    2
Thanks Darren Song
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: silly question