winscp.com command to change remote directory

Advertisement

vmanne
Donor
Joined:
Posts:
2

winscp.com command to change remote directory

Hi,

I am using this command syntax to transfer file to remote location.

echo put "file with spaces.dat" | winscp.com /command "open user@example.com" "option transfer ascii"

Question: How do I change the remote target directory from root to root/xx?

I researched to find this post https://winscp.net/forum/viewtopic.php?t=4756 but was not able to find preferences to save the ini file. How do I do that?

Thanks for your time!

Vik

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,430
Location:
Prague, Czechia

Re: winscp.com command to change remote directory

I'm not sure what you mean, maybe you look for:
put "file with spaces.dat" /xx

Reply with quote

Advertisement

You can post new topics in this forum