Edit, upload file, reload page
Moderator: General Moderators
Edit, upload file, reload page
the 1st and the 3rd are something that you have to do anyway.
the uploading part is what i am having problems with. i mean, it's a repetitive task. requires many clicks, depending on the FTP program you use.
i use SmartFTP which supports File monitoring - when a file changes, it is automatically uploaded to the server. But that's not very advanced. You have to add all the files manually (yea you can select 10 at once, but i'm talking 'bout subfolders) to the Queue and set them up so that they are monitored. It's a lot better than doing a manual upload each time you change a file, but it could be better. a "Folder monitor". every time something changes in the monitored folder, the change is reflected on the remove server too - that's what i am looking for.
has anyone found a way to achieve this? SmartFTP will implement is in the future, but the meaning of future is not defined. maybe in a few weeks or maybe years.
the uploading part is what i am having problems with. i mean, it's a repetitive task. requires many clicks, depending on the FTP program you use.
i use SmartFTP which supports File monitoring - when a file changes, it is automatically uploaded to the server. But that's not very advanced. You have to add all the files manually (yea you can select 10 at once, but i'm talking 'bout subfolders) to the Queue and set them up so that they are monitored. It's a lot better than doing a manual upload each time you change a file, but it could be better. a "Folder monitor". every time something changes in the monitored folder, the change is reflected on the remove server too - that's what i am looking for.
has anyone found a way to achieve this? SmartFTP will implement is in the future, but the meaning of future is not defined. maybe in a few weeks or maybe years.
Re: Edit, upload file, reload page
A good majority of developers have a Apache, MySQL and PHP installed locally, so they can test changes before uploading.
Re: Edit, upload file, reload page
Are you looking for a FTP program beacuse im working on one at the moment? Or use FileZilla.
I have a script for all of thoose things in PHP?
I have a script for all of thoose things in PHP?
Re: Edit, upload file, reload page
forgot to mention. local editing is not an option. changes need to be uploaded immediately after being made locally.
does FileZilla offer the intelligent folder monitoring i described, which keeps the contents of the monitored folder in sync with the respective folder on the web?
does FileZilla offer the intelligent folder monitoring i described, which keeps the contents of the monitored folder in sync with the respective folder on the web?
Re: Edit, upload file, reload page
iFlex, you said something about a PHP script for that. does it work like described
?
Re: Edit, upload file, reload page
Even before they've been tested? I don't believe you. There's no reason to do that.ubax wrote:forgot to mention. local editing is not an option. changes need to be uploaded immediately after being made locally.
Re: Edit, upload file, reload page
++onion2k wrote:Even before they've been tested? I don't believe you. There's no reason to do that.ubax wrote:forgot to mention. local editing is not an option. changes need to be uploaded immediately after being made locally.
Re: Edit, upload file, reload page
the original question remains unanswered.
i discovered NetBeans, which suits the purpose perfectly. it does this "Remove folder synchronization" each time you save/create/delete a file or folder. but it is pretty much annulled by the fact that NetBeans has no word wrap! [sic(k)]
i discovered NetBeans, which suits the purpose perfectly. it does this "Remove folder synchronization" each time you save/create/delete a file or folder. but it is pretty much annulled by the fact that NetBeans has no word wrap! [sic(k)]
Re: Edit, upload file, reload page
NetBeans might not have wordwrap() like PHP, but there's nothing to stop you writing your own version. It's a very straightforward function.
Re: Edit, upload file, reload page
i meant editor wordwrap, like when the line gets too long, it starts again from the second line.
Re: Edit, upload file, reload page
Oh right. Do you need that? You shouldn't be writing huge long lines of code...
Re: Edit, upload file, reload page
can anyone help me solve the original problem?
Re: Edit, upload file, reload page
I suppose I could whip up a quick script, do you want into auto-frefresh when it detects a file been edited, uploaded etc?ubax wrote:iFlex, you said something about a PHP script for that. does it work like described?
Re: Edit, upload file, reload page
iFlex. i'm talking about local file monitoring - like on my PC. when i edit the files in an IDE, i want all changes to be reflected on the remote server). basically, a synchronizer that's activated each time i save a file in the monitored folder.
if you say that's possible in PHP, i will do it myself. i don't know about PHP folder monitoring though. a recursive scan every few seconds would probably be too resource intensive, yet i'm not sure.
if you say that's possible in PHP, i will do it myself. i don't know about PHP folder monitoring though. a recursive scan every few seconds would probably be too resource intensive, yet i'm not sure.
Re: Edit, upload file, reload page
Ahhh, So like setting up a remote directory?