Remotely delete before upload

Advertisement

Guest

Remotely delete before upload

Hello,

I'm using WinSCP to connect to a CNC machine, via FTP, but I no way to configure the CNC FTP host.

I can put and delete files on the host, but when I use WinSCP to upload and replace an existing file, the host doesn't allow me to replace it, this is, I need to first manually delete the existing file and then upload the new file.

Is there a way to set this behavior in WinSCP? This is, when uploading the file, to first delete the file and only after that upload the new file?

Thanks in advance.

Reply with quote

Advertisement

Guest

Re: Remotely delete before upload

Anonymous wrote:

Hello,

I'm using WinSCP to connect to a CNC machine, via FTP, but I no way to configure the CNC FTP host.

I can put and delete files on the host, but when I use WinSCP to upload and replace an existing file, the host doesn't allow me to replace it, this is, I need to first manually delete the existing file and then upload the new file.

Is there a way to set this behavior in WinSCP? This is, when uploading the file, to first delete the file and only after that upload the new file?

Thanks in advance.

Only way that I've managed to do this is, to first download the remote file and remove it from the remote location, with "Get -delete filename"
I then have a bat file that deletes the downloaded file from the local location to which it was downloaded...
Not as streamlined as it could be if the software was capable...but it works.

Reply with quote

Advertisement

You can post new topics in this forum