Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP script anyone?
Message
From
15/07/2002 12:22:03
 
 
To
All
General information
Forum:
Windows
Category:
Troubleshooting
Title:
FTP script anyone?
Miscellaneous
Thread ID:
00678739
Message ID:
00678739
Views:
51
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
Next
Reply
Map
View

Click here to load this message in the networking platform