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

DJSISHERE

Using Put Command with Wildcards and Delete Option

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 ?