Web Hosting Talk







View Full Version : schedual FTP


babarami
08-01-2002, 02:52 PM
My Friends,
Have anyone experience for an existing FTP software, where i can schedual tasks. I will explain :buck:
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??

apollo
08-01-2002, 03:24 PM
I guess you should use perl and LWP cpan bundle. This will require a coding knowledge... are you on unix/linux?

Lagniappe-labgeek
08-01-2002, 03:36 PM
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.

babarami
08-01-2002, 04:01 PM
i can use both unix and windows, and i do not have experience in perl

priyadi
08-02-2002, 05:02 AM
Under UNIX you can use ncftpput:


ncftpput -u username -p password server remote-dir files ...


Stick that in your crontab.

MikeM
08-02-2002, 10:05 PM
you can try AutoFTPProAutoFTPPro (http://www.primasoft.com/32org/32ftpro.htm)

or

WS_FTPPro (http://www.ipswitch.com/Products/WS_FTP/index.html)

These may be what you are looking for in terms of windows clients.

izcryptman
08-03-2002, 10:34 AM
wudnt it be better if u just put the task in Windows task scheduler ?

Pingu
08-03-2002, 08:10 PM
That's exactly what WS_FTPPro does: you configure all the settings through WS_FTP, and then it adds it to the Windows Scheduler