ftp

PHP FTP - Is there a way of seeing if FTP was initiated by PHP?

I have had an attack on my web server where .html files were copied by FTP into a public html directory. The FTP password was very strong. I'm trying to determin whether PHP initiated the FTP transfer. Is there an Apache or Nix log file that can give me this information? Additional information I have FTP log entries which seem to show...

Help with WebDav protocol?

Hi, We want to use WebDav ProtoCol for FileTransfer and other file related activies through our client application. So here are my basic questions: 1- How to setup WebDav on my system? 2- Can I install WebDav on Linux ? 3- If want to program using .NET and C# , do I need to add external library or System.net and System.xml Namespace ...

Deployment to shared host without SSH (PHP)

Hello, I have a Web-Application running on Shared Hosting. I need to Update the Project and I don't have SSH. All the Best-Practice-Solutions so far for SHared Hosting included SSH. So does anyone have experiences with deployment without SSH, not using manual uploading with FTP? --dazz edit: My dev environment is WinXP with XAMPP, I ...

File size limit for upload in Adobe Air

Hi I am building an Adobe AIR app and integrated an FTP client for file transfers. But I found out that maximum file upload size is 100 MB. I need to transfer bigger files. Any suggestions or workarounds? ...

Rename() files FTPed onto server with PHP

I'm having issues with an automatic parser which reads files that have been uploaded via FTP onto one of our hosts. Basically it returns with the following error Warning: rename(/home/domain.com/thefile.zip,/home/domain.com/used/thefile.zip) [function.rename]: Permission denied in /home/domain.com/public/www/parser.php on line 546 U...

C# URI issue with ftp server

I am having trouble to access a FTP server via C# because of not finding the right URI. The ftp server can be found using ftp.xxx.com - thus ftp ftp.xxx.com works from the command line, ftp ftp://ftp.xxx.com yields unknown host via the command line. The same happens then when using FtpWebRequest ftpRequest = (FtpWebRequest)WebRequest.C...

How do I make php handle file downloads of incomplete file?

So for example, I have a file being uploaded through ftp and file size changes. I do know the file size beforehand. So how would I make php to send it to clients browsers even if file is not finished uploading and waiting for file size to match before it finish buffering. The code below won't update the handle and doesn't see changes mad...

[VB] Wininet FTP invalid files

Hello everybody. I am bussy with a script, what must upload a Zip-archive to a ftp server. This works, unfortuantely the Zip file on the ftp server is incorrupt, the local file before it is placed on the server works fine. Does someone know what the problem could be? This is de relative code: Private Sub ftpWorker_DoWork(ByVal sender ...

asp.net application that manages an ftp server

Hi! I have a requirement to build an application that a company can use to manage an ftp server. The idea is that through the web app, they can create users which will also create an ftp space etc so that the user can then upload documents and files to the company. The requirement is specifically that clients can use an ftp program and t...

FTP and python question

Can someone help me. Why it is not working import ftplib import os def readList(request): machine=[] login=[] password=[] for line in open("netrc"): #read netrc file old=line.strip() line=line.strip().split() if old.startswith("machine"): machine.append(line[-1]) ...

Downloading a ftp link though a script that changes the address to http

I wrote a script in tcl to grab links out of the download portion of a huge document checking for http:// and ftp:// as links to download. All of the ftp:// links don't require password/username and instead of handling them in separate cases (passing ftp:// to one download method and http:// to another download method) I would just pass ...

How to findout if a file has been changed

I need to develop a file synchronization application to sync my files from my local computer to my remote server. My local OS is windows and remote OS is Unix. I can access files on the remote on FTP. Is file's 'modified date' enough to find out files that has been changed on my computer? ...

Transmit a Word file to a database or FTP at the click of a button?

I would like to be able to send the contents of a merged word document to a database, either on a button click on the menu bar, or when closed (if saved). I've found some working code but have a problem trying to modify it (VBA noob) 'Written: June 11, 2008 'Author: Leith Ross 'Open the Internet object Private Declare Function Inter...

How to upload (FTP) images with a certain group ?

I've configured a IP Camera that upload images in a Ubuntu Server. In Ubuntu server is runnig Apache http server and vsftpd (Very Simpe FTP Daemon). I have to catch the images from a wep application, how I have to configure the permissions ? (without security problems) I thought that I can set the group of uploaded images to www-da...

Can I get the IP address for a FTP upload at the server?

I provide a public FTP account for people to upload files into a temporary folder. An AJAX interface shows fresh files, then users can tag and move the file into a different folder. I would like to show every user just the files they uploaded themselves, not all the other ones that might be uploaded at the same time by other people. Ind...

Script to change FTP password

I have the following script to update one of my FTP passwords every 15 days through a cronjob and e-mail the appropriate people after the attempt has been made. It randomly will fail and so I will run it again manually and it will work. I can't seem to find where it's going wrong. The script is connecting to a local mysql database grabb...

How should I store ftp log on credentials in a MySQL database?

Hey guys, I'm really just looking for some guidance. Here is the scenario: A user can add an FTP account via a password protected control panel. I need to save these credentials so that the FTP account can be connected to automatically. This is easy but I want to take the most secure approach possible. I was thinking of possibly encryp...

Confirm that Python 2.6 ftplib does not support Unicode file names? Alternatives?

Can someone confirm that Python 2.6 ftplib does NOT support Unicode file names? Or must Unicode file names be specially encoded in order to be used with the ftplib module? The following email exchange seems to support my conclusion that the ftplib module only supports ASCII file names. Should ftplib use UTF-8 instead of latin-1 encodin...

IIS FTP 7.5: Custom Auth Provider not working Error 530

Hi to all I have recently install Server 2008 R2 on a new server and want to use the FTP capabilities that are now shipped with IIS 7.5. Since my users are not windows users, I was using IISAuthManager but this prodiver does not offers home directory on a user basis. I found this sample http://learn.iis.net/page.aspx/669/how-to-use-ma...

Command line FTP clients for AIR 2.0

Hi Can somebody suggest a good command line FTP client which can be easily integrated with AIR. I am trying to overcome the limitation of uploading/downloading a maximum of 100 MB to an FTP server from AIR app. Any alternatives or supporting documentations are welcomed. ...