Thread perl code um text files unix2dos konvertieren (37 answers)
Opened by cc at 2004-06-20 04:16

cc
 2004-06-21 16:12
#83622 #83622
User since
2004-01-09
55 Artikel
BenutzerIn
[default_avatar]
[quote=steffenw,21.06.2004, 13:54]
Quote
put ( LOCAL_FILE [, REMOTE_FILE ] )

Put a file on the remote server. LOCAL_FILE may be a name or a filehandle. If LOCAL_FILE is a filehandle then REMOTE_FILE must be specified. If REMOTE_FILE is not specified then the file will be stored in the current directory with the same leafname as LOCAL_FILE.
Returns REMOTE_FILE, or the generated remote filename if REMOTE_FILE is not given.

NOTE: If for some reason the transfer does not complete and an error is returned then the contents that had been transfered will not be remove automatically.


Probiere mal FILE anstatt \*FILE, ich habe das auch noch nicht gemacht.[/quote]
hallo steffenw

habe probiert, bekomme aber auf dieser linie folgende fehlermeldung:

Bareword "FILE" not allowed while "strict subs" in use at conv.cgi line 30
Execution of conv.cgi aborted due to compilation errors.

eignetlich \*FILE scheint mir logisch und wundert mich auch,
dass nicht funktioniert.

gruss
cc\n\n

<!--EDIT|cc|1087820256-->

View full thread perl code um text files unix2dos konvertieren