Ask a Question related to PERL Modules, Design and Development.
-
Altan Tütek #1
$ftp->put doesn't work
Hi,
i wrote a simple script by using Net::FTP to transfer a mpeg file from
/cdrom to the harddisk of my Sattelite-Reciever (which acts ay a ftp
server).
Now my problem is: Normally a 700MB file must be transferred, but when i
execute the script,it says that everything is ok. I also can see the
file on the server but it has a size of 0 byte. Can somebody help me ?
here's the part of the script:
....
$ftp->cwd("hdd/mpeg");
$ftp->type("I");
$ftp->put("/cdrom/mpeg2/avseq01.mpg");
$ftp->quit;
....
Altan Tütek Guest
-
Can't get <img> to work in XML
I'm using PHP to grab info from a database and then spit out an XML file. I'm loading the XML file into my fla and having no problems getting the... -
Links don't work in Shockwave movie but work in p
Hi, everyone: I encountered a strange problem. I downloaded a sample movie from Macromedia site and noticed that the same problem occurs what I had... -
F12 doesn't quite work
I press F12, and the page displays locally, but the included files (PHP) don't get included. I could've sworn it was working, once upon a time. Now,... -
Still trying to get a Mac to work with GPS
I am still trying to get a Mac to work with GPS. All of the leads so far suggested have not pointed me towards a soltion, allowing the use of a Mac... -
Net work set up
1)i have 2 computers both with a network card connected by cable. 2) when running main (internet)computer XP home o/s 2nd computer 98 o/s the 2... -
Sisyphus #2
Re: $ftp->put doesn't work
Altan Tütek wrote:
Specify 'Debug => 1' in the new() constructor and see if that tells you> Hi,
>
> i wrote a simple script by using Net::FTP to transfer a mpeg file from
> /cdrom to the harddisk of my Sattelite-Reciever (which acts ay a ftp
> server).
> Now my problem is: Normally a 700MB file must be transferred, but when i
> execute the script,it says that everything is ok. I also can see the
> file on the server but it has a size of 0 byte. Can somebody help me ?
>
> here's the part of the script:
>
> ...
> $ftp->cwd("hdd/mpeg");
> $ftp->type("I");
> $ftp->put("/cdrom/mpeg2/avseq01.mpg");
> $ftp->quit;
> ...
>
anything.
Cheers,
Rob
--
To reply by email u have to take out the u in kalinaubears.
Sisyphus Guest
-
JGP SOLDAT #3
$ftp->put doesn't work
# $ftp = Net::FTP->new("some.host.name", Port => 21, Timeout => 15, Passive =>1, Debug => 0)
# or die "Cannot connect to some.host.name: $@";
Specify 'Passive =>1'JGP SOLDAT Guest



Reply With Quote

