-
Notifications
You must be signed in to change notification settings - Fork 6
Open and Save to remote location
Harry Kakoulidis edited this page Feb 16, 2020
·
1 revision
Just like local files, OptiPerl can open and save a remote file on a remote server. This is done from menu File / Open and Save to remote location. When doing this, you have some extra features:
- All the FTP sessions are handled from the Remote transfer sessions dialog. Especially the section "Remote running" has to do with files opened with this method.
- If "Run with server" is enabled, different rules apply to the URL that gets sent to the browser, and depend on the section "Remote running" in Transfer sessions setup dialog. For example, you can setup the transfer session, so that running the remote file
index.html
downloaded fromftp.mysite.com
at path/htdocs/index.html
, will actually callhttp://www.mysite.com/index.html
. This is done with the "Document Root", "Links to URL" and "Aliases" field in the above section. - If the option "Upload automatically" is enabled in the Options dialog / Running then the file will be uploaded automatically when edited before running.
A remote file however when opened, is not only saved in memory; a temporary file is also created in the Application Data folder under subfolder Sessions\Session Name\Remote Path to file\Filename. This has some advantages:
- All internal and user tools that require a real file to function work.
- You can open cached files from menu File / Open cached remote file that know automatically that before running will need to be uploaded first.