Doing a "Touch" on the files in the remote directory

Advertisement

Arul
Guest

Doing a "Touch" on the files in the remote directory

I need a script to do a "touch" on the files on the remote directory after FTP'ing the files over. Any scripts are welcome.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
Location:
Prague, Czechia

Re: Doing a "Touch" on the files in the remote directory

You can use "call" command. Are you indeed using FTP protocol? Or other?
_________________
Martin Prikryl

Reply with quote

Arul
Guest

I am using the sFTP protocol for transfer of files. How do I use the call statement in my script and how do Ido a Touch on the remote files. I am a newbie and an example would certainly help.

Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
Location:
Prague, Czechia

Arul wrote:

I am using the sFTP protocol for transfer of files. How do I use the call statement in my script and how do Ido a Touch on the remote files. I am a newbie and an example would certainly help.
Most usually:
call touch file
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum