I try to upload an folder (Zend Framework) but instead of copying the hole structure WinSCP is only copying the source file in the last subdirectory to the actual remote folder.
The script is basic:
option confirm off option transfer binary open foo@xtf cd library rmdir My put library\My\
The result and also the folder structure is shown here:
library\My | 0 KiB | 0,0 KiB/s | binary | 0%
library\My\View | 0 KiB | 0,0 KiB/s | binary | 0%
library\My\View\Helper | 0 KiB | 0,0 KiB/s | binary | 0%
AutoRefreshRewriter.php | 2 KiB | 0,0 KiB/s | binary | 100%
Any ideas how I can fix this problem?