Topic "Using Put Command with Wildcards and Delete Option"

Author Message


I am doing the following

option confirm off
option transfer binary
open <Connect to sftp>
cd <remote directory>
lcd <local Directory>
put -delete -nopermissions -nopreservetime *.imp

Problem I am having is that if there is no imp files I get an error.
I need to put the files on the remote server in a specific order, so that a flag files goes last.

Any Suggestions ?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26857
Location: Prague, Czechia
This has been resolved in 5.0.x beta:
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License