Jeff-
You may be on the right track...
Maybe the problem is in $new_file_name?
use File::Basename wq(basename);
my $new_file_name = basename($input_file);
die "no such file: $input_file" unless -s $input_file;
The first two lines of this gave me problems, with the error:
Undefined subroutine &main::wq called at /home/auctionb/public_html/cgi-bin...bla, bla
But the third line (the die line) got me an interesting error message (when the first two lines were commented out):
no such file: e:\test\picture.jpg at /home/auctionb/public_html/cgi-bin/auction/bulklister.pl line 280.
It looks to me, based on this, that it can't find my input file,
e:\\test\\picture.jpg. So why is that? It looks to me that for some reason the script (at the host) is not looking for the file at my local computer... ideas?
You also advised:
Test it against your own FTP server running with verbose logging and see what the FTP server logs report?
You will have to excuse my technical ignorance here, but I am not sure what you mean or how to do it. :(
-Matt :)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.