in reply to How Do I Use Net::FTP
Per the POD:
LOCAL_FILE may be a filename or a filehandle. If not specified, the file will be stored in the current directory with the same leafname as the remote file.
Personally I would use the filehandle option. That way you can do your own checking as to whether or not open succeeded. Also remember that if you're sending non-textual data, you need to specify binary transfer mode, and binmode for your open filehandle.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How Do I Use Net::FTP
by Doyle (Acolyte) on May 17, 2005 at 15:46 UTC | |
by davido (Cardinal) on May 17, 2005 at 15:57 UTC | |
by Anonymous Monk on May 17, 2005 at 19:33 UTC | |
by davido (Cardinal) on May 17, 2005 at 19:41 UTC | |
by radiantmatrix (Parson) on May 17, 2005 at 20:40 UTC |