Results 1 to 8 of 8
Thread: schedual FTP
-
08-01-2002, 02:52 PM #1Web Hosting Guru
- Join Date
- Jul 2002
- Location
- lebanon
- Posts
- 273
schedual FTP
My Friends,
Have anyone experience for an existing FTP software, where i can schedual tasks. I will explain
As we know we can schedual our Norton to do scan in a specific time, .......
What i am looking for is to schedual FTP program to login into an an account and upload a specific file or some files. Hope you understand what i want,
Any one can help??rami
-
08-01-2002, 03:24 PM #2Web Hosting Master
- Join Date
- Feb 2002
- Posts
- 2,120
I guess you should use perl and LWP cpan bundle. This will require a coding knowledge... are you on unix/linux?
-
08-01-2002, 03:36 PM #3Web Hosting Guru
- Join Date
- Jul 2002
- Location
- The Big Easy -New Orleans
- Posts
- 341
Most FTP 'nix FTP clients allow the -n command for no autologin.
Combine that with a scrpt file and you can script simple FTPs and use a simple shell script to kick it off
for example...
inside the shell script say myftp.sh:
ftp -n <ftpcommandfile
inside of ftpcommandfile:
user (username) (password)
cd /some/dir/where/the/file/lives
get (thierfilename)
close
quit
Then use cron to schedule the running of the shell script. You'll want to lock down who can read the ftpcommandfile as it'll have the username and password in it.
-
08-01-2002, 04:01 PM #4Web Hosting Guru
- Join Date
- Jul 2002
- Location
- lebanon
- Posts
- 273
i can use both unix and windows, and i do not have experience in perl
rami
-
08-02-2002, 05:02 AM #5Web Hosting Master
- Join Date
- Apr 2001
- Location
- Depok, Indonesia
- Posts
- 988
Under UNIX you can use ncftpput:
Code:ncftpput -u username -p password server remote-dir files ...
-
08-02-2002, 10:05 PM #6Web Hosting Master
- Join Date
- May 2001
- Location
- Prince Edward Island
- Posts
- 965
you can try AutoFTPProAutoFTPPro
or
WS_FTPPro
These may be what you are looking for in terms of windows clients.[url]I got nothing/url]
For clarity's sake, don't use "<ip address of hostname>" use the ACTUAL 32-bit numeric IP address of the machine.
-
08-03-2002, 10:34 AM #7Newbie
- Join Date
- Aug 2002
- Posts
- 17
wudnt it be better if u just put the task in Windows task scheduler ?
-
08-03-2002, 08:10 PM #8Junior Guru
- Join Date
- Jan 2001
- Location
- Netherlands
- Posts
- 236
That's exactly what WS_FTPPro does: you configure all the settings through WS_FTP, and then it adds it to the Windows Scheduler
Hmm, what does this do... Oops!