[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.tm] Re: RSE:What is the use of RemoteSystemsTempFiles in workspace?

The approach RSE uses for downloading and uploading is a design decision. 
When opening a file for editing, RSE downloads to the RemoteSystemsTempFiles 
project so that the file can be edited as an IFile using standard Eclipse 
editors.  This project is a local cache of downloaded files with associated 
information like timestamps to allow for in-place editing.  This is true 
even in the case of a Local file subsystem, where download() and upload() 
methods are essentially copying files - the RSE framework treats the local 
file subsystem the same as any other remote file subsystem.  The mechanism 
used for transfering files between different systems follows the pattern of 
first downloading to the RemoteSystemsTempFiles project if necessary (like 
in the editor scenario) and then uploading to the target Remote file 
subsystem to maintain consistency.  As a rule, things can get problemmatic 
when one subsystem makes assumptions about other subsystems so no special 
exceptions are made for things like transfering to local.


"hemeihua " <he.meihua@xxxxxxxxxx> wrote in message 
news:319ff213cb60df563b9520d5a26b61c2$1@xxxxxxxxxxxxxxxxxx
> When we use RSE FTP to download a file from remote system to my pc,
> the RSE FTP will copy this file from remote system to the floder named 
> RemoteSystemsTempFiles in workspace at first,and then copy this file from 
> RemoteSystemsTempFiles to target floder in my pc. Why not to copy a file 
> from remote system to target folder in my pc directly?
> what is the use of RemoteSystemsTempFiles in workspace?
>
> Best Regards,
> hemeihua
>
>