Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP script anyone?
Message
 
 
To
15/07/2002 12:22:03
General information
Forum:
Windows
Category:
Troubleshooting
Miscellaneous
Thread ID:
00678739
Message ID:
00678765
Views:
12
I would try
MGET *.txt
>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
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform