Version 3 (modified by Sewi, 3 years ago) (diff)



This feature has a partial implementation and it needs a better description how it should work.

Remote editing via FTP (#12), HTTP, SSH and other protocols

Use File -> Open... -> Open URL to open a remote file.

Examples of valid URLs:

Some parts have special behavior depending on the URL type. Example: The file-refreshed-on-disk check is done less often.

Current state


  • Currently read-only


  • Supports anonymous ftp
  • Supports authenticated ftp (username/password)


(Need to check)


Automated tests are in t/94.padre-file-remote.t but you have to set the environment variable PADRE_NETWORK_T to true to enable them.

Manual test: Open the following URLs with File -> Open... -> Open URL:


  • Build a better UI for the open dialog
    • Good example: VLC open dialog with different tab's for each supported protocol (source for vlc)
  • Convert all Padre disk i/o to use Padre::File
  • Find a solution for syntax check and "run file"
    • A file edited over SSH could be checked/run at the remote server
    • HTTP/FTP don't easily support run, but FTP files might be run-able via HTTP (CGI scripts)