Absolute path

See all posts Reply

Absolute path new!
by Luca, 17 years, 2 months ago
Hi,

is it possible to upload file trought absolute path?
i.e.

$handle = new Upload('http://www.mysite.com/myfile.jpg');

I try but it doesn't work...Reply
Re: Absolute path new!
by Luca, 17 years, 2 months ago
I don't know if this can help to understand my problem. I receive from log this:

source is a local file http://www.mysite.com/myfile.jpgReply
Re: Absolute path new!
by colin, 17 years, 2 months ago
No, it is not possible. You should retrieve the file first and save it locally, then use the class on it.

See this thread which discussed the issue already.Reply
Re: Absolute path new!
by Luca, 17 years, 2 months ago
Thank you Colin, for your quick answer. I follow your suggestion.Reply