1) A regular file named "test.txt".
2) A subridectory named "subdirectory".
put -delete \\myshare\fullpath1\*[.]* /fullpath2/
uploads nothing, but should upload "test.txt" only.
put -delete \\myshare\fullpath1\*.* /fullpath2/
uploads both the file and the directory, and this is the expected behaviour.
So, how do I upload files only?
It's OK to upload only files with extensions.
Windows 7 x64
WinSCP, Version 5.5.6 (Build 4746)
Runs from 64-bit cscript.exe, VBScript.