Search found 3 matches

by authorleon
11 Apr 2015 19:04
Forum: DOS Batch Forum
Topic: How can I parse FTP log file lines into another format
Replies: 3
Views: 2321

Re: Is this even possible

This is a list of all the commands you can run. m Solution: echo off setlocal EnableDelayedExpansion for /F "delims=" %%a in (test.txt) do ( set "line=%%a" if "!line:~0,1!" equ "/" ( set "header=%%a" ) else ( echo !header:~0,-1!/%%a ) ) Thanks to m ...
by authorleon
11 Apr 2015 17:51
Forum: DOS Batch Forum
Topic: How can I parse FTP log file lines into another format
Replies: 3
Views: 2321

Re: Is this even possible

Hello,


Yes. I have looked but I could not find anything. I am not an expert but I cannot find a solution for this.

Thanks
by authorleon
11 Apr 2015 17:31
Forum: DOS Batch Forum
Topic: How can I parse FTP log file lines into another format
Replies: 3
Views: 2321

How can I parse FTP log file lines into another format

I really need some help here. I have been racking my brain for about 2 weeks. I use ftp.exe with the ls command, however is does not export FULL paths. The text file looks likes this: /var/www/xxx/video_folder_1: New folder New folder - Copy New folder - Copy (10) New folder - Copy (10) - Copy New f...