T
Tim
I'm shelling FTP from within VBA to retrieve a file from one of our servers.
The process is running correctly from my work directory, but when I move it
to a public directory - nothing else changes except for the location of the
..mdb - it appears that the FTP process is not finding the desired file
(which does exist and which is retrieved when I run the exact same .mdb [no
changes] from the work directory).
Two questions:
1. Is there something unique about the"spawned" process that inherits
rights / priveleges from the directory from which the .mdb was run?
2. Is there a means of logging the results of the FTP when it is shelled?
Meaning... if, at a command line, I type:
ftp -s:somefile >someLog.txt
The results of the FTP process are written to someLog.txt. When I attempt
to use that same syntax as the shelled command, ftp runs, but no log file is
created.
Oh... the PID returned by the shell command is non-zero, so it appears as if
the FTP command is executing w/o a problem. It's just not returning the
file (a GET).
Any observations on prior experience, or hypothesis on what might be
occurring, would be most welcome.
TIA
The process is running correctly from my work directory, but when I move it
to a public directory - nothing else changes except for the location of the
..mdb - it appears that the FTP process is not finding the desired file
(which does exist and which is retrieved when I run the exact same .mdb [no
changes] from the work directory).
Two questions:
1. Is there something unique about the"spawned" process that inherits
rights / priveleges from the directory from which the .mdb was run?
2. Is there a means of logging the results of the FTP when it is shelled?
Meaning... if, at a command line, I type:
ftp -s:somefile >someLog.txt
The results of the FTP process are written to someLog.txt. When I attempt
to use that same syntax as the shelled command, ftp runs, but no log file is
created.
Oh... the PID returned by the shell command is non-zero, so it appears as if
the FTP command is executing w/o a problem. It's just not returning the
file (a GET).
Any observations on prior experience, or hypothesis on what might be
occurring, would be most welcome.
TIA