But now it adds a space to the end of the file, so the file for example is named "test.html " instead of "test.html"print "Connected to Website\n"; $ftp->login($user,$password) or die ("cant Login"); $ftp->binary or die ("cant Binary"); $ftp->hash or die ("cant Hash"); $ftp->cwd("public_html") or die ("cant Change Dir"); $ftp->cwd("jobs") or die ("cant Change Dir2"); $ftp->put("temp.html") or die ("cant Upload"); $ftp->rename("temp.html", $wrname) or die ("Cant Rename"); print "File Uploaded"; $ftp->quit;
In reply to Re: Net::FTP
by footbinc
in thread Net::FTP
by footbinc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |