Help with get

Advertisement

Guest

Help with get

ok this is the command I am working on I am making an auto it script and this is the line im using I need to transfer the file to the main drive with out knowing the drive letter because sometimes we deal with installs on d or e is there a way to do this through the command line with out me having to use a ton of if then statements and what not.

winscp.com /command "open ftp://blahblah.ftp -passive" "get file \directory on main drive\"

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Help with get

Well either you start WinSCP from the drive you want to download to and use drive-less path. Or you may have the drive in environment variable and use it from the script.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum