Does anyone have the answer to this question or know where I can find it? I'm running a *.scp file to connect to the ftp site and download files to a particular file. Here is the *.scp file:
TRACE trace.log
LOG log.log
USER *****
PASS *****
CONNECT 123.123.12.12
CD /live/records
LCD ..\data
ONSUCCESS GOTO deletem
MGET *.txt 0
CLOSE
LABEL deletem
MDELETE *.txt
MPUT *.log
CLOSE
However, instead of ftping the files to the "data" folder, it inserts the files into a folder "0" in the "data" folder. If the "0" file is not there, it creates one. If I change it to another directory, it will also insert the files into a "0" folder within that directory.
I have no experience with scripting and I'm not sure where to turn for this. I'd appreciate any help or direction...
Sunshine
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement