hi
i am new to ScriptFTP and rather than cover
old ground does anyone have a script to do the following?
- login to ftp server
- change directory to sub folder eg "remote-folder"
- copy the contents to "C:\local-folder" on my PC
- delete the contents of "remote-folder"
- disconnect
?
also:
a) there are around 5000 randomly nammed files created for download each time
the script would run. is this a problem as i have no idea of the file names in advance?
b) can this process be scheduled in any way?
cheers guys!
PT
i am new to ScriptFTP and rather than cover
old ground does anyone have a script to do the following?
- login to ftp server
- change directory to sub folder eg "remote-folder"
- copy the contents to "C:\local-folder" on my PC
- delete the contents of "remote-folder"
- disconnect
?
also:
a) there are around 5000 randomly nammed files created for download each time
the script would run. is this a problem as i have no idea of the file names in advance?
b) can this process be scheduled in any way?
cheers guys!
PT
- login to ftp serverOPENHOST()
- change directory to sub folder eg "remote-folder"CHDIR()
- copy the contents to "C:\local-folder" on my PCSYNC()
- delete the contents of "remote-folder"DELETEFILE()
- disconnectCLOSEHOST()
a) there are around 5000 randomly nammed files created for download each timeNo, SYNC()
the script would run. is this a problem as i have no idea of the file names in advance?
b) can this process be scheduled in any way?Yes