Reputation: 693
I was wondering is there any tutorial out there that can teach you how to push multiple files from desktop to a PHP based web server with use of Python application?
Edited
I am going to be writing this so I am wondering in general what would be the best method to push files from my desktop to web server. As read from some responses about FTP so I will look into that (no sFTP support sadly) so just old plain FTP, or my other option is to push the data and have PHP read the data thats being send to it pretty much like Action Script + Flash file unloader I made which pushes the files to the server and they are then fetched by PHP and it goes on from that point on.
Upvotes: 2
Views: 2265
Reputation: 19203
I think you're referring to a application made in php running on some website in which case thats just normal HTTP stuff. So just look at what name the file field has on the html form generated by that php script and then do a normal post. (urllib2 or whatever you use)
Upvotes: 1
Reputation: 6536
I'm assuming you own the PHP server.
Upvotes: 2