Clear questions and runnable code
get the best and fastest answer
How to upload file without using FTP?by madtoperl (Pilgrim)
|on May 24, 2006 at 08:50 UTC||Need Help??|
madtoperl has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to implement a script which upload a fixed gif and html files from a fixed local directory into a fixed folder of our
website, which will be happened everyday, so that i am trying to do some automated process so that I don't have to use
FTP software to upload that file everyday. I have tried the following methode, its uploading the file from local machine to
the web directory through a form, but the problem is it can't read the file size, so its copying 0 bite size file. (but if chose
the file from this Form and say upload its working fine, but if I supply the local directiry path its not working) the code as below
In the code this following portion is not working:
I simply want to use a CGI or perl script to FTP or transfer some perticular file with from a fixed local folder to a fixed
webfolder, but without usiing manual FTP client software.
can anyone help me with this perticular matter? if you need any more info please let me know. if you think is there any
other way please let me know..