Re: multiple upload, only 1 file uploaded ? - WeOnlyDo Discussion board

Re: multiple upload, only 1 file uploaded ? (General questions)

by Arrow, Thursday, June 02, 2005, 22:27 (6913 days ago) @ wodSupport

did you try setting sftp.Blocking = true?

yes it is (i mentioned it was enabled in my 1st post)

...anyway, i found the problem ...it appears to be
a bug in component :P As mentioned i set the remote dir with
a call to RemotePath 1st...then i iterate through my local files
and call PutFile, specifying only the local dir/file ...it
should use my RemotePath correct ? ...but it only works for the
first one ...i found to make it work, i explicitly have to
add the remote path parameter to the PutFile method everytime ...the
other weird thing that threw me was that i log after every PutFile
and my log calls RemotePath, it was showing the correct path
everytime, even though it wasn't putting the file there.


Complete thread: