PDA

View Full Version : automatic file downloading: future request?


V.Vorobyev
02-27-2006, 03:50 AM
task:
copy X1 .. Xn files from Y1 .. Yn dirs with Z1, Z2, Z3 as exclusions for X&Y
from remote host to localhost (sfxcl)

we have:
list of files/dirs to copy, file/dir masks (or other exclusions) and a stored session w/public key

solution:
create an array [XX1 .. XXm] where XX NOT IN (Z1..Z3) (i do it with Perl)
copy with sfxcl 1 file at a time OR N <= m files at a time using /s /A1 XX1 /s /A1 XX2 ... /s /A1 XXm

question:
1) is it possible (or will be - in future releases) to copy this list of files at once w/o "/s /A1" for each file?
2) is it possible (or will be - in future releases) to IMPORT list of files (AND local destination folders FOR EACH ) from TEXT FILE?



p.p.s. sorry for my english.

miked
02-27-2006, 05:37 PM
Hello,

I've added a feature request for the ability to use a text file to specify a list of files to transfer, as well as the destination. Your first request seems similar.

How do you envision your first request working, and how is it different than the second?

Would using wild cards help you?

V.Vorobyev
02-27-2006, 10:05 PM
I've added a feature request
thx.



How do you envision your first request working, and how is it different than the second?
it's simple:
1) when i try to copy _few_ files from _one_ source server now i MUST use prefix "/s /HOST" for EACH file.
i think it's clear to understand that LAST path in cmd-string is dest.path, and all paths before it are all from the same source HOST if no other "/s /..." found.
2) getting file/dir list from file (for a huge data/file transfers )




Would using wild cards help you?
no.


4ex:

include files/dirs to backup (";digit" is a directory "deepness"):
c:\temp\avz4\
c:\temp\my_boot_fdd_2\;1
c:\temp\;0
c:\temp\usb_stick\b*.exe,*zip*, *.com,*.bin;5
exclude files/dirs:
c:\temp\my_boot_fdd_2\aspi\
c:\temp\avz4\version.txt
c:\temp\usb_stick\*.bin;3
c:\temp\usb_stick\3com\5.4 final\;1
*.bat,*.bak


so, you can see that complexity of this task is high.
sfxcl wild cards are week for this. isn't it.

miked
02-28-2006, 05:46 PM
Thank you for clarifying. I agree that what you're doing looks complex task and there doesn't seem to be a way to use wildcards to simplify the command.

I've added a feature request for the ability to specify a /S flag only once for all of the source files, and included your description as well. If we add either feature and you would like to be notified by e-mail, please send e-mail to support@vandyke.com and reference forum thread number 1306.