Programming :: Ajax To Open An Ftp Connection - Download A File And Then Turn Around And POST It To A Web Server?
Jun 23, 2011
just curious, this might not be possible, but is there any way with ajax to open an ftp connection, download a file and then turn around and POST it to a web server? the reason i ask is because i'm writing a script on a shared hosting plan that doesn't give me permission to directly talk outbound on the ftp port but i need to synchronize a file from a csv on an ftp server, this means i have to do the process manually, is there any way i can just click the button and let my browser do the work?
View 4 Replies
ADVERTISEMENT
Apr 12, 2010
I'm currently on LinuxMint. I'd like to start PHP scripting, but the browser doesn't want to open the file, only to download. I've red the description on Ubuntu's site how to bring apache2 and PHP together, but it simply cannot find php module. How on earth can I force Linux to act as a normal OS?
View 3 Replies
View Related
Mar 18, 2010
After a massive update including grub (not the problem) I cannot mount and boot because of the dubject error message. /root (dm-0) and swap (dm-1) are ok its just /home (dm-2) that appears broken.
View 1 Replies
View Related
Jan 22, 2011
when the "Submit" button is clicked on a form in the webpage, I'd like the background tiled image to be changed to another one (downloaded from the server, and "activated"), and the logo that I have there also replaced by another one, which will also have to be downloaded from the server.
View 1 Replies
View Related
Mar 23, 2011
Linux printing appeared to be working fine up until yesterday. Today typing lpq gives the following: lpq Printer 'sdst@other.domain' - cannot open connection - Connection timed out Make sure LPD server is running on the server
The /etc/cups/printers.conf file is properly set, the printers appear in localhost:631 and they are printing test pages. However, all command line print commands seem to be trying to print to sdst@other.domain I don't know why printers.conf is being ignored and why and how sdst@other.domain was added. Seems like it might have been auto-discovered?
# dit: sdst@other.domain was mentioned in /usr/local/etc/lpd.conf I'm not sure why lpd.conf is being used instead of /etc/cups/printers.conf
View 1 Replies
View Related
Mar 14, 2010
I have a webGUI in php where users can make certain settings. How can I edit a file on a remote server from my php webserver? Currently I use my FTP client, vsFTPd and a chrooted user in a specific directory where the file resides. I think this is pretty save as long a nobody else uses my FTPclient. How can I make changes to this file on the remote server from within my php-code on my webserver ?? (so that not I need to make the changes but my users can do it from a html-form) I found this but the credentials for the FTP-connection are plain :
<?php
$file = fopen ("ftp://loginasswd@server", "w");
if (!$file) {
echo "<p>Unable to open remote file for writing.
";
[code].....
I use https for the webGUI, but I guess this does not mean the connection to the remote server will be encrypted also ? Can I use my FTP-user (has no shell) from within php to edit the file ?
View 12 Replies
View Related
Mar 25, 2010
Managing MySQL servers can be quite complicated without a proper tool.I have used some commercial tools over the years, but I need something that is Web based, accessible from internet.There are NOT many offerings out there, so I wonder if, beside one company that launched a product quite recently (Novaquantum), there is something else out there that can I can compare it with?I guess when you find something that you like, you'll always to look for something better (PhpMyAdmin doesn't count!)
View 2 Replies
View Related
Apr 14, 2011
Do I need to do anything special to my LAMP server for AJAX to work?
View 2 Replies
View Related
Sep 23, 2010
We're having an issue with HTTP POST file uploads on our two Ubuntu PCs. For some reason, whenever one of our users attempts to submit a file in an HTML form, the request times out, usually with a 500 Internal Server Error message. This problem is not limited to one site, but occurs on all sites that use file uploads. Also, the problem does not appear to be with our network, as a Windows 7 PC on the same network can upload files to the same sites without any difficulties. The problem is not browser-specific; we have tested with Firefox, Epiphany, and Google Chrome and all produce the same results. The issue is relatively new, and was first observed within the last month; before this time, both machines had no problems uploading files.
Does anyone have ANY idea what could be causing this? I've tried a number of things, including rebooting the PCs, rebooting the network, disabling IPv6, etc. I'm not very experienced in Linux system administration, but I can use the terminal and am familiar with some terminal-based diagnostic tools, so if you need any additional info or want me to try something, please let me know! I've exhausted my own computer knowledge with regards to finding a solution to this problem.
View 3 Replies
View Related
Oct 12, 2009
I am using apache2 with subversion and trying to get post commit script to run an svn update command. All svn commands seem to work fine manually
Everything used to work fine but then the server ip changed and I can no longer access it with the web name and have to use the ip directly
I am using tortoise svn with vista on my work machine
Here is the script
#!/bin/sh
export LC_CTYPE=en_US.UTF-8
/usr/bin/svn update /home/common/webroot/bob
Here is the result.
Command: Commit
Modified: C:UsersMattDesktopcheckout - bobindex.php
Sending content: C:UsersMattDesktopcheckout - bobindex.php
Completed: At revision: 63
Error: post-commit hook failed (exit code 1) with output:
code....
I think what i need to do is update the certifcate for the apache2, but I'm not sure how to do this, where to put it, and then which of the thousand apache config lines needs to be changed
View 5 Replies
View Related
Sep 4, 2009
About a couple of days ago I'm sure I saw that Open Office was offering a DVD file download of their latest version. It was including versions for Win. Mac and Linux all on the one DVD. Now, after buying a DVD burner for my 'puter, I have been unable to find that information again.
View 4 Replies
View Related
Jan 5, 2010
I have this old PC that I want to turn into a File Server. I want to use my laptop as the MAIN computer that will access the File Server (Old PC).
View 9 Replies
View Related
Mar 22, 2010
Swiftfox does not have default file handling, and thus I cannot open files from the download menu. When I go to choose the program I want to open the file with, it just takes me to my Home folder in Nautilus. I have no idea where to find the programs I need (Image Viewer, Open Office, and Movie Player are the main ones I need).
View 1 Replies
View Related
Aug 6, 2010
I am running after compiling a program and I find that I get the following. How best can I avoid this as i cannot run the program. I have tried removing the offending package, although I cannot find it. I have also tried re-installing. I have also tried changing FC and F90 flags to avoid the MPI version.
error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
View 1 Replies
View Related
Apr 14, 2009
I'm starting to like making bash scripts. It's kewl making creative ones. Right now I'm trying to make a bash script that will open up port 23 for a netcat connection. Once there's a connection, I'd like for the script to open up xmms and play a sound effect, as well as echo a txt file to the desktop saying that a connection was made at this specific time. When I execute the script, it stops exection at the first line. So far I have this:
sudo nc -lvnp 23
while [ 1 ]
do
[code]...
View 8 Replies
View Related
Apr 30, 2010
I am trying to create a script to do the following.. Login to a ftp and download a with the following naming convention xmtvMMDDYY.xml.gzon a daily basis followed by extracting that file. which I can do easy enough with a static filename. but the variable filename is throwing me off. I was planning on doing a mget with wildcard to just grab the entire directory but this found to not be as clean as I had hoped. Mainly due to the admins of the ftp keeping multiple days of the above mentioned file on the site.
View 2 Replies
View Related
Sep 28, 2010
When I am trying to open a movie with movie player I get the following.
An error occurred
Disconnected: Connection Terminated.
An error occurred
pa_stream_cork() failed: Connection terminate
An error occurred
pa_stream_writable_size() failed: Connection terminated
I've installed all of my codecs with autoten.
View 10 Replies
View Related
Jan 12, 2010
I have an HP proliant ML 350 G4P. I am looking to download same sort of software that dell has called open manage for my HP. I have now idea what HP calls it. I went to the hp site to look up that server and there are a bunch of utilities but its not clear which one i need. I am running CentOS 5.
View 4 Replies
View Related
Apr 18, 2011
I am having some issues with downloading images to my website from my suppliers!
I have a text file (extracted from product their product lists) which has all of the image URLs!
I have tried to use php using the below script which was started via a cron job, however exec is blocked and my hoster has told me to use curl..... Is there something that can be written in or with curl to do the same thing?
View 4 Replies
View Related
Mar 8, 2011
I have a debian box running Apache2 and PHP5.2.6 lenny.
When a request is made via https, php displays the content fine. If the request is made over HTTP the file is offered for download, rather than displaying it.
I know its probably something trivial but I've never seen this issue.
The plot thickens, I can display PHP over HTTP in some directories but not others (which offer the file for download)?
View 9 Replies
View Related
Jul 2, 2010
When I hardcode abc.bin to inputFileName - I can open the file in cpp. But when I pass the same using an optional argument, it fails. Note that in both cases, fprintf, prints the inputFileName as abc.bin properly.
I get can't open - no file or directory.
Code: main()
{
char * inputFileName;
char * optarg;
inputFileName = optarg; //doesn't work.
[Code].....
View 2 Replies
View Related
Jan 21, 2011
I want to download open suse but it takes up to an hour to download the 600mb .iso, my internet speed aren't that slow though. Im downloading the Live KDE, Direct Link 32-bit, all the other types of download have strange torrent or metalink fileformat. Is this just me
View 9 Replies
View Related
Mar 20, 2009
I want to read an ftp site [URL]...and download the sub-directory structure and ONLY the tagfiles to the local directory.
FROM THIS:
Code:
slackware
+--a
| |aaa_base-12.2.0-noarch-1.tgz
| |aaa_base-12.2.0-noarch-1.tgz.asc
[code]....
I tried wget + grep but that didn't work too well.
View 2 Replies
View Related
Aug 30, 2010
I have an issue in Gmail that has just started recently. When I'm logged into Gmail I sometimes have as many as 22-28 outbound connections and my NIC never stops sending and receiving data.When I log into Gmail this starts and doesn't stop even if I log out and close the tab. I have to quit the browser to lose the connections.
I had a thread URL... that initially was about this issue but I didn't know it seemed to be totally Gmail related so I thought I might ask this way. It could be Google just changed something on their end but I don't want to run my mail until I know it's ok.
View 9 Replies
View Related
Sep 15, 2010
i set a pptp -vpn connection.but i cant post anything in facebook. is there any specific settings i have to do?
View 1 Replies
View Related
Aug 24, 2010
I used my colleges online site to automatically install and setup the Cisco AnyConnect VPN Client. Everything went smoothly. I have a Cisco icon in my system tray and it says that I am connected to the VPN.
My question then is where do I access the VPN? I am assuming that I can access the other computers at the other end of the VPN as I would if they were networked to me, however I cannot seem to find any information on how this is done after the connection is made.
I looked in the Network folder which is where I figured everything would be, but there is nothing other than the normal, empty, network folders.
I am running Linux Mint 9, KDE 4.4
My friend Google let me down, and every VPN how to I can find ends at the "connected" stage, never getting into details about where to go from there...
View 6 Replies
View Related
Sep 6, 2010
I have two files, uploads.txt and downloads.txt. I would like to combine the columns of these files based on the ip address. How can I best do this?
Uploads.txt Code: 192.168.0.147 1565369
192.168.0.13 1664855
192.168.0.6 1332868 Downloads.txt Code: 192.168.0.147 9838820
[code]...
View 7 Replies
View Related
Jul 13, 2010
I've a webserver with a lot of documentary to serve. Some of the users have problems with the new microsoft documents like docx. Internet explorer 7 want to open the file like a zip-file not as word document. I've googelt around and found a solution that didn't work for me: [URL] I've added at /etc/mime.types
[Code]....
After a restart of httpd , nothing chance, always the same failure with internet explorer 7.
View 4 Replies
View Related
Jun 12, 2011
I created a dbf file via a code but the file does'nt seems to open.
Quote:
Code is running file and the file emaster.dbf and etran.dbftoo is created in the home directory but it does'nt opens(Libre Office 3 can't open it).
How to open the file.? I want to add information to the database file(Dbf) file. But until it opens how will I achieve my purpose?
View 3 Replies
View Related
Dec 12, 2010
How do I use bash to open a file, (file name as first parameter) cut n char from begin of each line, and write shortened lines to new file (outputfile name as the second parameter, n as the third parameter)
View 3 Replies
View Related