no problem connecting to host. no problem getting list of files loftp.FtpListFiles("/Outbox") but got the seek error with the loftp.ftpgetfileex(mfrom,mto) command mfrom="/Outbox/test2.txt" mto = "X:\bin\test2.txt" tried changing the mto to other folders with same error. was working using DOS psftp.exe script, want to get away from DOS shell. Usually the file in the /Outbox directory would go away right after the get command (as being happening via the DOS script) But when I got the seek error, the destionation file stays (confirmed by admin monitoring at the other end, saying no extraction efforts have been logged); on my end, I did receive the file, but it's empty with 0 byte. Need help. Steve Yu in Houston
I am using ?Version 6.17
? October 20th, 2017 Steve Yu
Upon further testig, it now works with the high level get: o.FtpGetFile(lcFTPServer, lcFtpSource, lcLocalTarget, lnBinary, lcUsername, lcPassword)
Except I had to remove the lnBinary para from the list. was getting not able to connect with the lnBinary in place.
Not logical, but it works. I had other cases that were just the opposite. So I just have to try both in the future to see which one works. Steve Yu
I think this was fixed in later versions. If I recall this was fixed with a bug fix in the underlying .NET component that's handling the actual transaction.
I think it was you who reported this issue and we went through it then?
+++ Rick ---
Thanks for the reply, Rick. Can't remember if I posted this issue before. We are sticking with the high-level call for now, as long as it works. The wwsftp helps us a lot, allowing us to get off the Dos Shell which is causing problems as we moved to new Windows server 2016. Just came back from one week stay at Ridge Villa in Kapalua, lovely island living. Really envy anyone who can afford to live there, everything so expensive. Regards,
Steve Yu in Houston.