Forum Moderators: phranque

Message Too Old, No Replies

Need a way to do this

         

grandpa

5:34 am on May 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Can anyone suggest a good method for automatically moving a text file from my PC to my host server? Is this best done with SOAP or PEAR, or maybe something else?

Ideally, I need a one click solution.

Thanks

vrtlw

10:28 am on May 4, 2004 (gmt 0)

10+ Year Member



Any scripting language can be persuaded to do this. Personally if it was me I would use Perl, but PHP should do just fine, I don't do PHP though and as far as I am concerned activestate is much simpler to implement on a home desktop. I am pretty certain though that with a little batch file experience even DOS should be able to accomplish what you want but you would certainly get more mileage from Perl using SFTP.

grandpa

2:20 am on May 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thank vrtlw

I need a budget so I can start using out of the box solutions. I forgot about batch files.. I bet I can whip up something to this part of the job. The way this project is shaping up, the front end is going to be last piece worked on, just to give me some time to try to find a really nice solution.

robert adams

8:30 am on May 5, 2004 (gmt 0)

10+ Year Member



how about ftp

vrtlw

9:16 am on May 5, 2004 (gmt 0)

10+ Year Member



how about ftp

Yes FTP could do it but for a one click solution it would need to be scripted somehow. Having said that though I really don't trust FTP for communications with a live webserver, I prefer to use encryption whenever possible.

grandpa

10:20 am on May 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Encryption isn't needed as much with the information that I want to handle right now, but a secure solution will be a requirement to version 0.1.1 :)

henry0

11:38 am on May 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



maybe I do not get it
but why not using a very basic
CMS - paste and send = Done...

grandpa

6:04 pm on May 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I want to kick this back up once, there's a good reason.

I've got a back end process up and running, and basically it's a call to a script that reads any text files on my server, processes them, and cleans up the directory. On the front end I'm saving mail messages to text files, and sending them to the server with FTP. It's not rocket science.

I've never been too involved with programming on the PC, and so while its probably really easy, I'm still a bit lost about a method for acheiving my next goal.

I begin the process by saving a mail message. It's a given that each message I send to the server needs to be verified first. What I would like to have happen next is one of 2 things.

1) A local job wakes up a couple of times a day and sends any local files up the server, clean up after itself, and notify the program on the server that it has some work to do.

2) Whenever the urge strikes, have the ability to "Click Here" and wake up the local job.

This sounds like something I would do with VB, but that option is out since I don't know VB. I haven't looked too far into the Perl setup that is optionally supplied with my jungle store setup, but it's intimidating.

I guess what I'd like to know is if Perl represents the best method for accomplishing this task. The FTP option is workable, but in the end is less reliable for its reliance on an operator.