Sorry for the delay getting back to you. Been staying with relatives for
Easter.
I see Douglas helped you out re your import method. Yes the contents must
be in a class module, not an ordinary module. The line:
With New FTPClient
creates a new instance of the object called FTPClient (class modules compile
into an object which can have one or multiple instances, all running
indepentently).
Anyhow, instead of:
try:
..SetDir "/to_bass"
If that fails try:
..SetDir "./to_bass"
Notice the inclusion of a period - some servers need it, others don't.
If you try half a dozen servers, you'll find that they all have quirks.
The only way to solve most of these is "suck it and see".
Also, what are you passing as the FTPFileName parameter?
BTW if that username and password were "real" then I suggest
you change at least the password right now.