ftp

Create a symlink without shell access and in safe mode?

On a shared hosting package running the LAMP stack and PHP, with no shell access and PHP in safe mode (= exec() being disabled), with only FTP access, do I have a chance of creating a symbolic link somehow? I just checked, I can't even use the sneaky workaround of inserting a cron job that executes the ln command. ...

Comparing 2700+ filenames against 29000+ rows in a db table (PHP/FTP/MySQL)

I have a ftp repository that is currently at 2761 files (PDF files). I have a MySQL table (a list of those files) that's actually at 29k+ files (it hasn't been parsed since a recent upgrade). I'd like to provide admins with a one-click script that will do the following: 1) Compare the "existing" filenames with the rows in the database ...

BizTalk 2006 - receive file through FTP - timeout issues

Hi all, When trying to receive a (large, approx. 100MB) file using an FTP adapter in BizTalk 2006, we run into the following problem, which causes the file to be processed over and over again. Retrieving the file succeeds; it is placed into the MessageBox and processed properly When the FTP adapter issues the DELE statement, it never ...

Are there any XML Editors with FTP and file-tree browsing combined?

Are there any (free preferably) XML Editors combined with FTP and file-tree browsing Project wide find+Replace I.e A bit like what Dreamweaver MX is but with fancier XML capabilities /XSLT /XSD Perhaps even DW does this...im still on an older version. I'd like to keep a smooth flow between find-edit-view-upload any ideas? B...

how to use FTP SSL c#?

By using following code, My client application is connecting to the Secured FTP Server and pushing file up there successfully. Do you think the following approach is still leaving the security hole by accepting all the certificates. If so, can anybody help me out to pass the specific certificate from client i have on FTP server. public...

fptd 0.17 and directory access

I'm working on FTP demon 1.7 I have following questions. How can I restrict a user to one particular directory? Lets say a user logs in as "admin", he should be having access to only "/tmp" directory, nothing else. I'm going through ftpd's code and trying to modify as per my needs. Any good reference/documents to get hang of current co...

How to download part of a file via FTP in PHP?

I would like to download parts of files on a FTP server. I've got this solution: $opts = array('ftp'=>array('overwrite'=>false, 'resume_pos'=> 5*16+12)); $context = stream_context_create($opts); $version = file_get_contents ( 'ftp://'.$ftpAccount["username"].':'.$ftpAccount["password"].'@'.$ftpAccount["server"].'/...

does ftp_put/ftp_fput lock files on the remote ftp server?

I don't want an other application to read the files while this php app upload/overwrites files to the remote server ...

How can I download over FTP all the XML files in a directory?

I'm wondering how I would download all _*.xml_ files from a folder I have set up on an FTP server using Net::FTP. I have seen that glob() would be the best way, but I cannot quite wrap my head around the logic. Basically, I need to check if there are XML files in the folder. If not, wait 5 seconds, and check again. Once the files show u...

Access denied problem when trying to delete file. Using FTP on Windows XP.

I connect through WiFi to another computer and try to read some text file. The problem is that when I delete it, I get an error Access Denied. BUT, sometimes, program successfuly delete file, I dont know why! Do you know what is a problem here? ...

Upload a folder by FTP

FTP doesn't support the notion of transferring entire directories. much less the option to /MIRror them a la Robocopy. Given a local folder C:\MyFolder and an FTP destination ftp://example.com/home/MyFolder, I'm looking for some solid code to transfer the contents of the local folder. If the destination exists, the contents of the lo...

how to download compressed file (.zip) through FTP using c#?

Hi How to download .zip file format using c# code? Here is the code, i am using to download. Just to highlight, If i download .txt file, it works fine. If i download .zip file, it downloads the .zip file but i can't open this. It complains that .zip is in incorrect format. I have doubt in how i am writing back the file on local drive....

how to add ftp users to an apache from PHP?

how do i go about adding ftp users to an apache web server? i need the user to register from normal web/script and then have an FTP account set up for them automatically. I have seen the cPanel API, and it is pretty decent, but since cPanel costs money, i don't wish to use it for this project. I'm also reluctant to use any other lisence...

"Invalid Class" Error while Starting FTp Site in IIS 7.0 using WMI and ASP.Net C# (windows Server 2008)

Hi all. I am working on an ASP.Net Web Site Provisioning software using WMI(System.Managment) and C#. I am trying to create FTP site on my "Target Server" located somewhere on LAN while executing code on my host machine. I have trouble starting the FTP Site after its creations. The error being reported is "Invalid Class" on the follo...

program doesn't work after FTP

I was working on a c++ project on a remote linux server via ssh. I decided I wanted to test the files on my own machine using valgrind. I FTP-ed the project directory from the remote server to my own machine, compiled, and attempted to run. I got the message: Error opening /proc/96855/stat And based on the different arguments I ...

How to upload all .html files to a remote server using FTP and preserving file structure?

I have edited about 100 html files locally, and now I want to push them to my live server, which I can only access via ftp. The HTML files are in many different directories, but hte directory structure on the remote machine is the same as on the local machine. How can I recursively descend from my top-level directory ftp-ing all of the...

How to create FTP Site in IIS 7 using WMI and C# from ASP.Net Web Application?

Hi all, I am working on a website provisioning system using IIS 7 (and IIS6) and using C# as development Tool (under .Net 3.5) using WMI. I want to create FTP Site via code in C# using WMI. I cant want to use MWA(Microsoft.Web.Administration) because I have to support older version a.k.a IIS 6 as well. I believe its possible via WMI. ...

RemoveDirectory contents from FTP server in C#

How to delete the directory with sub directory and contents from FTP server in C#? Thanks, ...

Joomla FTP problem!!!

Good evening everyone, I been workin' on Ubuntu server, and I work from a remote pc that uses Windows XP Pro and ubuntu 9.10 too...ok the thing is...I installed joomla 1.5 last version on the ubuntu server from my pc and everything was good until I had to fill the ftp information, never found the connection path so I installed without it...

FTP upload using .NET

I am writing a code to upload a zip file to an ftp server. Surprisingly the code works fine for small files, but with bigger files I end up in problem. I am using Stream object and I have noted that my code is getting stuck while trying to close the Stream (only for big files). The code runs fine if I do not close the Stream (even for bi...