SFTP does not fire IwodFTPDNotify_Command for uplo (General questions)
I was trying to figure why my server transfer stats were not being updated when run in SFTP mode and after some testing, I have found that IwodFTPDNotify_Command does not fire at the point of STOR OR RETR. Here is my test log for all protocols. All work except SFTP. I even get same error when using your sample code.
FTP upload and download results from IwodFTPDNotify_Command:
=> SYST
=> FEAT
=> PWD
=> TYPE I
=> PASV
=> STOR DV_atr_t.bmp
Progress 27740/0
Progress 32454/0
=> TYPE A
=> PASV
=> LIST
=> TYPE A
=> PASV
=> LIST
=> TYPE I
=> PASV
=> RETR DV_atr_t.bmp
Progress 32454/32454
SFTP upload and download results from IwodFTPDNotify_Command. See no stor or retr commands:
=> CWD /
=> LIST
=> STAT /DV_atr_t.bmp
=> STAT /
REL /
RES C:iFTPsvrhprs
Progress 8192/0
Progress 16384/0
Progress 24576/0
Progress 32454/0
=> STAT /.
REL /
RES C:iFTPsvrhprs
=> CWD /
=> LIST
=> STAT /.
REL /
RES C:iFTPsvrhprs
=> CWD /
=> LIST
=> STAT /DV_atr_t.bmp
=> STAT /
REL /
RES C:iFTPsvrhprs
Progress 4096/32454
Progress 8192/32454
Progress 12288/32454
Progress 16384/32454
Progress 20480/32454
Progress 24576/32454
Progress 28672/32454
Progress 32454/32454
NO REFERENCE TO STOR OR RETR
SSL Implicit upload and download results from IwodFTPDNotify_Command:
=> SYST
=> FEAT
=> PBSZ 0
=> PROT P
=> PWD
=> TYPE I
=> PASV
=> STOR DV_atr_t.bmp
Progress 8192/0
Progress 16384/0
Progress 24576/0
Progress 32454/0
=> TYPE A
=> PASV
=> LIST
=> TYPE A
=> PASV
=> LIST
=> TYPE I
=> PASV
=> RETR DV_atr_t.bmp
Progress 32454/32454
SSL Explicit upload and download results from IwodFTPDNotify_Command:
=> SYST
=> FEAT
=> PBSZ 0
=> PROT P
=> PWD
=> TYPE I
=> PASV
=> STOR DV_atr_t.bmp
Progress 4096/0
Progress 16384/0
Progress 28672/0
Progress 32454/0
=> TYPE A
=> PASV
=> LIST
=> TYPE A
=> PASV
=> LIST
=> TYPE I
=> PASV
=> RETR DV_atr_t.bmp
Progress 32454/32454