multiple upload, only 1 file uploaded ? (wodSFTP / wodSFTP.NET / wodSFTPdll)
Hi,
Trying out the demo and i've found everything works fine
so far except if i do multiple uploads. i have blocking mode
enabled...i'm doing like this:
sFromLocalDir = c: mp
bFirst = True
While Util_GetNextFilename(sFromLocalDir, , sFilename, bFirst) <>
m_Sftp.SendFile sFromLocalDir & sFilename
bFirst = False
' DoEvents 'don't think i need this
Wend
..this will iterate through my local dir and send up to the sftp
server. SendFile is just an internal wrapper class around PutFile,
..what happens is that the 1st file is sent with no problems, but after that, no more files are sent(?)...there are no errors (i have a
catch in my SendFile function, Err.Number = 0 )...stepping through
the debugger all files are valid, etc.
..any idea what's wrong ? ..thanks