Re: unable to delete file on remote server - WeOnlyDo Discussion board

Re: unable to delete file on remote server (General questions)

by wodSupport, Wednesday, March 09, 2005, 15:40 (7198 days ago) @ Shaz Rashid

Shaz,

hmm. Do you do this immediately after you connect? Do you use Blocking = True? Can you paste your current code?

Basically, doing this should be easy:

Sftp.Hostname = something
sftp.Login = something
sftp.password = something
sftp.blocking = 1
sftp.Connect

sftp.DeleteFile /home/joe/somefile

and that's it.

If you don't want to use blocking, then move DeleteFile call to Connected event body.


Complete thread: