Differences

This shows you the differences between the selected revisions of the page.

library_remotepath_translatelocalpathtoremote 2018-01-17 library_remotepath_translatelocalpathtoremote 2025-06-18 (current)
Line 1: Line 1:
====== RemotePath.TranslateLocalPathToRemote Method ====== ====== RemotePath.TranslateLocalPathToRemote Method ======
Generates a remote path equivalent of a local path, given root paths. Generates a remote path equivalent of a local path, given root paths.
- 
-//This method exists only in the latest beta release. In previous versions there is an equivalent member method ''[[library_session_translatelocalpathtoremote|Session.TranslateLocalPathToRemote]]''//. &beta 
===== Syntax ===== ===== Syntax =====
Line 40: Line 38:
It makes no difference if ''localRoot'' and ''remoteRoot'' end with slash (backslash) or not. It makes no difference if ''localRoot'' and ''remoteRoot'' end with slash (backslash) or not.
-For an opposite operation, see ''[[library_remotepath_translateremotepathtolocal|RemotePath.TranslateRemotePathToLocal]]''.+For the opposite operation, see ''[[library_remotepath_translateremotepathtolocal|RemotePath.TranslateRemotePathToLocal]]''.
===== Examples ==== ===== Examples ====
Line 46: Line 44:
==== Real-Life Example ==== ==== Real-Life Example ====
-  * [[library_example_moves_files_keeping_directory_structure|Recursively move files in directory tree to/from SFTP/FTP server while preserving source directory structure]]; +  * [[library_example_moves_files_keeping_directory_structure|*]]; 
-  * [[library_example_parallel_transfers|Automating transfers in parallel connections over SFTP/FTP protocol]].+  * [[library_example_parallel_transfers|*]].

Last modified: by martin