473,394 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 4267
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: NotGiven | last post by:
Please help me understand the big picture of allowing users to upload pictures and keep them separate and tied to their record in the database. I want the whole thing automated and I'm just...
5
by: Thomas Brooks | last post by:
Hi there.... I have an ASP routine that I'm writing which updates an Access database with a user name, the file name, etc. all done through parameter processing and SQL functions. I do not...
1
by: Stanislav Simicek | last post by:
Hello, I would like to ask for any ideas how to do user authorization for file upload which is done via an external application (not HtmlInputFile control). I have an asp.net web site which...
0
by: Webmills | last post by:
Hi I have a form containing a File Upload Control, Required Field Validator (connected to the file upload control) RegularExpressionValidator (connected to the file upload control,...
7
by: Shelly | last post by:
I do what most programmers do -- we steal code from stuff we have written before, or accept code from others that works, before we attempt to write something altogether new. On a previous...
4
by: bienwell | last post by:
Hi all, I developed an web page in ASP.NET to upload file into the server. In the Web.config file, I declared <httpRuntime executionTimeout="1200" maxRequestLength="400000" /> The MAX...
9
by: Steve Poe | last post by:
I work for an animal hospital trying to use PHP to store an animal's dental x-rays to a file server. I can browse for the xray on the local desktop computer then click "Upload Image". This...
2
chunk1978
by: chunk1978 | last post by:
hi there... i've written a small PHP script to upload files onto my server... but whenever i upload a file, the file size becomes automatically smaller on the server... for example: i uploaded a...
1
by: avias | last post by:
Hi All, Could anyone please help me with this:- I am developing a web application using asp.net and I want to upload files automatically from the client to server. The paths(directory...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.