Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

@tyeth: The question is about WinSCP scripting mkdir command. Not about shell mkdir command.
Though you can call shell mkdir command using call scripting command:
call mkdir -p many/levels/of/folders
tyeth

use mkdir -p many/levels/of/folders.
This will be server dependant, but is pretty standard, and will create all four folders at once.
martin

Re: How to create a folder in the remote linux machine.

@SHIYAS: Just use mkdir multiple times. Note that you cannot create more levels with one command.
Guest

Re: How to create a folder in the remote linux machine.

Is it possible to create nested directory through WinSCP commanline?

Thanks
SHIYAS M
Guest

Hi

Can I get an update from someone. It would someone look into this issue.

Thanks
SHIYAS M
Shiyas M

How to create a folder in the remote linux machine.

Hi

I have created a script to transfer files from windows machine to linux machine which get execute through batch file. Now a new requirement has come in such a way that..files belongs to respective folder need to get transferred to same named folders in linux machine. Right we are transferring it into one single folder. These are client data. And every week new client gets added. So I would like to know how to create folder on remote linux machine in winscp commandline scripts. Kindly help on this.

Thanks
SHIYAS M