Hallo
I want to upload two files at the same time.
I have this command:
coreftp.exe -s -O -site BB -u "C:\RunningReport\BanakJuni-2012.txt"
and want to upload the following files at the same time:
"C:\RunningReport\BanakJuni2012.xls"
Any help?
upload two files witg commands
-
- Site Admin
- Posts: 1011
- Joined: Mon Mar 24, 2003 4:37 am
two ways you can go about this:
1) Copy the files to a directory, then use a wildcard:
-u "C:\RunningReport\B*"
2) Put filenames in a file with the STOR command and pass the script:
-scal <list_of_files.txt>
list_of_files.txt contains
STOR "C:\RunningReport\BanakJuni-2012.txt"
STOR ""C:\RunningReport\BanakJuni2012.xls"
It seems like it would be an easier option if the -u parameter accepted either a list of files from a text file or separate multiple filenames. I'll update this thread when a new option becomes available.
1) Copy the files to a directory, then use a wildcard:
-u "C:\RunningReport\B*"
2) Put filenames in a file with the STOR command and pass the script:
-scal <list_of_files.txt>
list_of_files.txt contains
STOR "C:\RunningReport\BanakJuni-2012.txt"
STOR ""C:\RunningReport\BanakJuni2012.xls"
It seems like it would be an easier option if the -u parameter accepted either a list of files from a text file or separate multiple filenames. I'll update this thread when a new option becomes available.