Hi !
You could try the perlDAV page on webdav.org, they have a lot of information concerning WebDAV.
---- kurt | [reply] [Watch: Dir/Any] |
Yes, it is possible to transfer files from one machine to another using Perl. What exactly do you mean as a 'webfolder', though, I'm not sure.
You will most likely need a module. If you take a look at CPAN, you will find Net::FTP and Net::TFTP might do what you require, amongst many others.
If you can be a bit clearer in your definition of 'webfolder' and what kind of file you want to transfer and from where the current file is stored, then we will be more able to give you a more definitive answer.
Hope this helps.
- wil | [reply] [Watch: Dir/Any] |
Modules are the wheels we have already invented - they contain
nicely packaged routines without exposing and requiring too much of
the internal workings. Many ways to accomplish tasks have
already been written as modules, so while you don't necessarily
need a module in the general sense, you, as you're not
looking for the back-to-nature reinvent-every-wheel way of
doing things, in this special case will need every module
that helps you.
Now, we need to find out, what modules and mechanisms
will help you to do your task. First of all, we need to
know about your task - what is a webfolder ?
If that webfolder is something accessible via your browser,
the chances are quite good that the LWP modules,
possibly LWP::Simple, but for file uploads more LWP::UserAgent
together with HTTP::Request::Common will do the
tasks, together with nice and accurate examples.
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The
$d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider
($c = $d->accept())->get_request(); $c->send_response( new #in the
HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
| [reply] [Watch: Dir/Any] [d/l] |
Thanks for you replies, by 'Webfolder' I mean the link that appears under 'My Computer' on NT, dbl-click then 'Add Web Folder' then you enter the url and then user/password. | [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |