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

Jakubowsky

Problem solved!

I found that on the client side has been set automatic deletion after you copy files. So command "get" working properly.
Jakubowsky

Any idea?

I´m sending a picture. This simple command copy file from /EXPORT to C:\Techem but file dissapear from /EXPORT. Any ideas why this happen?
martin

Re: get command delete remote file

WinSCP does not delete the remote file (unless you specify get -delete). And it cannot delete the file anyway, if you do not have write permissions.
Jakubowsky

get command delete remote file

Hello,
when I want copy file from remote directory to local using "get" command, remote directory file is deleted.

My code:
/command "option batch abort" "open sftp://..." "option transfer ascii" "cd Remote_Directory" "lcd Local_Directory" "get File_Name"

I have no permission to write on remote directory, can this cause the problem? If yes, why?

Thanks.