Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to copy a file from directory A to diectory B?
How to copy a file from directory A to diectory B? [message #275721] Thu, 11 November 2004 12:13 Go to next message
Eclipse UserFriend
Originally posted by: pimenta.inatel.br

Hi.

My plugin allows the final user to choose a png file from a determinated
path. It is possible by means an open file dialog. This dialog retuns me
the path.

Now, I need copy such file to another path. This another path is a
constant, like "C:\".

how to codify this in my plugin?

Ps: the paths are out of my workspace place.

Thanks,

Rodrigo.
-----------
Re: How to copy a file from directory A to diectory B? [message #275722 is a reply to message #275721] Thu, 11 November 2004 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Chris_Laffra.ca.ibm.com

See chapter 17 "Workspace and Resources API" at http://eclipsefaq.org

Chris

"Rodrigo Pimenta Carvalho" <pimenta@inatel.br> wrote in message
news:cn06ka$thb$1@eclipse.org...
> Hi.
>
> My plugin allows the final user to choose a png file from a determinated
> path. It is possible by means an open file dialog. This dialog retuns me
> the path.
>
> Now, I need copy such file to another path. This another path is a
> constant, like "C:\".
>
> how to codify this in my plugin?
>
> Ps: the paths are out of my workspace place.
>
> Thanks,
>
> Rodrigo.
> -----------
>
Re: How to copy a file from directory A to diectory B? [message #275732 is a reply to message #275722] Thu, 11 November 2004 12:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pimenta.inatel.br

Chris,

My browser is IE 5, and I don't have permission to install another one.
Can you help me by another way?

Thanks.

Rodrigo.
===========
Chris Laffra wrote:

> See chapter 17 "Workspace and Resources API" at http://eclipsefaq.org

> Chris

> "Rodrigo Pimenta Carvalho" <pimenta@inatel.br> wrote in message
> news:cn06ka$thb$1@eclipse.org...
>> Hi.
>>
>> My plugin allows the final user to choose a png file from a determinated
>> path. It is possible by means an open file dialog. This dialog retuns me
>> the path.
>>
>> Now, I need copy such file to another path. This another path is a
>> constant, like "C:".
>>
>> how to codify this in my plugin?
>>
>> Ps: the paths are out of my workspace place.
>>
>> Thanks,
>>
>> Rodrigo.
>> -----------
>>
Re: How to copy a file from directory A to diectory B? [message #275733 is a reply to message #275732] Thu, 11 November 2004 12:54 Go to previous message
Eclipse UserFriend
Originally posted by: Chris_Laffra.ca.ibm.com

If you cannot install another browser than IE 5, you may have to join
another company?

You can also buy a hard-copy version of the book:
http://www.amazon.com/exec/obidos/tg/detail/-/0321268385

Chris

"Rodrigo Pimenta Carvalho" <pimenta@inatel.br> wrote in message
news:cn08dh$16n$1@eclipse.org...
>
> Chris,
>
> My browser is IE 5, and I don't have permission to install another one.
> Can you help me by another way?
>
> Thanks.
>
> Rodrigo.
> ===========
> Chris Laffra wrote:
>
> > See chapter 17 "Workspace and Resources API" at http://eclipsefaq.org
>
> > Chris
>
> > "Rodrigo Pimenta Carvalho" <pimenta@inatel.br> wrote in message
> > news:cn06ka$thb$1@eclipse.org...
> >> Hi.
> >>
> >> My plugin allows the final user to choose a png file from a
determinated
> >> path. It is possible by means an open file dialog. This dialog retuns
me
> >> the path.
> >>
> >> Now, I need copy such file to another path. This another path is a
> >> constant, like "C:".
> >>
> >> how to codify this in my plugin?
> >>
> >> Ps: the paths are out of my workspace place.
> >>
> >> Thanks,
> >>
> >> Rodrigo.
> >> -----------
> >>
>
>
Previous Topic:Context Class Loader, Soap with Attachments (SAAJ), eclipse 3.1M3 woes
Next Topic:tiling editors programatically
Goto Forum:
  


Current Time: Sat Apr 26 23:58:36 EDT 2025

Powered by FUDForum. Page generated in 0.02514 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top