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

Hushham

Thankyou Martin, i'll give it a try.
martin

Re: Put delete Uploads file to wrong directory (root directory)

Hushham wrote:

The issue is that it uploads file at 2 locations (I have mentioned one folder only).
It uploads in mentioned folder as well as the root.

Your put command upload the files to the current working directory (what is probably the root directory that you refer to).
If you want to delete the local files, use del Windows command (not WinSCP command).

Though you better check this FAQ:
https://winscp.net/eng/docs/faq_delete_synchronized_files
Hushham

Put delete Uploads file to wrong directory (root directory)

Hi support team,

I am using below command, It should first synchronize the remote directory and then delete all files from local.
The issue is that it uploads file at 2 locations (I have mentioned one folder only).
It uploads in mentioned folder as well as the root.

Commands are
synchronize remote -filemask=*.csv C:\Users\hash\Desktop\BI\ /ZTEFSD/
put -delete C:\Users\hash\Desktop\BI\*.*

logfile is attached.

Thanks