Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
glob5
- Posts: 34
- Joined: 23 Nov 2010 00:47
#1
Post
by glob5 » 23 Dec 2010 03:31
1. using bat winscp move *.* from a folder on ftp server to a local server.
2. how to get size of a ftp folder

-
aGerman
- Expert
- Posts: 4708
- Joined: 22 Jan 2010 18:01
- Location: Germany
#2
Post
by aGerman » 23 Dec 2010 09:54
Is winscp a command line tool? What kinds of command line options are available?
Regards
aGerman
-
ChickenSoup
- Posts: 79
- Joined: 13 Dec 2010 10:32
#4
Post
by ChickenSoup » 23 Dec 2010 10:23
The only thing i can think of is dumping the file list for the directory into a for loop and then parsing out and adding the files sizes. I'm not the brightest bulb on the forum by far but, this would probably have to be dumped into a file and then parsed with the for loop. This would get trickier if there are subdirectories.
-
aGerman
- Expert
- Posts: 4708
- Joined: 22 Jan 2010 18:01
- Location: Germany
#5
Post
by aGerman » 23 Dec 2010 10:40
Seems winscp is no command line tool but a gui programm. But
here you will find the possible command line options, maybe you could find what you're looking for.
Regards
aGerman