Re: unable to delete file on remote server (General questions)
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:
- unable to delete file on remote server - Shaz Rashid, 2005-03-09, 14:39
- Re: unable to delete file on remote server - wodSupport, 2005-03-09, 15:40
- Re: unable to delete file on remote server - Shaz Rashid, 2005-03-10, 06:45
- Re: unable to delete file on remote server - wodSupport, 2005-03-10, 07:01
- Re: unable to delete file on remote server - Shaz Rashid, 2005-03-10, 06:45
- Re: unable to delete file on remote server - wodSupport, 2005-03-09, 15:40