Schedule a tranfer
Example: to day we are The 07-08-2005 and i like to get the following file WFR2yyyymmddDE1 at 12 o clock.
yyyymmdd is date of the day.
Tancks for your Help ! :roll:
Advertisement
Advertisement
How can I give you an example, when I do not give me any hint as to what you want to do?:wink: Hello admin !
plase give me some Example "Schedule a tranfer" with PHP
thank you very much
Advertisement
Advertisement
That explains everything.The problem is....is that you seem to be a dick.
If you are using 3.8 beta, please downgrade to 3.7.6.
Advertisement
You should better download the latest version, 3.8.2.could you please provide the link to download 3.7.6?
You should better download the latest version, 3.8.2.could you please provide the link to download 3.7.6?
It is not true. Why do you think so?the latest version does not allow for wildcard transmission; meaning I can't download a group of files from one directory who's extention is xls.
You will need to dynamically modify your script. You may use the very same techniques as shown in this example.But I have another question. and I'll explain the scenerio... there is a remote directory that is populated with files that have the date stamped on the filename (format: filename_YYYYMMDD_timestamp, ex:test_20061102_115255) I would like to download all the files that are created for that particular day onto my local drive. if this can be done please provide an example.
you need to generate ftp script dynamically through a program
-snipped-
But I have another question. and I'll explain the scenerio... there is a remote directory that is populated with files that have the date stamped on the filename (format: filename_YYYYMMDD_timestamp, ex:test_20061102_115255) I would like to download all the files that are created for that particular day onto my local drive. if this can be done please provide an example.
ThX,
-- open new ftp macro file for write -- '\n' is new line char '\\' is escaped backslash integer df -- variable to hold the file# df = open("testscp.get","w") puts(df,"option batch abort\noption confirm off\n") puts(df,"option echo off\noption transfer ascii\n") puts(df,"cd /remotefolder\n LCD c:\\data\\\n") puts(df,"get myfile_" & GD_Julian &"*.txt\n") puts(df,"exit\n") close(df) -- call ftp client from Euphoria program integer handle -- variable to hold the result from FTP handle = system_exec( "winscp405.exe /script=testscp.get " & "/ini=c:\\tools\\bin\\winscp_normal.ini " & "host" ,0) -- ftp failed. Send result back to windows task scheduler if handle then abort(1) end if
Advertisement
You can post new topics in this forum