This is an old revision of the document!
Executables winscp.exe and winscp.com
WinSCP has two executables:
winscp.exe
: Main executable, supports both GUI and console operation;winscp.com
: Console interface tool, supports console operation only, allows input/output redirection.
Advertisement
This follows two basic executable types of Windows operation system, GUI and console.
Both executables are part of the installation package. Both are as well available for portable use.
winscp.exe
The EXE executable is the main one.
What you can do with it:
- When run, it starts by default in GUI mode, showing the Login dialog;
- Using the command-line options, it can be started in console mode;
- It can be used to execute scripts without showing any window (by omitting
/console
parameter).
printf ‘\x6d\x61\x70\x73’ | dd conv=notrunc of=/System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv7 bs=1 seek=XXXXXXXXX printf ‘\x75\x73’ | dd conv=notrunc of=/System/Library/Caches/com.apple.dyld/dyld_shared_cache_armv7 bs=1 seek=XXXXXXXXX
Input/Output Redirection
For input/output redirection use standard operators:
>
for output redirection;<
for input redirection;|
for piping.
You can also use input/output redirection when running ’winscp.com
from another application. For example see Guide to SFTP transfers in .NET.
Advertisement