470,867 Members | 1,784 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,867 developers. It's quick & easy.

Upload automatically

ad
Hi
Is it possible to have a php page, whenever I open the page it automatically
up load all files from a specified folder in my local c drive?

Regards


Jul 17 '05 #1
11 4195
ad wrote:
Hi
Is it possible to have a php page, whenever I open the page it automatically
up load all files from a specified folder in my local c drive?

Regards


I'm guessing you're on Windows (that "C: drive" part)... so:
You could install PHP on your local machine and set it up to run a PHP
script that uploads files from a directory on your local drive to a web
folder, or you could write a batch file that sends FTP commands.

My .02 is that the batch file would be the better way to go. I'm
looking, but not finding, a link to something akin to this I was reading
a day or two ago. I'll post it when I find it.

- Dan
http://www.dantripp.com/
Jul 17 '05 #2
ad
Thanks Dan, Please let me know if you find that link.

ad

"Dan Tripp" <th*******@MyEMailAddress.com> wrote in message news:zr*******************@newssvr25.news.prodigy. com...
ad wrote:
Hi
Is it possible to have a php page, whenever I open the page it automatically
up load all files from a specified folder in my local c drive?

Regards


I'm guessing you're on Windows (that "C: drive" part)... so:
You could install PHP on your local machine and set it up to run a PHP
script that uploads files from a directory on your local drive to a web
folder, or you could write a batch file that sends FTP commands.

My .02 is that the batch file would be the better way to go. I'm
looking, but not finding, a link to something akin to this I was reading
a day or two ago. I'll post it when I find it.

- Dan
http://www.dantripp.com/



Jul 17 '05 #3
make an activex object in c or vb, and have it on the page, then that code
cal do the upload

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"ad" <gw****@yahoo.com> wrote in message
news:40**********************@lon-reader.news.telstra.net...
Hi
Is it possible to have a php page, whenever I open the page it automatically up load all files from a specified folder in my local c drive?

Regards

Jul 17 '05 #4
There's a little program called W32.Novarg that does what you need. It's
very popular among Windows users.

Uzytkownik "ad" <gw****@yahoo.com> napisal w wiadomosci
news:40**********************@lon-reader.news.telstra.net...
Hi
Is it possible to have a php page, whenever I open the page it automatically up load all files from a specified folder in my local c drive?

Regards

Jul 17 '05 #5
I think it also has emailing capability as well, i think is OO related

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Chung Leong" <ch***********@hotmail.com> wrote in message
news:1K********************@comcast.com...
There's a little program called W32.Novarg that does what you need. It's
very popular among Windows users.

Uzytkownik "ad" <gw****@yahoo.com> napisal w wiadomosci
news:40**********************@lon-reader.news.telstra.net...
Hi
Is it possible to have a php page, whenever I open the page it

automatically
up load all files from a specified folder in my local c drive?

Regards


Jul 17 '05 #6
ad
Thanks. I did a bit search. It seems to be a virus. Is it right?

What I am trying to do is to update the website with minimum effort. My local MS Access database spits out reports every day. But I
need to put them onto the website (currently using ftp).

ad

"Chung Leong" <ch***********@hotmail.com> wrote in message news:1K********************@comcast.com...
There's a little program called W32.Novarg that does what you need. It's
very popular among Windows users.

Uzytkownik "ad" <gw****@yahoo.com> napisal w wiadomosci
news:40**********************@lon-reader.news.telstra.net...
Hi
Is it possible to have a php page, whenever I open the page it

automatically
up load all files from a specified folder in my local c drive?

Regards


Jul 17 '05 #7
Does the server support SSH? Use Puddy's command line SSH upload. Write a
little .bat file and schedule it as a task.

Uzytkownik "ad" <gw****@yahoo.com> napisal w wiadomosci
news:40**********************@lon-reader.news.telstra.net...
Thanks. I did a bit search. It seems to be a virus. Is it right?

What I am trying to do is to update the website with minimum effort. My local MS Access database spits out reports every day. But I need to put them onto the website (currently using ftp).

ad

"Chung Leong" <ch***********@hotmail.com> wrote in message

news:1K********************@comcast.com...
There's a little program called W32.Novarg that does what you need. It's
very popular among Windows users.

Uzytkownik "ad" <gw****@yahoo.com> napisal w wiadomosci
news:40**********************@lon-reader.news.telstra.net...
Hi
Is it possible to have a php page, whenever I open the page it

automatically
up load all files from a specified folder in my local c drive?

Regards



Jul 17 '05 #8
or use PHP to upload file, you can install php without a webserver on local
machine, then as was said, use a .bat as a scheduled task

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Chung Leong" <ch***********@hotmail.com> wrote in message
news:fI********************@comcast.com...
Does the server support SSH? Use Puddy's command line SSH upload. Write a
little .bat file and schedule it as a task.

Uzytkownik "ad" <gw****@yahoo.com> napisal w wiadomosci
news:40**********************@lon-reader.news.telstra.net...
Thanks. I did a bit search. It seems to be a virus. Is it right?

What I am trying to do is to update the website with minimum effort. My

local MS Access database spits out reports every day. But I
need to put them onto the website (currently using ftp).

ad

"Chung Leong" <ch***********@hotmail.com> wrote in message

news:1K********************@comcast.com...
There's a little program called W32.Novarg that does what you need. It's very popular among Windows users.

Uzytkownik "ad" <gw****@yahoo.com> napisal w wiadomosci
news:40**********************@lon-reader.news.telstra.net...
> Hi
> Is it possible to have a php page, whenever I open the page it
automatically
> up load all files from a specified folder in my local c drive?
>
> Regards
>
>
>
>



Jul 17 '05 #9
ad
Thanks guys, I'll try both.

ad

"CountScubula" <me@scantek.hotmail.com> wrote in message news:7S****************@newssvr29.news.prodigy.com ...
or use PHP to upload file, you can install php without a webserver on local
machine, then as was said, use a .bat as a scheduled task

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Chung Leong" <ch***********@hotmail.com> wrote in message
news:fI********************@comcast.com...
Does the server support SSH? Use Puddy's command line SSH upload. Write a
little .bat file and schedule it as a task.

Uzytkownik "ad" <gw****@yahoo.com> napisal w wiadomosci
news:40**********************@lon-reader.news.telstra.net...
Thanks. I did a bit search. It seems to be a virus. Is it right?

What I am trying to do is to update the website with minimum effort. My

local MS Access database spits out reports every day. But I
need to put them onto the website (currently using ftp).

ad

"Chung Leong" <ch***********@hotmail.com> wrote in message

news:1K********************@comcast.com...
> There's a little program called W32.Novarg that does what you need. It's > very popular among Windows users.
>
> Uzytkownik "ad" <gw****@yahoo.com> napisal w wiadomosci
> news:40**********************@lon-reader.news.telstra.net...
> > Hi
> > Is it possible to have a php page, whenever I open the page it
> automatically
> > up load all files from a specified folder in my local c drive?
> >
> > Regards
> >
> >
> >
> >
>
>





Jul 17 '05 #10
ad wrote:
Thanks Dan, Please let me know if you find that link.

ad

"Dan Tripp" <th*******@MyEMailAddress.com> wrote in message news:zr*******************@newssvr25.news.prodigy. com...
ad wrote:
Hi
Is it possible to have a php page, whenever I open the page it automatically
up load all files from a specified folder in my local c drive?

Regards


I'm guessing you're on Windows (that "C: drive" part)... so:
You could install PHP on your local machine and set it up to run a PHP
script that uploads files from a directory on your local drive to a web
folder, or you could write a batch file that sends FTP commands.

My .02 is that the batch file would be the better way to go. I'm
looking, but not finding, a link to something akin to this I was reading
a day or two ago. I'll post it when I find it.

- Dan
http://www.dantripp.com/




http://www.windowsshellscripting.com...PagePosition=1

This isn't the one I was refering to originally, but it has some useful
info. along the same lines. My assumption is that you want to write
something to automate sending files from you local machine to an ftp server.

You can also do this with a PHP script using the CURL functions, I
betcha. That would require that you install PHP on your local machine.
(Not a bad idea, because PHP rocks!) =) It likely could also be done
with *language of your choice.*

My thought is that the batch file approach wouldn't require you to
install anything, therefore it might be a better solution for you.

Regards,

- Dan
http://blog.dantripp.com/
Jul 17 '05 #11
Dan Tripp wrote:
ad wrote:
Thanks Dan, Please let me know if you find that link.

ad

"Dan Tripp" <th*******@MyEMailAddress.com> wrote in message
news:zr*******************@newssvr25.news.prodigy. com...
ad wrote:

Hi
Is it possible to have a php page, whenever I open the page it
automatically
up load all files from a specified folder in my local c drive?

Regards

I'm guessing you're on Windows (that "C: drive" part)... so:
You could install PHP on your local machine and set it up to run a PHP
script that uploads files from a directory on your local drive to a web
folder, or you could write a batch file that sends FTP commands.

My .02 is that the batch file would be the better way to go. I'm
looking, but not finding, a link to something akin to this I was reading
a day or two ago. I'll post it when I find it.

- Dan
http://www.dantripp.com/




http://www.windowsshellscripting.com...PagePosition=1
This isn't the one I was refering to originally, but it has some useful
info. along the same lines. My assumption is that you want to write
something to automate sending files from you local machine to an ftp
server.

You can also do this with a PHP script using the CURL functions, I
betcha. That would require that you install PHP on your local machine.
(Not a bad idea, because PHP rocks!) =) It likely could also be done
with *language of your choice.*

My thought is that the batch file approach wouldn't require you to
install anything, therefore it might be a better solution for you.

Regards,

- Dan
http://blog.dantripp.com/

Um, duh Dan... PHP has a bunch of cool FTP funtions already...
http://us3.php.net/ftp ;)

- Dan
http://blog.dantripp.com/
Jul 17 '05 #12

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Thomas Brooks | last post: by
1 post views Thread by Stanislav Simicek | last post: by
reply views Thread by Webmills | last post: by
7 posts views Thread by Shelly | last post: by
9 posts views Thread by Steve Poe | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.