I'm switching from MS windows command line batch scripting to wsftp
pro. I'm having difficulty understanding how to send mixed ascii and
binary files in a single script. In MS batch I could do MODE
ASCII/MODE BINARY but WS won't have that. I saw that I can select
ascii/bin on each line with;

MPUT filename dir 0/1

where 0 = ascii and 1 = binary but when I do that the "dir" is set up
as a new subdirectory, so the first file is put in /xxx/yyy, and the
next in /xxx/yyy/xxx/yyy, and the next in xxx/yyy/xxx/yyy/xxx/yyy and
so on until I had subdirectories 48 deep!

Could someone please help me with the correct syntax for this command?
In MS batch I do a "CWD xxx/yyy" at the start of the script and then
all the files would go into that directory.

Thanks!



Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.


An Archive of this list is available at:
http://www.mail-archive.com/wsftp_forum%40list.ipswitch.com/

Reply via email to